Open-core knowledge base and training platform (LMS) — self-hosted on your own server, in your brand.

Cluster is an Employee Experience Platform (EXP) built to centralize internal documentation, employee training, and company communication in one web app you run on your own infrastructure.
- Multi-tenant isolation: PostgreSQL Row-Level Security (
tenantpolicy) across all 29 tenant-scoped tables, separate restricted/system DB roles, and private S3 storage served only through authenticated API routes. - Bilingual out of the box: full English and Spanish (neutral Latin American) across the interface, emails, certificate PDFs, and CSV exports.
- Custom branding: configurable instance and per-organization colors, typography, corner radius, glass surfaces, and logos with automatic WCAG contrast verification.
Cluster is open core.
- The core is MIT-licensed and free to self-host. Everything Cluster does today is in this repository: KNOW, GROW, CONNECT, multi-tenant isolation, theming and branding, English and Spanish, and the self-hosting stack.
- The commercial plan offers managed hosting and support. You can run Cluster yourself with no fee, or have us run it for you.
- Planned commercial extras: single sign-on (SSO) and advanced audit. These do not exist yet. Nothing that works today in this repository will move behind a paywall.
Modules can be enabled or disabled at the instance level and per organization. Disabled modules disappear from navigation and return 403 on the API.
| Module | Status | What it includes | Guide |
|---|---|---|---|
| KNOW | Built | Spaces, per-space access roles (Viewer / Editor / Manager), realtime Yjs/Hocuspocus editing, version diffs & restore, Markdown import/export, image/PDF viewer, and search. |
KNOW docs |
| GROW | Built | Courses with rich text, links, files, and uploaded MP4/WebM videos (up to 1 GB with HTTP byte-range streaming), quizzes with manual review, mandatory assignments, PDF certificates with public verification, dashboard, and CSV reports. | GROW docs |
| CONNECT | Built | Company feed with reactions and comments, searchable member directory, interactive organization chart, and celebrations. | Features summary |
| LIFE | In preparation | Employee wellbeing and day-to-day workflows (stub module). | Overview |
Cluster runs as a single Docker Compose stack (web, api, collab, postgres, redis, storage, and an optional caddy TLS profile):
git clone https://github.com/pcrisho/cluster.git
cd cluster
cp .env.example .env
# Generate secrets (`openssl rand -hex 32`) for JWT_SECRET, AUTH_SECRET_KEY,
# COLLAB_INTERNAL_SECRET, database/Redis passwords, non-default STORAGE_* keys,
# and set your public URLs + CLUSTER_DOMAIN.
docker compose build
docker compose --profile proxy up -dFor full production guidance (firewall, external reverse proxy, database roles, automated off-server restic backups, and monitoring), follow the self-hosting documentation:
- Requirements · First start checklist · Environment variables · HTTPS & reverse proxy · Backups & restore



Cluster is a modular monolith (apps/api, apps/web) paired with a lightweight Hocuspocus realtime collaboration server (apps/collab) and shared domain packages (packages/editor-schema, packages/theme).
Read more in Architecture and services and Data isolation.
Requires Node.js >= 24.22.3, pnpm 10, and Docker.
cp .env.example .env # set COLLAB_INTERNAL_SECRET (e.g. `openssl rand -hex 32`)
pnpm install
docker compose -f docker-compose.dev.yml up -d # Postgres, Redis, SeaweedFS, Mailpit
pnpm --filter @cluster/editor-schema build
pnpm --filter @cluster/theme build
pnpm --filter @cluster/api db:roles
pnpm --filter @cluster/api prisma:migrate
pnpm --filter @cluster/api prisma:seed
pnpm devSee CONTRIBUTING.md for local service URLs, demo credentials, Prisma helpers, unit/e2e test suites, and coding conventions.
- Documentation: full evaluation, self-hosting, and user guides (EN / ES) at docs.clusterhq.app.
- Security: report vulnerabilities privately to security@clusterhq.app (initial response within 72 hours) — see SECURITY.md.
- Contributing: pull request checklist, module boundaries, and testing rules in CONTRIBUTING.md. Participation is covered by our Code of Conduct.
- License: MIT.