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.

Docs logo

Self-host Docs

v6.1.0

Real-time collaborative text editor and knowledge base

ReleaseOpen SourceMIT
Docker ComposeCompose file & guide
docker compose up -d
Updated1 hour ago
LanguageTypescript
Setup difficultyAdvanced
Stars
16 987
Ports
8083 (Frontend container (nginx serving the editor and proxying the rest) as advertised to the reverse proxy in the compose example), 3002 (Collaboration server (yhub) HTTP endpoint, including /collaboration/ready/v1)
Requires
OpenID Connect identity provider (e.g. Keycloak), PostgreSQL, Redis, S3-compatible Object Storage
Docker
lasuite/impress-frontend
A Docs document with three collaborators live-editing, with highlighted text and cursor tagsPresentation (slide) mode of a document

What is Docs?

Should you self-host Docs?

Docs scores 75/100 on selfhost.directory (how scoring works) and ranks #4 of 83 in Notes & Editors. It has 16 987 GitHub stars, +81 in the last 30 days.

It shipped 18 stable releases in the past year. The latest, v6.1.0, came out on 13 November 2026. New versions land roughly every 10 days.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is MIT-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Memos (85/100, 64 437 stars). It scores higher overall, so compare the two before you pick. See Docs vs Memos side by side.

Features

  • AI Writing AssistantDisabled by default (AI_FEATURE_ENABLED=false); the AI toolbar / AI cursor variant is beta.
  • Block-based editorSome blocks (multi-column) come from GPL-licensed BlockNote XL packages unless built with PUBLISH_AS_MIT.
  • Comments
  • Custom theming
  • Document Search
  • Granular Access Control
  • Import / Exportdocx/pdf exporters rely on GPL BlockNote XL packages that are not MIT-compatible; they can be excluded via PUBLISH_AS_MIT.
  • Markdown Support
  • Offline Editing
  • Presentation Mode
  • Real-time collaborative editing
  • REST API
  • Sub-pages and hierarchy
  • Templates
  • Version History

Docs README

How to install Docs

Install Docs with Docker Compose

Environment variables
OIDC_RP_CLIENT_ID, OIDC_RP_CLIENT_SECRET, AWS_S3_ACCESS_KEY_ID, AWS_S3_SECRET_ACCESS_KEY, DB_PASSWORD, DJANGO_SECRET_KEY, REDIS_URL, Y_PROVIDER_API_KEY
mkdir -p docs/env.d
cd docs
curl -o compose.yaml https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/documentation/examples/compose/compose.yaml

Configure env.d files, then:

docker compose up -d

Sample configuration is experimental; official production deployment is Kubernetes.

How to configure Docs

  • COLLABORATION_WS_URLCollaboration websocket url
  • DJANGO_ALLOWED_HOSTSdefault: [] (empty list)Allowed hosts
  • DJANGO_SECRET_KEYSecret key
  • LOGGING_LEVEL_LOGGERS_ROOTINFODefault logging level. Options are "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"
  • LOGGING_LEVEL_LOGGERS_APPINFOApplication logging level. Options are "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"

Docs releases & version history

@ Every self-hosted release, weekly

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

FAQ

How can I contribute?

Issues and pull requests are welcome on GitHub, and you can join the conversation on Matrix.

Who maintains Docs?

A community of contributors develops Docs in the open; it was originally incubated by France's DINUM within La Suite numérique and is now a recognized Digital Public Good.

Can I restore an older version?

Yes — every save creates a version, and any earlier version can be restored from the document's history at any time.

Can I work offline?

If the document is already open in your browser you can keep editing offline, and your changes sync automatically once you reconnect.

How does saving work?

Docs saves automatically as you type, with no save button; a save triggers after about a minute of inactivity, shared across co-editors.

Is there a hosted version I can just use?

Yes, several public instances are run by community members and organizations; there is a list of public instances and a live demo document.

Can I really self-host Docs?

Yes — Docs supports Kubernetes and Docker Compose, plus community-maintained methods such as Nix and YunoHost, with an installation guide in the repository.

More in Notes & Editors

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…