# FranciscoMoretti/chat-js

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

Repository: https://github.com/FranciscoMoretti/chat-js
Canonical: https://ross.abutalabs.com/products/chat-js
Homepage: https://chatjs.dev
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: ai, anthropic, chat, chatbot, chatgpt, gemini, grok, llm, multiprovider, openai, xai, claude, gemini-ai
Last push: 2026-09-02T09:39:31+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 91, longevity 37
- inputs: {"age_days": 529, "days_push": 0, "days_rel": 61, "gap_med": 0.0, "n_releases_24m": 23}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1192, forks 117 (observed 2026-09-03T02:15:05.922038+00:00)

## What it is
ChatJS is an open-source, production-ready AI chat application built with Next.js and TypeScript, offering authentication, 120+ models via multi-provider gateways, streaming, and built-in tools like web search, image generation, and code execution. It is scaffolded via a CLI and can be deployed as a web app or packaged as a native desktop app with Electron.

## Use cases
- build a custom ai chatbot app
- self-host a chatgpt alternative
- create an ai chat app with multiple llm providers
- add streaming ai chat with auth to my product
- fork a production-ready chat ui instead of building from scratch
- package an ai chat app as a desktop application
- compare responses from claude gpt and gemini side by side

## When to choose
- you want to launch an AI chat product quickly without rebuilding auth, streaming, and persistence
- you need multi-provider model access (OpenAI, Anthropic, Google, xAI) through one interface
- you want built-in features like conversation branching, sharing, attachments, and MCP support
- you prefer a modern type-safe Next.js stack you can customize

## When to avoid
- you need a simple embeddable chat widget rather than a full application
- you are not comfortable with the Next.js/TypeScript/PostgreSQL/Redis stack
- you require fully managed hosting with no self-hosting or deployment work
- your use case is a non-chat LLM task like batch processing or fine-tuning

## Facets
- artifact type: application
- maturity: active
- function: chatbot, chat-interface, auth, llm-inference, rag, web-framework, agent-framework, mcp
- domain: artificial-intelligence, large-language-models, chatbots, web-development, self-hosted
- platform: self-hosted, cross-platform
- tags: ai-chat, nextjs, boilerplate, multi-provider, streaming, electron, vercel-ai-sdk, openrouter, nodejs, web-server, docker, desktop

## Member repositories
- FranciscoMoretti/chat-js (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:05.922038+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:22:27.161142+00:00, confidence not recorded.
  - readme: https://github.com/FranciscoMoretti/chat-js (fetched 2026-09-03T02:15:05.922038+00:00, sha e2de4e1bf50e)
  - homepage: https://chatjs.dev (fetched 2026-08-29T12:29:45.174075+00:00, sha 165978d2c8ae)
  - site_page: https://chatjs.dev/docs (fetched 2026-08-29T12:29:45.183215+00:00, sha 9dda0562a7d4)
  - site_page: https://chatjs.dev/docs/quickstart (fetched 2026-08-29T12:29:45.185125+00:00, sha 793e7a4ba4b7)
  - site_page: https://chatjs.dev/docs/platforms/desktop (fetched 2026-08-29T12:29:45.189217+00:00, sha e97d91e68a49)
  - site_page: https://demo.chatjs.dev (fetched 2026-08-29T12:29:45.187297+00:00, sha 4e2be9db0d68)
- Data as of 2026-08-30T08:39:29.467469+00:00.
