FranciscoMoretti/chat-js
Production-ready AI chat. Start here and make it your own. Formerly Sparka AI
What it solves
ChatJS provides a production-ready foundation for building AI chat applications, eliminating the need for developers to rebuild common infrastructure like authentication, model integration, and streaming from scratch.
How it works
It is a full-stack framework built with Next.js and TypeScript that uses an AI Gateway to provide unified access to over 120 AI models (including Claude, GPT, and Gemini). It integrates a comprehensive stack of tools for state management, database queries, and observability to handle complex chat features like resumable streams and conversation branching.
Who it’s for
Developers who want to launch AI chat apps quickly without spending time on the boilerplate of auth, database setup, and API integrations.
Highlights
- Unified Model Access: Integration with 120+ models via a single API.
- Advanced Chat Features: Supports conversation branching, resumable streams, and public sharing of chats.
- Rich Tooling: Built-in support for web search, image generation, code execution in a sandbox, and the Model Context Protocol (MCP).
- Detailed Stack: Includes authentication via Better Auth, database management with Drizzle ORM and PostgreSQL, and observability via Langfuse.
- Multi-platform: Can be packaged as a native desktop app for macOS, Windows, or Linux using Electron.
Related
- Project
- Project
- Project
- Project
- Project