> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.panicly.lol/llms.txt.
> For full documentation content, see https://docs.panicly.lol/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.panicly.lol/_mcp/server.

# Runtime and operations

## Local runtime topology

`@panicly/web`, default port `3000`, command `next dev --webpack --disable-source-maps --port 3000`.

`@panicly/api`, default port `3001`, command `tsx watch src/index.ts`.

`@panicly/chatbot`, default port `3002`, command `next dev --turbo --port 3002`.

## External services

`WORKOS_API_KEY` and `WORKOS_CLIENT_ID` drive dashboard auth.

`SUPABASE_URL`, `SUPABASE_SERVICE_ROLE_KEY`, `NEXT_PUBLIC_SUPABASE_URL`, and `NEXT_PUBLIC_SUPABASE_ANON_KEY` support data access.

`STRIPE_SECRET_KEY`, `STRIPE_WEBHOOK_SECRET`, and price IDs support subscriptions, checkout, credits, and portal access.

`ENCRYPTION_KEY` encrypts and decrypts provider keys. A dev fallback exists and must not leak into production.

`PANICLY_API_KEY`, `NEXT_PUBLIC_PANICLY_API_KEY`, `PANICLY_BASE_URL`, and `POSTGRES_URL` are chatbot-specific.

Download environment checklist

## Local fallback state

`.panicly/workspace-audit-events.json`, `.panicly/ip-rules.json`, `.panicly/geo-rules.json`, and `.panicly/model-rules.json` can act as fallback storage when expected database tables are missing.

Generated or artifact-heavy folders include `apps/web/.next`, `apps/*/dist`, `packages/*/dist`, `.turbo`, and `node_modules`.