Skip to content

Production-ready AI chat. Start here and make it your own. Formerly Sparka AI

License

Notifications You must be signed in to change notification settings

FranciscoMoretti/chat.js

Repository files navigation

ChatJS

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.

Documentation · Live Demo

DemosOnly


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

Stack

Monorepo Layout

  • apps/chat: Next.js chat app
  • apps/docs: Mintlify docs
  • packages/cli: interactive scaffold CLI

Development

  • bun dev:chat: run chat app
  • bun dev:docs: run docs
  • bun lint: run workspace lint
  • bun test:types: run chat app typecheck

Documentation

Visit chatjs.dev/docs to view docs.

License

Apache-2.0


Vercel OSS Program

About

Production-ready AI chat. Start here and make it your own. Formerly Sparka AI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages