{"id":45609447,"url":"https://github.com/FranciscoMoretti/chat-js","last_synced_at":"2026-03-08T22:00:54.643Z","repository":{"id":283880514,"uuid":"953142807","full_name":"FranciscoMoretti/chat-js","owner":"FranciscoMoretti","description":"Production-ready AI chat. Start here and make it your own. Formerly Sparka AI","archived":false,"fork":false,"pushed_at":"2026-03-01T21:47:28.000Z","size":78438,"stargazers_count":1138,"open_issues_count":6,"forks_count":108,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-03-02T01:31:56.978Z","etag":null,"topics":["ai","anthropic","chat","chatbot","chatgpt","claude","gemini","gemini-ai","grok","llm","multiprovider","openai","xai"],"latest_commit_sha":null,"homepage":"https://chatjs.dev/docs","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FranciscoMoretti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-22T17:04:17.000Z","updated_at":"2026-03-01T21:46:50.000Z","dependencies_parsed_at":"2025-04-17T17:56:50.252Z","dependency_job_id":"de8d52b6-9230-4c7e-aa32-6920fe15b378","html_url":"https://github.com/FranciscoMoretti/chat-js","commit_stats":null,"previous_names":["franciscomoretti/ai-chat","franciscomoretti/parlagen","franciscomoretti/sparka","franciscomoretti/chat.js","franciscomoretti/chat-js"],"tags_count":3,"template":false,"template_full_name":"vercel/chatbot","purl":"pkg:github/FranciscoMoretti/chat-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranciscoMoretti%2Fchat-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranciscoMoretti%2Fchat-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranciscoMoretti%2Fchat-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranciscoMoretti%2Fchat-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FranciscoMoretti","download_url":"https://codeload.github.com/FranciscoMoretti/chat-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranciscoMoretti%2Fchat-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30274876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","anthropic","chat","chatbot","chatgpt","claude","gemini","gemini-ai","grok","llm","multiprovider","openai","xai"],"created_at":"2026-02-23T17:00:33.712Z","updated_at":"2026-03-08T22:00:54.631Z","avatar_url":"https://github.com/FranciscoMoretti.png","language":"TypeScript","funding_links":[],"categories":["Chatbots"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"apps/chat/app/icon.svg\" alt=\"ChatJS\" width=\"64\" height=\"64\"\u003e\n\n# ChatJS\n\nStop 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.\n\n[**Documentation**](https://chatjs.dev/docs) · [**Live Demo**](https://chatjs.dev)\n\n![DemosOnly](https://github.com/user-attachments/assets/f12e89dd-c10c-4e06-9b1a-a9fbd809d234)\n\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n## CLI\n\nCreate a new ChatJS app:\n\n```bash\nnpx @chat-js/cli@latest create my-app\n```\n\nThe CLI walks you through gateway, features, and auth choices, generates `chat.config.ts`, and lists the env vars required by your selections.\n\n## Features\n\n- **120+ Models**: Claude, GPT, Gemini, Grok via one API\n- **Auth**: GitHub, Google, anonymous. Ready to go.\n- **Attachments**: Images, PDFs, docs. Drag and drop.\n- **Resumable Streams**: Continue generation after page refresh\n- **Branching**: Fork conversations, explore alternatives\n- **Sharing**: Share conversations with public links\n- **Web Search**: Real-time web search integration\n- **Image Generation**: AI-powered image creation\n- **Code Execution**: Run code snippets in sandbox\n- **MCP**: Model Context Protocol support\n\n## Stack\n\n- [Next.js](https://nextjs.org) - App Router, React Server Components\n- [TypeScript](https://www.typescriptlang.org) - Full type safety\n- [AI SDK](https://ai-sdk.dev/) - The AI Toolkit for TypeScript\n- [AI Gateway](https://vercel.com/ai-gateway) - Unified access to 120+ AI models\n- [Better Auth](https://www.better-auth.com) - Authentication \u0026 authorization\n- [Drizzle ORM](https://orm.drizzle.team) - Type-safe database queries\n- [PostgreSQL](https://www.postgresql.org) - Primary database\n- [Redis](https://redis.io) - Caching \u0026 resumable streams\n- [Vercel Blob](https://vercel.com/storage/blob) - Blob storage\n- [Shadcn/UI](https://ui.shadcn.com) - Beautiful, accessible components\n- [Tailwind CSS](https://tailwindcss.com) - Styling\n- [tRPC](https://trpc.io) - End-to-end type-safe APIs\n- [Zod](https://zod.dev) - Schema validation\n- [Zustand](https://docs.pmnd.rs/zustand) - State management\n- [Motion](https://motion.dev) - Animations\n- [t3-env](https://env.t3.gg) - Environment variables\n- [Pino](https://getpino.io) - Structured Logging\n- [Langfuse](https://langfuse.com) - LLM observability \u0026 analytics\n- [Vercel Analytics](https://vercel.com/analytics) - Web analytics\n- [Biome](https://biomejs.dev) - Code linting and formatting\n- [Ultracite](https://ultracite.ai) - Biome preset for humans and AI\n- [Streamdown](https://streamdown.ai/) - Markdown for AI streaming\n- [AI Elements](https://ai-sdk.dev/elements/overview) - AI-native Components\n- [AI SDK Tools](https://ai-sdk-tools.dev/) - Developer tools for AI SDK\n\n## Monorepo Layout\n\n- `apps/chat`: Next.js chat app\n- `apps/docs`: Mintlify docs\n- `packages/cli`: interactive scaffold CLI\n\n## Development\n\n- `bun dev:chat`: run chat app\n- `bun dev:docs`: run docs\n- `bun lint`: run workspace lint\n- `bun test:types`: run chat app typecheck\n\n## Documentation\n\nVisit [chatjs.dev/docs](https://chatjs.dev/docs) to view docs.\n\n## License\n\nApache-2.0\n\n\u003cbr /\u003e\n\u003ca href=\"https://vercel.com/oss\"\u003e\n  \u003cimg alt=\"Vercel OSS Program\" src=\"https://vercel.com/oss/program-badge.svg\" /\u003e\n\u003c/a\u003e\n\u003cbr /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFranciscoMoretti%2Fchat-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFranciscoMoretti%2Fchat-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFranciscoMoretti%2Fchat-js/lists"}