System overview
SupaProxy is a multi-repo system with four repositories:| Repo | Purpose | Tech |
|---|---|---|
| supaproxy-server | Hono API server | Hono + TypeScript + MySQL + Redis |
| supaproxy-sdk | TypeScript SDK (@supaproxy/sdk) | TypeScript |
| supaproxy-dashboard | Frontend | Astro 6 + React 19 + Tailwind CSS 4 |
| supaproxy-docs | Documentation (this site) | Mintlify |
How the pieces connect
fetch against the server directly.
Server architecture
Stack
| Layer | Technology |
|---|---|
| Server | Hono 4.7 + TypeScript |
| Auth | JWT cookies (httpOnly, secure in production) |
| Validation | Zod schemas |
| Database | MySQL 8 |
| Queue | Redis 7 + BullMQ |
| AI | Anthropic Claude (configurable) |
| MCP | @modelcontextprotocol/sdk (HTTP + STDIO) |
| Consumers | @slack/bolt (Socket Mode) |
| Frontend | Astro 6 + React 19 |
| Styling | Tailwind CSS 4 + CSS variables |
| SDK | @supaproxy/sdk (TypeScript) |
Message flow
Background jobs
Three BullMQ queues handle asynchronous work:| Queue | Purpose |
|---|---|
lifecycle | Transition conversations: open → cold → closed |
cold-messages | Generate and send check-in messages for cold conversations |
conversation-stats | Generate sentiment, category, resolution, and cost analysis |