7 open source Q&A platforms (2024)

Where do you go when you have a question? Since humans began walking the earth, we've asked the people around us—our family, friends, neighbors, classmates, co-workers, or other people we know well. Much later came libraries and bookstores offering knowledge and resources, as well as access for anyone to come in and search for the answers. When the home computer became common, these knowledge bases extended to electronic encyclopedias shipped on floppy disks or CD-ROMs. Then, when the internet age arrived, these knowledge bases migrated online to the likes of Wikipedia, and search engines like Google were born with the purpose of making it easy for people to search for answers to their questions. Now, sites like StackOverflow are there to answer our software questions and Quora for our general queries.

The lesson is clear, though. We all have questions, and we all want answers for them. And some of us want to help others find answers to their questions, and this is where self-hosted Q&A sites come in.

Self-hosted Q&A sites

If you want to create your own Q&A platform, there is always the option to develop everything from scratch. But this means you need to write a lot of code for the frontend, backend, database, security, etc. None of these are simple tasks.

Thankfully, there are a number of well-tested Q&A platform solutions in the open source space. These include:

NameLicenseTechnology stacksDescription
DiscourseGPLv2Ruby on Rails, Ember.js, PostgreSQL, RedisVery popular 100% open source discussion platform based on Ruby
VanillaGPLv2PHP, MySQLModern, stylish Q&A site based on PHP
AskbotGPLv3Python, Django, MySQL or PostgreSQLInteresting Q&A platform based on Django and Python, previously called OSQA
ScooldApache 2.0Java, Spring, database agnosticExtremely powerful and full-featured Q&A site based on Java
Question2AnswerGPLv2+PHP, MySQLQ&A platform based on PHP, powering over 22,000 sites in 40 languages
ShapadoGNU AGPLRuby, MongoMapper, MongoDBSimple Q&A site based on Ruby
LampCMSGNU LGPLv3PHP, MongoDBOpen source high-performance web program for creating Q&A websites based on PHP

If you prefer videos to text, watch my YouTube video about these seven open source Q&A platforms.

Discourse

Discourse is an increasingly popular choice for Q&A sites for open source projects. Mozilla recently adopted Discourse, and programming languages like Python and Go also use it. These sites can be public or private, as is the case with the Opensource.com Correspondents' Discourse platform. As of this writing, Discourse has 713 contributors and 35,933 commits.

7 open source Q&A platforms (1)

Interestingly, one of Discourse's three founders is Jeff Atwood, the creator of Stack Overflow, which is, without a doubt, the most popular Q&A site among developers. Discourse has many advanced features that make it super powerful.

7 open source Q&A platforms (2)

A few of these features are:

  • Its notifications operate like Twitter's. When someone mentions your name with the @ symbol, you will be notified.
  • You can continue writing and composing while reading.
  • You can drag and drop images into your post.
  • The search functionality really works.

Discourse is based on the Ruby programming language, and its open source version is available under the GNU GPLv2. One downside is that Docker images are the only supported way for installing Discourse in production. While it is powerful, configuration and installation may require someone with a technical skillset.

Vanilla

The open source Q&A software Vanilla is anything but plain. One thing I love about Vanilla is its look and feel. Of all the Q&A software out there, in my opinion, Vanilla's site is the most modern, intuitive, and clean.

7 open source Q&A platforms (3)

Vanilla's open source contributors are very active—its GitHub page has 118 contributors and 29,491 commits (as of this writing).

7 open source Q&A platforms (4)

Vanilla is built on tried-and-true technology: it's written in PHP, and its backend database is MySQL. Some people may wonder, "Why PHP?" While there are many newer web languages, PHP is still a dominant language on the internet, and Vanilla is in good company with Drupal and WordPress, which are also PHP-based. It's available under the GNU GPLv2.

The test environment requires a number of technologies to be installed locally, including Docker, Brew, Yarn, Node, and Composer, and you can get it up and running by following its setup instructions.

