Quick start
You'll need Bun, a free Convex account, a Clerk application, and an OpenRouter API key.
git clone https://github.com/whirlchat/whirl.git
cd whirl
bun install
# 1. Create a Convex dev deployment and push the backend.
cd packages/backend
bunx convex dev # first run walks you through creating a project
# 2. In another terminal, give the backend its secrets.
bunx convex env set CLERK_JWT_ISSUER_DOMAIN https://your-instance.clerk.accounts.dev
bunx convex env set OPENROUTER_API_KEY sk-or-v1-...
# 3. Point the web app at Convex and Clerk.
cd ../../apps/v2
cp .env.example .env.local # then fill in the four required values
# 4. Run everything from the repo root.
cd ../..
bun run devOpen localhost:3000 and say hi. The self-hosting guide covers each step in detail, including the Clerk JWT template Convex needs and how to deploy to production.
Source captured: 2026-10-11