Skip to content
pcrishoPublic

About

Open-core Employee Experience Platform: versioned knowledge base (KNOW), LMS (GROW), and internal communication (CONNECT), self-hosted with PostgreSQL RLS.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation


Cluster

Cluster

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

Website · Documentation (EN / ES) · Changelog · Security

MIT License Release v0.2.0 CI Languages EN and ES

Cluster KNOW collaborative page editor

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 (tenant policy) 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.

Open core: what is free and what is commercial

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.

✨ Platform & Modules

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

🚀 Self-Hosting (Docker Compose)

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 -d

For full production guidance (firewall, external reverse proxy, database roles, automated off-server restic backups, and monitoring), follow the self-hosting documentation:


📸 Screenshots

GROW My learning and course catalog

GROW compliance reports and CSV export

Organization area tree and assignments


🏗️ Architecture

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).

Cluster deployment architecture diagram

Read more in Architecture and services and Data isolation.


⚙️ Built With

Next.js 16 NestJS 11 TypeScript PostgreSQL 16 Prisma 7 Redis 7 SeaweedFS Yjs / Hocuspocus Tailwind CSS 4 Docker


🛠️ Local Development

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 dev

See CONTRIBUTING.md for local service URLs, demo credentials, Prisma helpers, unit/e2e test suites, and coding conventions.


📝 Documentation, Security & License

About

Open-core Employee Experience Platform: versioned knowledge base (KNOW), LMS (GROW), and internal communication (CONNECT), self-hosted with PostgreSQL RLS.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages