chatgptnextweb/nextchat
✨ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android | Linux | Windows
How nextchat is put together
NextChat is a cross-platform LLM chat client built with Next.js 14 (App Router) and React 18 in TypeScript, deployable as a web app, static export, or a Tauri desktop app (Rust). It proxies requests to a large number of LLM providers (OpenAI, Anthropic, Google Gemini, Baidu, ByteDance, Alibaba, Tencent, Moonshot, Iflytek, DeepSeek, xAI, ChatGLM, SiliconFlow, Stability, 302.AI, Azure) through server-side API routes under app/api, keeping user data local in the browser via IndexedDB/localStorage (zustand persistence). It supports masks/prompt templates, plugins, MCP tooling, artifacts, TTS/realtime chat, and image generation. Data flows from React UI components → client API abstraction (app/client) → Next.js route handlers (app/api) that inject credentials and forward to upstream provider endpoints.
Languages
Frameworks
Datastores
Infrastructure
Major components
API route handlers (app/api)
Server-side Next.js route handlers that authenticate requests and proxy chat/image calls to each LLM provider.
Client API abstraction (app/client)
Unifies provider-specific request construction, streaming, and controllers behind a common client interface.
UI components (app/components)
React components for chat, sidebar, settings, masks, plugins, artifacts, exporter, MCP market, and SD image UI.
Configuration (app/config)
Resolves build, client, and server-side config including env-driven access control and provider keys.
Masks / prompt templates (app/masks)
Build-time and runtime system for prompt template masks used to seed chats.
Localization (app/locales)
i18n string tables for ~14+ languages loaded via locales/index.
Tauri desktop shell (src-tauri)
Rust-based Tauri app providing native desktop packaging, window state, updater, and native LLM fetch.
Constants & routing (app/constant.ts)
Central definitions of provider base URLs, API paths, store keys, and app route paths.
Merged a small documentation update changing the enterprise contact email address in the README.
This was a quiet, documentation-only week for NextChat. The single change updated the enterprise contact email in the project's README, reflecting a switch in the company's contact domain.
Docs
Updated enterprise contact email
Changed the business inquiry email in the README from business@nextchat.dev to business@nextchat.club.
Dependencies and code review
Dependency advisories
Security Watch
No known advisories across 1145 scanned dependencies.
No known advisories in the scanned dependencies.
Code review
37 files reviewed; 0 of 1 claimed findings confirmed after verification.
Get this report every week for your repos.
GitZoid learns each repo, reports what changed, and flags what needs attention. One flat price for the whole team.
$19 a month, flat · First 10 outputs free · No card required