Askbot

Once upon a time, there was an open source platform called OSQA. This cool, open source Q&A platform was created by the makers of AnswerHub, which is a popular platform for enterprises. Although the platform is no longer maintained, you can find the remains of OSQA on GitHub.

Luckily, a new open source platform called Askbot was created based on OSQA.

7 open source Q&A platforms (5)

The Askbot platform is based on Python and the Django framework, and it is licensed under the GNU GPLv3. As of this writing, its GitHub community has 101 contributors and 6,612 commits. Not bad!

7 open source Q&A platforms (6)

Scoold

More open source alternatives

  • Open source project management tools
  • Trello alternatives
  • Linux video editors
  • Open source alternatives to Photoshop
  • List of open source alternatives
  • Latest articles about open source alternatives

Although I have tried pretty much every programming language out there, my preference is Java, as I have practiced it for a long time. When I heard about Scoold, an open source platform based on Java, I wanted to try it.

Scoold has many advanced features integrated into its platform. I especially like its ability to work with many databases and its OAuth support out-of-the-box.

The user interface is clean and intuitive.

7 open source Q&A platforms (7)

Scoold's open source project is licensed under the Apache License 2.0, but it has a heavy commercial feeling, and its Pro version is closed source. The open source project seems to have quite a number of restrictions, which are detailed on its FAQ page:

7 open source Q&A platforms (8)

But, looking at its GitHub page, the open source project appears to be maintained by just 18 contributors, and it has only 852 commits.

7 open source Q&A platforms (9)

Please be aware of these things if you try Scoold, as the project may have a few restrictions that you find burdensome.

Question2Answer

Question2Answer is another open source Q&A platform based on PHP. At a glance, the platform has a bit of a cartoonish feel, although I suppose the themes can be customized.

7 open source Q&A platforms (10)

As of this writing, Question2Answer has only 20 contributors and 1,291 commits on its GitHub page, so take a little caution. But the project is based on the GNU GPLv2 or later, so you can easily contribute.

7 open source Q&A platforms (11)

Shapado

Shapado is an open source Q&A platform based on Ruby and the MongoDB database. Its GitHub has only 14 contributors and 5,149 commits. It does not appear to have a large following, and the latest update was in 2018, so be cautious before adopting it.

7 open source Q&A platforms (12)

It's also open source under a less-common license that is worth knowing about, the GNU Affero General Public License(AGPL).

LampCMS

LampCMS is an open source PHP platform with a GNU LGPLv3 license. It has only one contributor, but I think it's interesting enough to take a look at.

7 open source Q&A platforms (13)

Due to its small footprint, I would not recommend LampCMS for your production server Q&A platform. But due to its simplicity, it might be a good experimental platform to learn how a Q&A platform works.

Choose wisely

With all of these options, how do you pick which one to use? After all, each Q&A platform has pros and cons. Some platforms are easier to install, others are documented better, and still others offer more flexibility. Looking at the long term, though, you want to pick a platform that has active open source community involvement. Also, consider getting involved by making your own contributions to these platforms. After all, that is what open source projects are for.

Did I miss an interesting open source Q&A platform? Please share your thoughts in the comments.

7 open source Q&A platforms (14)This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.

7 open source Q&A platforms (2024)
Top Articles
Latest Posts
Article information

Author: Amb. Frankie Simonis

Last Updated:

Views: 6487

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Amb. Frankie Simonis

Birthday: 1998-02-19

Address: 64841 Delmar Isle, North Wiley, OR 74073

Phone: +17844167847676

Job: Forward IT Agent

Hobby: LARPing, Kitesurfing, Sewing, Digital arts, Sand art, Gardening, Dance

Introduction: My name is Amb. Frankie Simonis, I am a hilarious, enchanting, energetic, cooperative, innocent, cute, joyous person who loves writing and wants to share my knowledge and understanding with you.