
chat-js
Production-ready AI chat. Start here and make it your own. Formerly Sparka AI
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
Install and set up chat-js (git-clone project) into my current project. Found on https://claudeers.com/chat-js Repo: https://github.com/FranciscoMoretti/chat-js Homepage/docs: https://chatjs.dev Detected install method: git-clone → git clone https://github.com/FranciscoMoretti/chat-js Category: data. Platforms: cli, api, desktop, web. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: active; community-verified: false. Confirm the source before running anything.
git clone https://github.com/FranciscoMoretti/chat-js
// compatibility
| Platforms | cli, api, desktop, web |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | NOASSERTION |
| Pricing | open-source |
| Language | TypeScript |
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
// faq
What is chat-js?
Production-ready AI chat. Start here and make it your own. Formerly Sparka AI. It is open-source on GitHub.
Is chat-js free to use?
chat-js is open-source under the NOASSERTION license, so it is free to use.
What category does chat-js belong to?
chat-js is listed under devtools in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/chat-js)
// retro hit counter
[](https://claudeers.com/chat-js)
// reviews
// guestbook
// related in Data & Analytics
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 3.1 P…
Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.
Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
CLI tool for configuring and monitoring Claude Code
// built by
2 of its contributors also build on official projects — claude-code, claude-cookbooks, claude-plugins-official, inspector
→ see how chat-js connects across the ecosystem