About Chat Js
Chat Js is an MCP server in the Files category: production-ready AI chat. Start here and make it your own. Formerly Sparka AI.
Install
git clone https://github.com/FranciscoMoretti/chat-jsThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Chat Js
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
ChatJS
Stop rebuilding the same AI chat infrastructure. ChatJS gives you a production-ready foundation with authentication, 120+ models, streaming, and tools so you can focus on what makes your app unique.
Website · Live Demo · Documentation
CLI
Create a new ChatJS app:
npx @chat-js/cli@latest create my-app
The CLI walks you through gateway, features, and auth choices, generates chat.config.ts, and lists the env vars required by your selections.
Features
- 120+ Models: Claude, GPT, Gemini, Grok via one API
- Auth: GitHub, Google, anonymous. Ready to go.
- Attachments: Images, PDFs, docs. Drag and drop.
- Resumable Streams: Continue generation after page refresh
- Branching: Fork conversations, explore alternatives
- Sharing: Share conversations with public links
- Web Search: Real-time web search integration
- Image Generation: AI-powered image creation
- Code Execution: Run code snippets in sandbox
- MCP: Model Context Protocol support
- Desktop App: Package as a native macOS, Windows, or Linux app with Electron
Stack
- Next.js - App Router, React Server Components
- TypeScript - Full type safety
- AI SDK - The AI Toolkit for TypeScript
- AI Gateway - Unified access to 120+ AI models
- Better Auth - Authentication & authorization
- Drizzle ORM - Type-safe database queries
- PostgreSQL - Primary database
- Redis - Caching & resumable streams
- Vercel Blob - Blob storage
- Shadcn/UI - Beautiful, accessible components
- Tailwind CSS - Styling
- tRPC - End-to-end type-safe APIs
- Zod - Schema validation
- Zustand - State management
- Motion - Animations
- t3-env - Environment variables
- Pino - Structured Logging
- Langfuse - LLM observability & analytics
- Vercel Analytics - Web analytics
- Biome - Code linting and formatting
- Ultracite - Biome preset for humans and AI
- Streamdown - Markdown for AI streaming
- AI Elements - AI-native Components
- AI SDK Tools - Developer tools for AI SDK
Monorepo Layout
apps/site: Landing page (chatjs.dev)apps/chat: Next.js chat app (demo.chatjs.dev)apps/docs: Mintlify docs (chatjs.dev/docs)packages/cli: interactive scaffold CLI
Development
bun dev:chat: run chat appbun dev:docs: run docsbun lint: run workspace lintbun test:types: run chat app typecheck
Releases
Releases are driven by Changesets for the whole repository.
- Add a changeset for each releasable package you change.
- Merge the generated version PR from the Changesets workflow.
- Public packages such as
@chat-js/clipublish to npm. - Desktop installers for
@chat-js/electronpublish to GitHub Releases.
License
Apache-2.0
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.