Wiki

Introduction

A self-hostable, organization-scoped knowledge base built on an end-to-end type-safe TypeScript stack.

Wiki is a multi-tenant knowledge base for teams. Every piece of content lives inside an organization; content is grouped into spaces, and spaces hold a tree of pages. Access is governed server-side and mirrored in the UI, so what a user can see and do is always enforced where it matters.

It is designed to be run by you — a Docker Compose stack you deploy on your own host, with a guided installer, automatic HTTPS, and no managed cloud dependency.

Built for ownership

No seats, no per-user pricing, no lock-in. Wiki is MIT licensed and ships everything you need to operate it yourself.

What you get

Where to start

The stack

LayerTechnology
Web clientReact 19, TanStack Start & Router, Tailwind CSS 4
Terminal clientOpenTUI + React (preview)
HTTP serverHono
API / RPCoRPC with OpenAPI generation
AuthBetter Auth (organization + dynamic access control)
Database / ORMPostgreSQL + Drizzle ORM
Real-timeHocuspocus + Yjs, shared TipTap schema
ValidationZod
Toolingpnpm, Turborepo, Vitest, Oxlint / Oxfmt

Everything is type-checked from the database schema through to the browser — a change to a data contract surfaces as a compile error, not a runtime surprise.

On this page