explaingit

discourse/discourse

Analysis updated 2026-06-20

46,968RubyAudience · pm founderComplexity · 4/5LicenseSetup · hard

TLDR

Discourse is a free, open-source community forum platform you can self-host, a modern alternative to Reddit or mailing lists with threaded discussions, real-time chat, and full admin control over your community.

Mindmap

mindmap
  root((discourse))
    What it does
      Community forums
      Real-time chat
      Email digests
    Key features
      User trust levels
      Plugin system
      Full-text search
      AI optional plugin
    Tech stack
      Ruby on Rails
      PostgreSQL
      Redis
      Ember.js frontend
    Use cases
      Product support forum
      Open-source community
      Learning communities
      Paid memberships
    Deployment
      Self-hosted Docker
      Full data control
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Host a support forum for your software product so users can ask questions, find answers, and help each other.

USE CASE 2

Create a discussion community for an open-source project where contributors can propose features and report issues.

USE CASE 3

Replace a Slack group or mailing list with a searchable, organized community space you fully control.

USE CASE 4

Build a members-only paid community with custom categories, user groups, and moderation without writing code.

What is it built with?

RubyRuby on RailsPostgreSQLRedisEmber.jsJavaScriptDocker

How does it compare?

discourse/discoursehomebrew/brewhuginn/huginn
Stars46,96847,88349,244
LanguageRubyRubyRuby
Setup difficultyhardeasyhard
Complexity4/52/54/5
Audiencepm founderdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires Docker, a minimum 2GB RAM server, and a configured SMTP mail server for email notifications.

Use and self-host freely including for commercial communities under the GNU GPL v2 license.

In plain English

Discourse is an open-source forum and community discussion platform, a modern alternative to old-style internet bulletin boards or mailing lists, designed to feel more like a contemporary web application than a 1990s message board. The problem it addresses is that most community discussion tools are either clunky and outdated, hosted by someone else with no control over your data, or require expensive licensing. Discourse is completely free, fully open-source, and designed to be self-hosted on your own server. The platform supports threaded discussion topics, real-time chat (like Slack), user trust levels that automatically promote reliable contributors and restrict spammers, email notifications and digests, a plugin and theme system for customization, and AI-powered features through an optional plugin. Content is structured around topics (threads) and replies, with a voting and reaction system. The search is full-text and fast. Administrators can manage categories, permissions, user groups, and site settings through a web interface without writing code. The backend is a Ruby on Rails API server that stores data in PostgreSQL, uses Redis for caching and real-time features, and serves a JavaScript single-page application built with the Ember.js framework. You would use Discourse when you want to build a community around a product, project, or topic, for example, a support forum for software users, a discussion space for an open-source project, an online learning community, or a members-only club. It is a good fit when you want the look and functionality of modern social software but want to run it yourself rather than relying on third-party platforms like Reddit or Facebook Groups, and when you need full control over moderation, data, and customization.

Copy-paste prompts

Prompt 1
I want to set up Discourse on a DigitalOcean VPS using Docker. Walk me through the official install process and what minimum server specs I need.
Prompt 2
I'm setting up Discourse as a support forum for my SaaS. Show me how to configure SSO so users who sign up on my site are automatically logged in to Discourse.
Prompt 3
How do I create a plugin for Discourse that adds a custom user badge when someone reaches 100 posts?
Prompt 4
My Discourse forum is getting spam signups. What trust level settings and anti-spam measures should I configure?
Prompt 5
How do I migrate an existing forum or mailing list to Discourse and import all the old posts and user accounts?

Frequently asked questions

What is discourse?

Discourse is a free, open-source community forum platform you can self-host, a modern alternative to Reddit or mailing lists with threaded discussions, real-time chat, and full admin control over your community.

What language is discourse written in?

Mainly Ruby. The stack also includes Ruby, Ruby on Rails, PostgreSQL.

What license does discourse use?

Use and self-host freely including for commercial communities under the GNU GPL v2 license.

How hard is discourse to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is discourse for?

Mainly pm founder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.