Self-host Discourse
stableOpen-source community forum platform with real-time chat
- Stars
- 48 085
- CPU
- modern single core CPU, dual core recommended
- RAM
- 1 GB RAM minimum (with swap)
- Storage
- 10 GB disk space minimum
- Requires
- Redis
discourse/baseWhat is Discourse?
Discourse is a fully open-source community discussion platform built with Ruby on Rails and Ember.js. It provides discussion topics, real-time chat, private messaging, categories and tags, extensive moderation tools, and a plugin system for extensions like AI chatbots and data exploration. The platform supports SSO/SAML authentication, social logins, webhooks, and a REST API. Self-hosting uses Docker with a one-line installer that sets up PostgreSQL and Redis. Both self-hosted and managed hosting options are available with full data portability. The software is licensed under GPL-2.0-or-later and has been in active development for over a decade.
Should you self-host Discourse?
Discourse scores 83/100 on selfhost.directory (how scoring works) and ranks #2 of 75 in Social Networks & Forums. It has 48 085 GitHub stars, +122 in the last 30 days.
It shipped 1 stable release in the past year. The latest, _gh-attach-assets, came out on 15 July 2026.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is GPL-2.0-licensed and written mostly in Ruby.
Its closest alternative on selfhost.directory is Rocket.Chat (83/100, 46 511 stars). Discourse scores higher overall. See Discourse vs Rocket.Chat side by side.
Features
- Categories and tags
- Data Export
- Discussion Topics
- Gamification
- Moderation tools
- Onebox Link Previews
- Plugin System
- Private Messaging
- Real-time Chat
- REST API
- Social Logins
- SSO/SAML Authentication
- Themes
- Webhooks
More in Social Networks & Forums
Ech0Self-hosted, open-source microblog platform for publishing short posts, links, and media to a personal timeline, with RSS, comments, OAuth/OIDC login, and an AI copilot.
eddritSelf-hosted, open-source alternative frontend for Reddit with no ads, mobile-friendly design, and RSS support. Runs on Python/Starlette with Valkey for token storage.
ElggElgg is an open-source, self-hosted social networking engine for building community platforms with PHP and MySQL/MariaDB.
ElkNimble open-source self-hosted Mastodon web client with PWA support. Docker container deployment behind SSL/TLS for users seeking an alternative interface.
EnclaveEnclave is a self-hosted, open-source AI companion platform creating a personal virtual world with expert AI residents and your digital twin.
EpicyonSelf-hosted, open-source ActivityPub server for the Fediverse: no JavaScript or database, with calendar, news, sharing-economy, RSS, CalDAV and PWA support.
FlarumOpen-source, self-hosted forum software built on PHP and Laravel, with tags, moderation, private messages, real-time updates and a huge extension ecosystem.
FlusFlus is a self-hosted, open-source feed aggregator and social bookmarking tool combining RSS/Atom/JSON feeds, read-later lists, and link sharing with collections.
FriendicaFriendica is a self-hosted, open-source decentralized social network connecting to the Fediverse via ActivityPub, Diaspora, and other protocols.
Glitch-SocMastodon Glitch Edition is a self-hosted, open-source ActivityPub microblogging server adding experimental features like Markdown posts and advanced theming to Mastodon.
go-ssb-roomSelf-hosted Go implementation of SSB Room v1/v2 spec, letting Secure Scuttlebutt peers discover and connect via a web dashboard and secret-handshake transport.- GoToSocialSelf-hosted, open-source ActivityPub social server in Go: chronological timelines, Mastodon-API clients, SQLite or Postgres, Markdown posts, granular privacy.





0 comments