selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

NodeBB logo

Self-host NodeBB

v4.16.8

Real-time Node.js forum with websockets and plugins

ReleaseOpen SourceGPL-3.0
Updatedyesterday
LanguageJavaScript
Setup difficultyModerate
MobileResponsive
Stars
15 248
RAM
512MB RAM
Port
4567 (HTTP port NodeBB binds to (web installer and forum))
Docker
ghcr.io/nodebb/nodebb
Install with Docker Compose
A NodeBB install using the minimalist Harmony theme, shown side by side on desktop and mobileNodeBB forum interface on a desktop browserNodeBB forum interface on a tabletNodeBB forum interface on a mobile phone

What is NodeBB?

NodeBB is forum software that runs on Node.js, aimed at communities wanting a traditional categorical bulletin board with live behaviour: websocket-driven instant interactions, notifications and streaming of conversations, private messaging, topic tags, and per-category role-based permissions. Capabilities beyond that core are installed as third-party plugins, and appearance is handled by themes; the base theme is built on Bootstrap 5. Instances can speak ActivityPub to reach the wider fediverse, including Mastodon users, and administrators manage settings through a control panel while programs use the read and write REST APIs. The project also documents built-in multilingual interfaces, GDPR compliance, and SEO-oriented URLs and markup. To operate it yourself, clone the repository and run ./nodebb setup followed by ./nodebb start (server options live in config.json), or use the bundled Dockerfile and docker-compose with a mongo, postgres or redis profile. It needs Node.js 22 or newer, one of MongoDB 5+, Redis 7.2+ or PostgreSQL, and at least 512MB of RAM. NodeBB is released under GPL-3.0 and free to self-host; the company also sells hosted forum subscriptions and enterprise work such as migrations and custom themes, and the container documentation is community-maintained.

Should you self-host NodeBB?

NodeBB scores 73/100 on selfhost.directory (how scoring works) and ranks #4 of 75 in Social Networks & Forums. It has 15 248 GitHub stars, +15 in the last 30 days.

It shipped 34 stable releases in the past year. The latest, v4.16.8, came out on 12 November 2026. New versions land roughly every 5 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is GPL-3.0-licensed and written mostly in JavaScript.

Its closest alternative on selfhost.directory is Mastodon (84/100, 50 599 stars). It scores higher overall, so compare the two before you pick. See NodeBB vs Mastodon side by side.

Features

  • ActivityPub Federation
  • Administrative control panel
  • Built-in chat / instant messaging
  • GDPR Compliance
  • Internationalization
  • Plugin System
  • Real-time post streaming
  • REST API
  • Role-based permissions
  • SEO-friendly URLs and markup
  • Single Sign-On
  • Social feed view option
  • Tags
  • Theming

NodeBB README

NodeBB

Workflow Coverage Status Code Climate

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.

How to install NodeBB

Install NodeBB with Docker Compose

Docker (optional, for container-based setup)
$ docker-compose --profile {DATABASE} up

The bundled docker-compose.yml starts NodeBB plus a database; choose one of the mongo, postgres or redis profiles. At least Docker Compose version 3.8 is required, and the Docker configuration and its documentation are community-maintained.

How to configure NodeBB

  • urlFull web-accessible address pointing at your NodeBB (IP or domain, plus subfolder for sub-path installs); changing it to a sub-folder requires rebuilding with ./nodebb build.
  • secretText string used to hash cookie sessions; changing it invalidates all existing sessions.
  • databaseDefines the primary database used by NodeBB.

    values: redis, mongo, postgres

  • port4567Port number NodeBB binds to; an array of ports spawns one process per port (load balancer required).
  • bind_address0.0.0.0Local address NodeBB should bind to; by default it listens on all interfaces.

NodeBB releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

How do I upgrade my NodeBB to a newer version?

Follow the dedicated "Upgrading NodeBB" page in the official documentation, which is also the place to look when something breaks after an upgrade.

How do I reset the admin password?

The CLI can reset any user's password with ./nodebb user reset <uid> --password <new-password>; the admin account is user id 1 by default.

How do I start/stop/restart NodeBB?

Use the bundled ./nodebb executable, which has start, stop, restart, status and log subcommands along with setup, install, build, upgrade and user management.

More in Social Networks & Forums

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…