Konkyo docs

Self-hosting

Run the whole stack on your own machine.

You need Node 22.18+, pnpm (corepack enable), Docker, a Zetaris instance and an OpenAI key.

cp .env.example .env            # every variable is described there
pnpm install
pnpm services:up                # Postgres + pgvector, RustFS (S3), Gotenberg, in Docker
pnpm services:check
pnpm db:migrate
pnpm dev                        # the web app on :3210, the worker, and these docs on :3211

All in Docker

infra/compose.prod.yaml is the production stack: the web app, the worker (with OCRmyPDF and yt-dlp) and these docs, built from their Dockerfiles, beside Postgres, RustFS and Gotenberg. Migrations run first, in a one-shot container; web and worker share one /data volume for traces and each person's memory and World Model.

docker compose -f infra/compose.prod.yaml up -d --build

Browsers upload straight to S3 with presigned URLs, so S3_PUBLIC_ENDPOINT must be an address browsers can reach (a domain in front of the s3 service).

Zetaris

Use the hackathon's instance (ZETARIS_REST_URL, ZETARIS_API_KEY) or a local bundle (ZETARIS_LOGIN_URL, ZETARIS_USERNAME, ZETARIS_PASSWORD, ZETARIS_ORG_ID). EVIDENCE_DIR is where the worker writes evidence files, and ZETARIS_EVIDENCE_URI is the same folder as Zetaris sees it.

Other services

VariableForNeeded
OPENAI_API_KEYEvery model and embeddingYes
GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRETSign-in with Google (guests work without)Yes
ELEVENLABS_API_KEYTranscribing recordings, audio briefsYes
OPENALEX_API_KEYHigher OpenAlex limitsNo
COMPOSIO_*Gmail, Drive and Notion connectorsNo
VAPID_*Web Push notificationsNo
DEMO_SHARE_SLUGThe landing page's live demo folderNo

These docs

pnpm --filter @konkyo/docs build writes a static site to apps/docs/out, which any static file server can serve.

On this page