Project of Theo's cloneathon of T3.chat.
- - Multi-model and Auto Mode (AI will choose the best model to you).
- - Synchronization
- - Retry messages (and history)
- - Chat branching
- - Syntax highlighting
- - Markdown support
- Convex account.
- Clerk account.
- OpenRouter key.
- Bun installed.
- Clone the repository:
git clone https://github.com/matheuslanduci/m5s-chat- Install dependencies:
cd m5s-chat
bun install- Create a
.env.localfile in the root directory and add your environment variables:
VITE_CLERK_PUBLISHABLE_KEY=
VITE_CLERK_FRONTEND_API_URL=
CONVEX_DEPLOYMENT=
VITE_CONVEX_URL=
VITE_CONVEX_SITE=
OPENROUTER_API_KEY=
CLERK_SECRET_KEY=- Run the development server:
bun run dev- Run the Convex deployment:
bunx convex dev- Open your browser and navigate to http://localhost:3000.
Free for personal and commercial use.