Open-source AI chat platform. Connects to 100+ models through OpenRouter, syncs conversations in real-time across devices with Convex, and runs on TanStack Start + React 19 + Tailwind v4.
Use it free at osschat.dev, bring your own API key, or self-host the whole thing.
- 100+ AI models — GPT-4o, Claude, Llama, Gemini, and everything else on OpenRouter
- Real-time sync — conversations persist and update across devices instantly
- Web search — built-in search with source citations
- Self-hostable — Docker Compose or one-click Vercel deploy
- BYOK — bring your own OpenRouter key for unlimited usage
- Browser extension — quick access from any tab
git clone https://github.com/opencoredev/openchat.git
cd openchat && bun install
cp env.web.example apps/web/.env.local
cp env.server.example apps/server/.env.local
# fill in your env vars → docs/ENVIRONMENT.md
bun devFrontend on localhost:3000, Convex starts automatically.
| Method | |
|---|---|
| Vercel + Convex Cloud | |
| Docker | docker compose up -d |
Full setup in deployment docs.
PRs welcome. See CONTRIBUTING.md for local setup and guidelines.