|Developer(s)||Civilized Discourse Construction Kit, Inc.|
|Initial release||August 26, 2014|
|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|
|License||GNU GPL version 2 (or later)|
Discourse is an open source Internet forum and mailing list management software application founded in 2013 by Jeff Atwood, Robin Ward, and Sam Saffron. Discourse received funding from First Round Capital and Greylock Partners. The application is written with Ember.js  and Ruby on Rails. 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. 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 purchased from the company of the founders. As of July 2020, more than 1500 businesses or instances have chosen this option. On May 2017, co-founder Jeff Atwood said in an interview that the company was generating approximately $120,000 per month at that time. 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.
In August 2021, Civilized Discourse Construction Kit announced it had secured USD $20 million in venture capital funding.
The officially-provided, x86_64 Linux, Docker images are the only supported method for installing Discourse in production. 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.
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. Enabled via a site setting, any remotely hotlinked images can be downloaded to preserve the topic.
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.
Discourse narrative bot
Discobot  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 (embedded previews), add emoji, name mentions, very simple formatting, adding a picture to a reply, flagging posts and how to use the search function.
Discourse provides tagging functionality. 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 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  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.
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.
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.
- Comparison of Internet forum software
- List of blog comment hosting services
- List of mailing list software
- Atwood, Jeff (2014-08-26). "Introducing Discourse 1.0". blog.discourse.org. Archived from the original on 2020-07-04. Retrieved 2020-07-04.
- "Releases - discourse/discourse". github.com. Retrieved 2021-06-16.
- "StackExchange Founder Vows to Reinvent Online Discourse". Wired. 2013-02-06.
- "Stack Exchange Co-Founder Jeff Atwood Launches Forums Startup Discourse". TechCrunch. 2013-02-05.
- "Why Discourse uses Ember.js". eviltrout.com.
- "Discourse - FAQ". discourse.org.
- "Discourse - A new type of forum". ITworld. 2013-04-19.
- "1,500+ customers and counting". discourse.org.
- "Discourse". indiehackers.com.
- Atwood, Jeff (27 August 2021). "Discourse announces $20m series A investment by Pace Capital and First Round Capital". Discourse. Retrieved 2021-08-31. Blog.
- "discourse/docs/INSTALL.md at 3a235d1 · GitHub". GitHub.
- "Straightforward direct-delivery incoming mail - howto / sysadmin - Discourse Meta". Discourse Meta.
- "Magnific Popup". github.
- "Features". discourse.org/features.
- "Who is Discobot?". blog.discourse.org.
- "It's time we talked about tags". blog.discourse.org.
- "What do user trust level do?". meta.discourse.org.
- "Group mentions and messages". meta.discourse.org.
- "Posts by CCP Games Developers". forums.eveonline.com. Retrieved 15 January 2018.