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.

remark42 logo

Self-host remark42

v1.18.0

Privacy-first comment engine you host yourself

ReleaseOpen SourceMIT
Updatedlast month
LanguageGo
Setup difficultyEasy
ThemeDark mode
Stars
5 651
CPU
Minimal usage (typically under 0.1%)
RAM
~80MiB RAM
Storage
under 200MB for a 5-year-old installation with regular activity
Ports
8080 (web server (HTTP) port of the Remark42 server), 8443 (HTTPS server port when SSL is configured)
Docker
ghcr.io/umputun/remark42
Install with Docker Compose
Comment widget showing a threaded list of reader comments

What is remark42?

Remark42 is a small, privacy-minded comment engine you install on your own server and embed in blogs, articles or any page where readers add comments. Visitors sign in through OAuth2 providers (Google, GitHub, Apple, Yandex and the others listed in the authorization manual), by email, or anonymously, and post Markdown comments in multi-level threads with voting, pinning, image upload and a customizable white or dark UI. Moderators delete posts and ban troublemakers, admins receive a ping for every new comment via Telegram, Slack, webhook or email, and readers are told about replies by email or Telegram. Existing discussions can be imported from Disqus and WordPress; data is exported to JSON with automatic backups and served as RSS per site or per post. One instance can host several sites at once. No external database is needed because everything lives in a single data file, so deployment is a docker compose up away, and a self-contained executable plus optional built-in automatic SSL cover Linux, Windows and macOS. A public demo instance lets you try it, and community docs, a Helm chart and a Django integration round out the ecosystem. Twitter sign-in was deprecated in v1.14.0; releases continue, most recently v1.18.0 in October 2026.

remark42 alternatives

Should you self-host remark42?

remark42 scores 69/100 on selfhost.directory (how scoring works) and ranks #1 of 5 in Comments. It has 5 651 GitHub stars, +27 in the last 30 days.

It shipped 9 stable releases in the past year. The latest, v1.18.0, came out on 11 October 2026. New versions land roughly every 2 weeks.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is Artalk (67/100, 2 366 stars). remark42 scores higher overall. See remark42 vs Artalk side by side.

Features

  • Anonymous commenting
  • Built-in HTTPS with automatic certificates
  • Comment Moderation
  • Data export and backups
  • Email sign-in
  • Embedded comment widget
  • Image Upload
  • Import from Disqus and WordPress
  • Markdown editing
  • Multi-site Support
  • Nested threaded comments
  • Notifications
  • RSS Feeds
  • Social and OAuth2 loginTwitter support was deprecated in 1.14.0.
  • Voting and pinning

remark42 README

Remark42 Build Status Image Size Go Report Card Coverage Status codecov

Remark42 is a self-hosted, lightweight and simple (yet functional) comment engine, which doesn't spy on users. It can be embedded into blogs, articles, or any other place where readers add comments.

How to install remark42

Install remark42 with Docker Compose

Environment variables
REMARK_URL, SECRET, SITE, AUTH_ANON, AUTH_GITHUB_CID, AUTH_GITHUB_CSEC
Installation in Docker

This is the recommended way to run Remark42

  • copy provided docker-compose.yml and customize for your needs
  • make sure you don't keep ADMIN_PASSWD=something... for any non-development deployments
  • pull prepared images from the Docker Hub and start - docker compose pull && docker compose up -d
  • alternatively, compile from the sources - docker compose build && docker compose up -d

Recommended way to run Remark42; a persistent volume ./var:/srv/var stores all data.

How to configure remark42

  • REMARK_URLURL to Remark42 server, required
  • SECRETthe shared secret key used to sign JWT, should be a random, long, hard-to-guess string, required
  • SITEremarksite name(s), multi
  • STORE_TYPEbolttype of storage, bolt or rpc
  • STORE_BOLT_PATH./varparent directory for the bolt files

remark42 releases & version history

@ Every self-hosted release, weekly

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

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…