Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

NodeBB

> 数据库
Open source

Node.js based forum software built for the modern web

15.2K stars0 likes5 views
WebsiteGitHub

About

Node.js based forum software built for the modern web

NodeBB Forum Software is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. It utilizes web sockets for instant interactions and real-time notifications. NodeBB takes the best of the modern web: real-time streaming discussions, mobile responsiveness, and rich RESTful read/write APIs, while staying true to the original bulletin board/forum format → categorical hierarchies, local user accounts, and asynchronous messaging.

NodeBB by itself contains a "common core" of basic functionality, while additional functionality and integrations are enabled through the use of third-party plugins.

Try it now | Documentation

Screenshots

NodeBB's theming engine is highly flexible and does not restrict your design choices. Check out some themed installs in these screenshots below: Our minimalist "Harmony" theme gets you going right away, no coding experience required.

How can I follow along/contribute?

  • If you are a developer, feel free to check out the source and submit pull requests. We also have a wide array of plugins which would be a great starting point for learning the codebase.
  • If you are a designer, NodeBB needs themes! NodeBB's theming system allows extension of the base templates as well as styling via SCSS or CSS. NodeBB's base theme utilizes Bootstrap 5 as a frontend toolkit.
  • If you know languages other than English you can help us translate NodeBB. We use Transifex for internationalization.
  • Please don't forget to like, follow, and star our repo! Join our growing community to keep up to date with the latest NodeBB development.

Requirements

NodeBB requires the following software to be installed:

  • A version of Node.js at least 22 or greater (installation/upgrade instructions)
  • MongoDB, version 5 or greater or Redis, version 7.2 or greater
  • If you are using clustering you need Redis installed and configured.
  • nginx, version 1.3.13 or greater (only if intending to use nginx to proxy requests to a NodeBB)
  • (Optional) Docker for container-based setup

Installation steps vary by operating system. Please follow the official documentation links above.

Installation

Please refer to platform-specific installation documentation. If installing via the cloud (or using Docker), please see cloud-based installation documentation.

Development Setup Overview

NodeBB uses a CLI-based setup and does not run via standard npm start.

You can run NodeBB locally in two ways:

Option 1: Native Setup (Recommended for Beginners & Contributors)

This approach helps you understand how NodeBB works internally.

Basic flow:

  1. Clone the repository https://github.com/NodeBB/NodeBB.git
  2. Run the setup script cd NodeBB ./nodebb setup
  3. Start the application ./nodebb start

During setup, you will configure:

  • Database (MongoDB / Redis)
  • Admin account
  • Port (default: 4567)

Option 2: Docker Setup (Quick & Isolated)

Requires Docker to be installed: https://docs.docker.com/get-docker/

Run:

bash
docker-compose up

This will start NodeBB along with required services at: http://localhost:4567

For more details, see: https://docs.nodebb.org

Securing NodeBB

It is important to ensure that your NodeBB and database servers are secured. Bear these points in mind:

  1. While some distributions set up Redis with a more restrictive configuration, Redis by default listens to all interfaces, which is especially dangerous when a server is open to the public. Some suggestions:
    • Set bind_address to 127.0.0.1 so as to restrict access to the local machine only
    • Use requirepass to secure Redis behind a password (preferably a long one)
    • Familiarise yourself with Redis Security
  2. Use iptables to secure your server from unintended open ports. In Ubuntu, ufw provides a friendlier interface to working with iptables.
    • e.g. If your NodeBB is proxied, no ports should be open except 80 (and possibly 22, for SSH access)

Upgrading NodeBB

Detailed upgrade instructions are listed in Upgrading NodeBB

License

NodeBB is licensed under the GNU General Public License v3 (GPL-3) (http://www.gnu.org/copyleft/gpl.html).

Interested in a sublicense agreement for use of NodeBB in a non-free/restrictive environment? Contact us at [email protected].

More Information/Links

  • Demo
  • Developer Community
  • Documentation & Installation Instructions
  • Help translate NodeBB
  • NodeBB Blog
  • Premium Hosting for NodeBB
  • Unofficial IRC community – channel #nodebb on Libera.chat
  • Follow us on Twitter
  • Like us on Facebook

Issues· 110 open

View all issuesOpen on GitHub
  • #9758

    Dependency Dashboard

    Updated Oct 1, 2026
  • #14318

    E2E direct messages

    enhancementUpdated Sep 30, 2026
  • #14926

    Mongo→Postgres conversion does not create the indexes on `legacy_object.expireAt` and `legacy_zset`

    bugUpdated Sep 27, 2026
  • #14924

    A Bug while changing the position of the poster in profile the "save" button is not visible.

    bugUpdated Sep 27, 2026
  • #12823

    FEP-8b32 — Object Integrity Proofs

    enhancementactivitypubUpdated Sep 24, 2026
  • #14892

    Would a contact/inquiry queue belong in core, or should it stay a plugin?

    questionUpdated Sep 23, 2026
  • #12431

    OAuth provider

    enhancementUpdated Sep 21, 2026
  • #13931

    Cross-post improvements

    activitypubUpdated Sep 18, 2026
  • #14644

    With a SSO plugin, account can be deleted with no verification

    bugUpdated Sep 7, 2026
  • #14551

    rename component to data-component

    breaking change (plugins)breaking change (themes)Updated Aug 29, 2026

> Tags

JavaScriptcommunityforumjavascriptmongodb

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库