by zcag
Open-source, self-hostable markdown team wiki with a built-in MCP server — so AI agents read, write, and search your docs as first-class teammates. Live multiplayer, semantic + full-text search. Go + PostgreSQL + React/Milkdown.
# Add to your Claude Code skills
git clone https://github.com/zcag/telatela is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by zcag. Open-source, self-hostable markdown team wiki with a built-in MCP server — so AI agents read, write, and search your docs as first-class teammates. Live multiplayer, semantic + full-text search. Go + PostgreSQL + React/Milkdown. It has 104 GitHub stars.
tela's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/zcag/tela" and add it to your Claude Code skills directory (see the Installation section above).
tela is primarily written in Go. It is open-source under zcag on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh tela against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Home · Pricing · Compare · MCP for agents · Docs
tela is a self-hostable, markdown-native team wiki built for a world where agents are first-class authors and readers. It pairs a Go + PostgreSQL backend with a React 19 / Milkdown editor, live Yjs collaboration, ranked full-text and semantic search, and a built-in Model Context Protocol (MCP) server — so the same knowledge base your team edits in the browser is one your agents can search, read, and write directly. Atlas, its documentation engine, turns the artifacts you already produce into maintained wiki pages. Your content stays canonical markdown forever — pages.body is markdown, there is no proprietary block store.
👉 Start at telawiki.com — the marketing site walks through what tela does (with pricing, a comparison, and the agent/MCP story), and the hosted instance has a free tier: no install, no card.
/api/mcp is part of the backend, not a bolt-on. Claude, Cursor, and other agents search, read, and author pages with scoped, per-tool write permissions.pgvector-backed semantic retrieval and grounded "ask your docs" answers.pages.body is canonical markdown forever (no block table). Sync over WebDAV, export to zip/PDF, and run the whole stack with one make up.You need Docker (with Compose) and make. The bundled stack builds every image via Compose, so no host Node or Go toolchain is required.
git clone https://github.com/zcag/tela.git
cd tela
# 1. Write deploy/.env from the example with strong generated secrets
# (fills TELA_API_KEY_SECRET, TELA_SHARE_SECRET, TELA_PG_PASSWORD via openssl rand)
make setup
# 2. Edit deploy/.env — set TELA_PUBLIC_BASE_URL, and optionally
# TELA_ADMIN_* and TELA_SMTP_* (see Configuration below)
# 3. Build and start the full stack
make up
The stack comes up behind Caddy on http://localhost:8780. On first boot tela runs its embedded migrations automatically and lands you on the /setup wizard to create the first admin — unless you set TELA_ADMIN_PASSWORD in deploy/.env, which bootstraps the admin non-interactively.
Prefer managed hosting over running Compose? Deploy the published multi-arch images straight to a platform:
After the first deploy, enable pgvector on the managed database once —
CREATE EXTENSION IF NOT EXISTS vector;— then point the backend'sTELA_PUBLIC_BASE_URLat your app's public URL. Or skip ops entirely with the free cloud tier.
Common targets:
make up # build + start the stack on :8780 (auto-stamps git version/commit)
make down # stop the stack
make logs # tail logs from all services
make backup # dump Postgres to ./backups/tela-<timestamp>.sql
make restore FILE=backups/tela-....sql
make clean FORCE=1 # stop and DELETE all volumes (destroys data)
make up is the same thing as running Compose directly — under the hood it's docker compose -f deploy/docker-compose.yml up -d --build (plus a forced proxy recreate so a changed Caddyfile re-mounts). The three load-bearing secrets must be set and stable across deploys: rotating TELA_SHARE_SECRET invalidates outstanding share cookies, and rotating TELA_API_KEY_SECRET invalidates every existing personal access token (PAT).
For full setup, TLS, backups, and upgrades see docs/self-hosting.md and the operations runbook docs/operations.md.
make dev # backend (:8080) + frontend (:5173, proxies /api → :8080); boots a local dev Postgres
make be-dev # backend only (go run; boots the dev Postgres on :55433)
make fe-dev # frontend only (vite)
make test # backend tests against a throwaway Postgres
make storybook # component dev surface
If :8080 is taken on your box, run make dev DEV_BE_PORT=18080 so the backend and the vite /api proxy stay consistent.
The bundled Compose stack ships an optional Ollama embedder behind a profile. Full-text search always works; this only lights up the semantic half:
docker compose -f deploy/docker-compose.yml --profile embed up -d
docker compose -f deploy/docker-compose.yml exec ollama ollama pull qwen3-embedding:0.6b
# then set TELA_RAG_EMBED_URL=http://ollama:11434 in deploy/.env and restart
All configuration is environment-driven via deploy/.env (copy from deploy/.env.example). In the bundled Compose stack TELA_DATABASE_URL is auto-constructed from the TELA_PG_* vars — you only set it explicitly when running the backend against an external Postgres.
| Variable | Description |
|---|---|
TELA_PUBLIC_BASE_URL |
Public origin of the instance (e.g. https://wiki.example.com). Used in emails, share links, and OAuth audiences. |
TELA_SHARE_SECRET |
Secret signing share-link password cookies. Generate with openssl rand -hex 32; never rotate (invalidates outstanding share cookies). |
TELA_API_KEY_SECRET |
Secret signing personal access tokens (PATs). Generate with openssl rand -hex 32; never rotate (invalidates every existing PAT). |
TELA_PG_PASSWORD |
Password for the bundled Postgres. No default — must be set. |
| Variable | Description |
|---|---|
TELA_PG_USER |
Postgres role for the bundled DB. Default tela. |
TELA_PG_DB |
Postgres database name. Default tela. |
TELA_DATABASE_URL |
Full DSN — only set when running outside the bundled stack (external/managed Postgres). Format postgres://USER:PASS@HOST:5432/DB?sslmode=disable. |
| Variable | Description |
|---|---|
TELA_ADMIN_USERNAME |
Bootstrap admin username (first boot only). |
TELA_ADMIN_PASSWORD |
Bootstrap admin password. Unset → use the /setup web wizard instead. |
TELA_ADMIN_EMAIL |
Optional; pre-confirms the admin's email so it's exempt from the confirmation gate. Setting it later backfills the existing admin. |
With TELA_SMTP_HOST unset, tela logs confirmation/reset/notification links to stdout instead of sending (fine for dev / first boot). Works with any SMTP relay.
| Variable | Description |
|---|---|
TELA_SMTP_HOST |
SMTP relay host (e.g. smtp.resend.com). |
TELA_SMTP_PORT |
587 starttls (default) or 465 ssl. |
TELA_SMTP_TLS |
starttls | ssl | none. |
TELA_SMTP_USERNAME |
SMTP username. |
TELA_SMTP_PASSWORD |
SMTP password or API key. |
TELA_SMTP_FROM |
From identity, e.g. tela <[email protected]>. |
| Variable | Description |
|---|---|
TELA_SITE_ADDRESS |
Canonical host Caddy binds for direct-TLS mode (e.g. telawiki.com). Empty → :80 (terminator/CF mode), which disables org custom domains. |
TELA_CUSTOM_DOMAIN_TARGET |
Shared CNAME target shown to org admins adding a hostname. Defaults to the canonica |