Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
/ chatjs Public template
forked from FranciscoMoretti/chat.js

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

License

Notifications You must be signed in to change notification settings

JUSTADDMETA/chatjs

Open more actions menu
 
 

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 template. Start here and make it your own. Formerly Sparka AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.3%
  • MDX 11.7%
  • Other 1.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.