Synq
Skip to content
[ synq / docs ]Synq home

Self-hosting

Run Synq locally, configure its services, run the tests and understand the deploy model.

Synq is open source and runs from the repository. This section is for people who want to develop against it or run their own instance. It does not contain values for any secret; it lists the names the services read and what they do.

What you run#

ServiceEntry pointNeedsNotes
Bot (the main service)corepack pnpm demo:telegram (apps/demo/src/telegram.ts)Postgres, a Telegram bot tokenEmbedded API on port 3200 by default (3292 in the container), Telegram, workspaces, Kernel and execution wiring. This is what the hosted deployment runs
/v1 API servercorepack pnpm dev is the read-model server; the /v1 server is apps/api/src/v1-server.tsPostgres, Redis, a Kernel audit keyUsed by the self-contained compose.prod.yaml stack
Web hubcorepack pnpm --filter @synq/web dev (port 3100)The API originNext.js. /api/v1, /v2 and /v3 are rewritten to the API origin
Arc indexercorepack pnpm indexer:arcPostgres, an Arc RPCFollows finalized blocks and settles Memo invoice payments. It never signs
Workflow workerworkers/workflow/src/local/worker-main.tsTemporalOptional; for the long-running flows
Chat bridgescorepack pnpm channels:telegram:poll, corepack pnpm channels:imessageTokens and an allowlistOptional ingress processes

Where to go next#

For how the pieces fit together see Architecture, and for a tour of using the product see Getting started.

Edit this page on GitHub