Production-ready AI chat. Start here and make it your own. Formerly Sparka AI
Production-ready AI chat. Start here and make it your own. Formerly Sparka AI
Create a new ChatJS app:
npx @chat-js/cli@latest create my-appThe CLI walks you through gateway, features, and auth choices, generates chat.config.ts, and lists the env vars required by your selections.
apps/site: Landing page (chatjs.dev)apps/chat: Next.js chat app (demo.chatjs.dev)apps/docs: Blume docs (chatjs.dev/docs)packages/cli: interactive scaffold CLIbun dev: run chat appbun dev:info: print this worktree's assigned app URLsbun dev:docs: run docsbun lint: check repository-wide Oxlint rules and Oxfmt formatting, plus docs healthbun format: format the repository with Oxfmtbun lint:fix: apply safe Oxlint fixesbun test:types: type-check the workspacesUltracite supplies the Oxlint and Oxfmt presets. The oxlint-baseline.json files temporarily disable existing violations by file and rule; remove entries as the code is cleaned up. New files receive the full presets. Oxfmt skips build output and the five generated registration indexes whose exact content hashes are verified by chat-js sync.
Set CHATJS_DEV_SLOT in .env.worktree.local to reserve a stable range of ten ports per worktree. Within each range, chat uses offset 0, Electron uses 1, and the site uses 2, as configured in .worktree-env.json. The local file is ignored by Git and kept separate from Vercel-managed .env.local. Run bun dev:info instead of assuming a port.
Releases are driven by Changesets for the whole repository.
@chat-js/cli publish to npm.@chat-js/electron publish to GitHub Releases.Apache-2.0
No open issues yet, or sync has not completed.