A platform for community discussion. Free, open, simple.
Go to file
David Taylor 931fa723eb
DEV: Replace break_string.js with CSS in embedded view (#32488)
This JS was used to wrap long usernames. Nowadays in core, we use a
simpler `word-break: break-all;` pattern, so it makes sense to use the
same simplification in the embedded comments view.
2025-04-28 10:47:27 +01:00
.devcontainer DEV: Bump devcontainer image (#31695) 2025-03-07 09:51:50 +00:00
.github DEV: Stop running core annotations check as a standalone job (#32470) 2025-04-25 23:18:55 +08:00
.vscode
app DEV: Replace break_string.js with CSS in embedded view (#32488) 2025-04-28 10:47:27 +01:00
bin DEV: Add `--exclude-pattern` to `bin/turbo_rspec` (#32390) 2025-04-22 11:34:48 +08:00
config DEV: Replace break_string.js with CSS in embedded view (#32488) 2025-04-28 10:47:27 +01:00
db DEV: Create topic and post localization resources (#32440) 2025-04-28 12:16:14 +08:00
docs DEV: Update mailgun pricing (#32222) 2025-04-09 09:56:03 +08:00
images
lib PERF: Compile main locale bundles just-in-time (#32335) 2025-04-28 10:31:27 +01:00
log
migrations DEV: Adds a basic importer for the IntermediateDB 2025-04-07 17:22:36 +02:00
patches DEV: Update content-tag from 3.1.1 to 3.1.2 (#32038) 2025-03-27 15:33:59 +01:00
plugins DEV: Convert final hbs to gjs and enable require-strict-mode lint (#32473) 2025-04-26 10:48:43 +01:00
public
script PERF: Set `JOBS=1` for low memory build environment (#32326) 2025-04-16 10:14:23 +01:00
spec PERF: Compile main locale bundles just-in-time (#32335) 2025-04-28 10:31:27 +01:00
test DEV: Fix smoke test when full_page_login is enabled (#31732) 2025-03-10 21:09:04 +02:00
vendor DEV: Replace break_string.js with CSS in embedded view (#32488) 2025-04-28 10:47:27 +01:00
.editorconfig
.git-blame-ignore-revs DEV: [gjs-codemod] Add to git-blame-ignore-revs 2025-04-25 11:58:46 +01:00
.gitattributes
.gitignore PERF: Reuse existing core JS build where possible (#32311) 2025-04-15 16:18:22 +01:00
.ignore
.jsdoc
.licensed.yml
.licensee.json
.npmrc
.pnpmfile.cjs
.prettierignore DEV: Update lint-configs and autofix issues (#31620) 2025-03-05 01:20:16 +01:00
.prettierrc.cjs
.rspec
.rspec_parallel
.rubocop.yml
.ruby-gemset.sample
.streerc
.template-lintrc.cjs DEV: Convert final hbs to gjs and enable require-strict-mode lint (#32473) 2025-04-26 10:48:43 +01:00
Brewfile
CODEOWNERS
CONTRIBUTING.md
COPYRIGHT.md
Gemfile PERF: Compile main locale bundles just-in-time (#32335) 2025-04-28 10:31:27 +01:00
Gemfile.lock PERF: Compile main locale bundles just-in-time (#32335) 2025-04-28 10:31:27 +01:00
LICENSE.txt
README.md DEV: Bump ruby version requirement to 3.3.0 (#31538) 2025-03-04 12:23:32 +11:00
Rakefile
config.ru
d
discourse.sublime-project
eslint.config.mjs DEV: Update lint-configs and rubocop-discourse (#31728) 2025-03-10 19:52:19 +01:00
jsconfig.json
lefthook.yml
package.json DEV: Refactor moment.js loading (#32337) 2025-04-26 13:52:07 +01:00
pnpm-lock.yaml DEV: Refactor moment.js loading (#32337) 2025-04-26 13:52:07 +01:00
pnpm-workspace.yaml DEV: Drop legacy topic-list and raw-handlebars compilation system (#32081) 2025-04-14 10:42:40 +01:00
stylelint.config.mjs DEV: Introduce postcss minmax transform (#31885) 2025-03-18 19:28:52 +00:00
translator.yml

README.md

The online home for your community.

readme

You can self-host Discourse on your own infrastructure. But if you'd rather skip the setup, maintenance, and server management, we offer official Discourse hosting.

👉 Learn more about Discourse hosting

Discourse is a 100% open-source community platform for those who want complete control over how and where their site is run.

Our platform has been battle-tested for over a decade and continues to evolve to meet users needs for a powerful community platform.

With Discourse, you can:

  • 💬 Create discussion topics to foster meaningful conversations.

  • Connect in real-time with built-in chat.

  • 🎨 Customize your experience with an ever-growing selection of official and community themes.

  • 🤖 Enhance your community with plugins, from chatbots powered by Discourse AI to advanced tools like SQL analysis with the Data Explorer plugin.

To learn more, visit discourse.org and join our support community at meta.discourse.org.

Here are just a few of the incredible communities using Discourse:

discourse-communities

👉 Discover more communities using Discourse

Development

To get your environment set up, follow one of the setup guides:

Before you get started, ensure you have the following minimum versions: Ruby 3.3+, PostgreSQL 13, Redis 7.

For more information, check out the Developer Documentation.

Setting up Discourse

If you want to set up a Discourse forum for production use, see our Discourse Install Guide.

If you're looking for official hosting, see discourse.org/pricing.

Requirements

Discourse supports the latest, stable releases of all major browsers and platforms:

Browsers Tablets Phones
Apple Safari iPadOS iOS
Google Chrome Android Android
Microsoft Edge
Mozilla Firefox

Additionally, we aim to support Safari on iOS 15.7+.

Built With

  • Ruby on Rails — Our back end API is a Rails app. It responds to requests RESTfully in JSON.
  • Ember.js — Our front end is an Ember.js app that communicates with the Rails API.
  • PostgreSQL — Our main data store is in Postgres.
  • Redis — We use Redis as a cache and for transient data.
  • BrowserStack — We use BrowserStack to test on real devices and browsers.

Plus lots of Ruby Gems, a complete list of which is at /main/Gemfile.

Contributing

Build Status

Discourse is 100% free and open source. We encourage and support an active, healthy community that accepts contributions from the public including you!

Before contributing to Discourse:

  1. Please read the complete mission statements on discourse.org. Yes we actually believe this stuff; you should too.
  2. Read and sign the Electronic Discourse Forums Contribution License Agreement.
  3. Dig into CONTRIBUTING.MD, which covers submitting bugs, requesting new features, preparing your code for a pull request, etc.
  4. Always strive to collaborate with mutual respect.
  5. Not sure what to work on? We've got some ideas.

We look forward to seeing your pull requests!

Security

We take security very seriously at Discourse; all our code is 100% open source and peer reviewed. Please read our security guide for an overview of security measures in Discourse, or if you wish to report a security issue.

Security fixes are listed in the release notes for each version.

The Discourse Team

The original Discourse code contributors can be found in AUTHORS.MD. For a complete list of the many individuals that contributed to the design and implementation of Discourse, please refer to the official Discourse blog and GitHub's list of contributors.

Copyright 2014 - 2025 Civilized Discourse Construction Kit, Inc.

Licensed under the GNU General Public License Version 2.0 (or later); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Discourse logo and “Discourse Forum” ®, Civilized Discourse Construction Kit, Inc.

Accessibility

To guide our ongoing effort to build accessible software we follow the W3Cs Web Content Accessibility Guidelines (WCAG). If you'd like to report an accessibility issue that makes it difficult for you to use Discourse, email accessibility@discourse.org. For more information visit discourse.org/accessibility.

Dedication

Discourse is built with love, Internet style.

For over a decade, our amazing community has helped shape Discourse into what it is today. Your support, feedback, and contributions have been invaluable in making Discourse a powerful and versatile platform.

Were deeply grateful for every feature request, bug report, and discussion that has driven Discourse forward. Thank you for being a part of this journey—we couldnt have done it without you!