Discourse (software)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Discourse
Discourse icon.svg
Developer(s) Civilized Discourse Construction Kit, Inc.
Initial release 2013 (5 years ago) (2013)
Stable release
2.1.1[1] / September 14, 2018 (33 days ago) (2018-09-14)
Repository Edit this at Wikidata
Written in Ruby, JavaScript
Operating system Linux
Available in Albanian, Arabic, Bosnian, Chinese, Czech, Danish, Dutch, English, Estonian, Finnish, French, Galician, German, Greek, Hebrew, Indonesian, Italian, Japanese, Korean, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Slovak, Spanish, Swedish, Telugu, Turkish, Ukrainian, Urdu, Vietnamese
Type
License GNU GPL version 2
Website www.discourse.org

Discourse is an open source Internet forum and mailing list management software application founded in 2013 by Jeff Atwood, Robin Ward, and Sam Saffron.[2] Discourse received funding from First Round Capital and Greylock Partners.[3] The application is written with Ember.js[4] and Ruby on Rails.[5] PostgreSQL serves as its back-end database management system.

From a usability perspective, Discourse breaks with existing forum software by including features recently popularized by large social networks, such as infinite scrolling, live updates, expanding links, and drag and drop attachments.[6] However, the stated goals of the project are social rather than technical, to improve online discussion quality through improved forum software.

The source code is distributed under the GNU General Public License version 2. Therefore Discourse can be self-hosted by anyone. Alternatively, hosting service can be bought from the company of the founders. As of October 2017, more than 700 businesses or instances have chosen this option.[7] On May 2017, co-founder Jeff Atwood said in an interview that the company is generating approximately 120,000 dollars per month at that time.[8] With the money the company pays salary for its full-time employees who maintain the software and develop new features which benefits those who are self-hosting the open source software, too. This is an example of an open source software business model where a company sells professional services to willing customers.

Server requirements[edit]

The officially-provided, x86_64 Linux, Docker images are the only supported method for installing Discourse in production.[9] Discourse uses a custom "launcher" script to configure the containers, and also provide an included "docker_manager" plugin for the forum itself to allow administrators to perform updates and backups from the graphical interface.

The Docker-based distribution includes the web server (which is based on nginx and Unicorn), database system (PostgreSQL), cache (Redis), and background processing services (Sidekiq). The launcher script defaults to running them all on the same server, but supports running them separately. The Discourse developers do not support using Discourse with any builds of these services other than their own, but they do support using a separate web server or load balancer to run Discourse side-by-side with another website on the same domain.

Discourse requires an outgoing MTA, and does not provide one itself. Discourse recommends buying access to an outgoing MTA from reputable commercial provider, to ensure that transactional mail arrives in a forum user's inbox.

Discourse also supports, but does not require, the ability to receive email. Discourse provides an optional Docker image for an incoming-only MTA, and supports receiving email via POP3 or IMAP.[10]

Features[edit]

Discourse is natively designed for high resolution touch devices with a built-in mobile layout and has a wide range of features available for both hosted and self-hosted sites.

Users receive immediate notifications when another member replies to them directly, quotes them, mentions their name, sends a private message, or links to their post. New posts and topics appear automatically on screen in real time.

Creating or replying to a topic is done via an overlay editor which allows for uninterrupted reading, even if the user navigates to a different topic. Discourse auto-saves draft replies and topics to the server in the background to prevent the loss of a work in progress.

Topics can be pinned to the top of all topic lists, or to a single category, with a brief summary of the content. A topic can also be transformed into a banner to have it appear on top of the site. These banners can be styled to fit with the wider site aesthetic. Users can independently choose to dismiss the banner. Administrators can also add a permanent site-wide notification panel for urgent situations.

Images can be uploaded, drag and dropped, or pasted. Large images are automatically thumbnailed and lightboxed.[11] Enabled via a site setting, any remotely hotlinked images can be downloaded to preserve the topic.

Discourse supports OpenGraph and oEmbed. URLs from external websites which support this technology will automatically expand to provide a summary of the URL.

Long topics can be condensed with the Summarize button, so that users can view the most interesting and popular posts in the discussion.

Discourse also empowers communities to crowdsource moderation through a flagging system which automatically hides inappropriate posts until they can be reviewed by a staff member.[12]

Discourse Narrative Bot[edit]

Discobot [13] is a customizable bot whose purpose is to teach new users, interactively, to use many of the platform's features like bookmarking a topic, oneboxing links, add Emoji, name mentions, very simple formatting, adding a picture to a reply, flagging posts and how to use the search function.

Tags[edit]

Discourse provides tagging functionality.[14] When users create topics they can optionally attach tags. Users can tag topics with one or more tags, auto watch tags as desired, list all tags and filter topics by tag. Site administrators can decide whether or not to allow users to create new tags, who can create new tags, which tags can be used in a category and also create groups tag.

Groups[edit]

Groups perform several functions in the software aside from simply grouping users together for manual inspection. The "primary group" of a user can be visually advertised on every post they make through CSS styling rules, and groups are the only mechanism to set posting or viewing permissions on categories.

When Discourse is installed it creates "automatic" groups, made up of administrators, moderators, staff (a combination of the previous two), and various trust levels [15] for users. Custom groups can be made private or public, and can allow for users to add themselves or send the group owner a request to be added. Users can be also added to a group when first registering, via email domain matches or a crafted invitation link.[16]

As a concrete example, a forum for a popular online game could create a group for employees of the company that make the game, and use the "primary group" functionality to style their posts so the users are recognized as officials. The EVE Online forums use this prominently[17].

Discourse APP[edit]

Discourse APP is an official open source react native application for Android and iOS devices. It was released in November 2016 and allows users to keep track of new and unread posts and notifications across multiple Discourse sites. Real time push notifications are native for officially hosted Discourse forums.

In October 2017, an unofficial app was released, allowing self-hosted Discourse forums to create their own brand app and deploy it on the Google Play and App Store marketplace. The app is developed by pmusaraj who is a long term Discourse user and a plugin author.

See also[edit]

References[edit]

  1. ^ "Releases · discourse/discourse · GitHub". GitHub.
  2. ^ "StackExchange Founder Vows to Reinvent Online Discourse". Wired. 2013-02-06.
  3. ^ "Stack Exchange Co-Founder Jeff Atwood Launches Forums Startup Discourse". TechCrunch. 2013-02-05.
  4. ^ "Why Discourse uses Ember.js". eviltrout.com.
  5. ^ "Discourse - FAQ". discourse.org.
  6. ^ "Discourse - A new type of forum". ITworld. 2013-04-19.
  7. ^ "700+ customers and counting". discourse.org.
  8. ^ "Discourse". indiehackers.com.
  9. ^ "discourse/docs/INSTALL.md at 3a235d1 · GitHub". GitHub.
  10. ^ "Straightforward direct-delivery incoming mail - howto / sysadmin - Discourse Meta". Discourse Meta.
  11. ^ "Magnific Popup". github.
  12. ^ "Features". discourse.org/features.
  13. ^ "Who is Discobot?". blog.discourse.org.
  14. ^ "It's time we talked about tags". blog.discourse.org.
  15. ^ "What do user trust level do?". meta.discourse.org.
  16. ^ "Group mentions and messages". meta.discourse.org.
  17. ^ "Posts by CCP Games Developers". forums.eveonline.com. Retrieved 15 January 2018.

External links[edit]