能力标签
🛠
AI工具

NextChat AI技能包

基于 TypeScript · 开源免费,本地部署,数据完全自主可控
英文名:NextChat
⭐ 88.0k Stars 🍴 59.7k Forks 💻 TypeScript 📄 MIT 🏷 AI 8.5分
8.5AI 综合评分
跨平台开源AI助手ChatGPTClaude轻量级
✦ AI Skill Hub 推荐

AI Skill Hub 强烈推荐:NextChat AI技能包 是一款优质的AI工具。在 GitHub 上收获超过 88.0k 颗 Star,AI 综合评分 8.5 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。

📚 深度解析
NextChat AI技能包 是一款基于 TypeScript 的开源工具,在 GitHub 上收获 88k+ Star,是跨平台、开源、AI助手、ChatGPT领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
NextChat AI技能包 依赖 TypeScript 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 TypeScript 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 NextChat AI技能包 的版本更新,及时通知重要功能变化。
📋 工具概览

轻量级跨平台AI对话工具,支持ChatGPT、Claude等模型接入。提供Web、移动端、桌面端完整解决方案,界面简洁高效,适合需要多平台AI助手的开发者和普通用户。

NextChat AI技能包 是一款基于 TypeScript 开发的开源工具,专注于 跨平台、开源、AI助手 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 88.0k
开发语言
TypeScript
支持平台
Windows / macOS / Linux
维护状态
活跃维护,更新频繁
开源协议
MIT
AI 综合评分
8.5 分
工具类型
AI工具
Forks
59.7k
📖 中文文档
以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

轻量级跨平台AI对话工具,支持ChatGPT、Claude等模型接入。提供Web、移动端、桌面端完整解决方案,界面简洁高效,适合需要多平台AI助手的开发者和普通用户。

NextChat AI技能包 是一款基于 TypeScript 开发的开源工具,专注于 跨平台、开源、AI助手 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:npm 全局安装
npm install -g nextchat

# 方式二:npx 直接运行(无需安装)
npx nextchat --help

# 方式三:项目依赖安装
npm install nextchat

# 方式四:从源码运行
git clone https://github.com/ChatGPTNextWeb/NextChat
cd NextChat
npm install
npm start
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
nextchat --help

# 基本用法
nextchat [options] <input>

# Node.js 代码中使用
const nextchat = require('nextchat');

const result = await nextchat.run(options);
console.log(result);
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# nextchat 配置说明
# 查看配置选项
nextchat --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export NEXTCHAT_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 75/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

<a href='https://nextchat.club'> <img src="https://github.com/user-attachments/assets/83bdcc07-ae5e-4954-a53a-ac151ba6ccf3" width="1000" alt="icon"/> </a>

NextChat

English / 简体中文

<a href="https://trendshift.io/repositories/5973" target="_blank"><img src="https://trendshift.io/api/badge/repositories/5973" alt="ChatGPTNextWeb%2FChatGPT-Next-Web | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>

✨ Light and Fast AI Assistant,with Claude, DeepSeek, GPT4 & Gemini Pro support.

[![Saas][Saas-image]][saas-url] [![Web][Web-image]][web-url] [![Windows][Windows-image]][download-url] [![MacOS][MacOS-image]][download-url] [![Linux][Linux-image]][download-url]

NextChatAI / iOS APP / Web App Demo / Desktop App / Enterprise Edition

[saas-url]: https://nextchat.club?utm_source=readme [saas-image]: https://img.shields.io/badge/NextChat-Saas-green?logo=microsoftedge [web-url]: https://app.nextchat.club/ [download-url]: https://github.com/Yidadaa/ChatGPT-Next-Web/releases [Web-image]: https://img.shields.io/badge/Web-PWA-orange?logo=microsoftedge [Windows-image]: https://img.shields.io/badge/-Windows-blue?logo=windows [MacOS-image]: https://img.shields.io/badge/-MacOS-black?logo=apple [Linux-image]: https://img.shields.io/badge/-Linux-333?logo=ubuntu

<img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur" height="30"> <img src="https://vercel.com/button" alt="Deploy on Vercel" height="30"> <img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod" height="30"> <img src="https://oss.opendeploy.dev/static/deploy-with-your-agent.svg" alt="Deploy with your agent" height="30">

<img src="https://github.com/user-attachments/assets/903482d4-3e87-4134-9af1-f2588fa90659" height="50" width="" >

</div>

Features

  • Deploy for free with one-click on Vercel in under 1 minute
  • Compact client (~5MB) on Linux/Windows/MacOS, download it now
  • Fully compatible with self-deployed LLMs, recommended for use with RWKV-Runner or LocalAI
  • Privacy first, all data is stored locally in the browser
  • Markdown support: LaTex, mermaid, code highlight, etc.
  • Responsive design, dark mode and PWA
  • Fast first screen loading speed (~100kb), support streaming response
  • New in v2: create, share and debug your chat tools with prompt templates (mask)
  • Awesome prompts powered by awesome-chatgpt-prompts-zh and awesome-chatgpt-prompts
  • Automatically compresses chat history to support long conversations while also saving your tokens
  • I18n: English, 简体中文, 繁体中文, 日本語, Français, Español, Italiano, Türkçe, Deutsch, Tiếng Việt, Русский, Čeština, 한국어, Indonesia
![主界面](./docs/images/cover.png)

</div>

What's New

  • 🚀 v2.15.8 Now supports Realtime Chat #5672
  • 🚀 v2.15.4 The Application supports using Tauri fetch LLM API, MORE SECURITY! #5379
  • 🚀 v2.15.0 Now supports Plugins! Read this: NextChat-Awesome-Plugins
  • 🚀 v2.14.0 Now supports Artifacts & SD
  • 🚀 v2.10.1 support Google Gemini Pro model.
  • 🚀 v2.9.11 you can use azure endpoint now.
  • 🚀 v2.8 now we have a client that runs across all platforms!
  • 🚀 v2.7 let's share conversations as image, or share to ShareGPT!
  • 🚀 v2.0 is released, now you can create prompt templates, turn your ideas into reality! Read this: ChatGPT Prompt Engineering Tips: Zero, One and Few Shot Prompting.

Requirements

NodeJS >= 18, Docker >= 20

1. install nodejs and yarn first

Deployment

Screenshots

Settings

More

Environment Variables

`CODE` (optional)

Access password, separated by comma.

`BASE_URL` (optional)

Default: https://api.openai.com
Examples: http://your-openai-proxy.com

Override openai api request base url.

`OPENAI_ORG_ID` (optional)

Specify OpenAI organization ID.

`AZURE_URL` (optional)

Example: https://{azure-resource-url}/openai

Azure deploy url.

`AZURE_API_KEY` (optional)

Azure Api Key.

`AZURE_API_VERSION` (optional)

Azure Api Version, find it at Azure Documentation.

`GOOGLE_API_KEY` (optional)

Google Gemini Pro Api Key.

`GOOGLE_URL` (optional)

Google Gemini Pro Api Url.

`ANTHROPIC_API_KEY` (optional)

anthropic claude Api Key.

`ANTHROPIC_API_VERSION` (optional)

anthropic claude Api version.

`ANTHROPIC_URL` (optional)

anthropic claude Api Url.

`BAIDU_API_KEY` (optional)

Baidu Api Key.

`BAIDU_SECRET_KEY` (optional)

Baidu Secret Key.

`BAIDU_URL` (optional)

Baidu Api Url.

`BYTEDANCE_API_KEY` (optional)

ByteDance Api Key.

`BYTEDANCE_URL` (optional)

ByteDance Api Url.

`ALIBABA_API_KEY` (optional)

Alibaba Cloud Api Key.

`ALIBABA_URL` (optional)

Alibaba Cloud Api Url.

`IFLYTEK_URL` (Optional)

iflytek Api Url.

`IFLYTEK_API_KEY` (Optional)

iflytek Api Key.

`IFLYTEK_API_SECRET` (Optional)

iflytek Api Secret.

`CHATGLM_API_KEY` (optional)

ChatGLM Api Key.

`CHATGLM_URL` (optional)

ChatGLM Api Url.

`DEEPSEEK_API_KEY` (optional)

DeepSeek Api Key.

`DEEPSEEK_URL` (optional)

DeepSeek Api Url.

`HIDE_USER_API_KEY` (optional)

Default: Empty

If you do not want users to input their own API key, set this value to 1.

`DISABLE_GPT4` (optional)

Default: Empty

If you do not want users to use GPT-4, set this value to 1.

`ENABLE_BALANCE_QUERY` (optional)

Default: Empty

If you do want users to query balance, set this value to 1.

`CUSTOM_MODELS` (optional)

Default: Empty Example: +llama,+claude-2,-gpt-3.5-turbo,gpt-4-1106-preview=gpt-4-turbo means add llama, claude-2 to model list, and remove gpt-3.5-turbo from list, and display gpt-4-1106-preview as gpt-4-turbo.

To control custom models, use + to add a custom model, use - to hide a model, use name=displayName to customize model name, separated by comma.

User -all to disable all default models, +all to enable all default models.

For Azure: use modelName@Azure=deploymentName to customize model name and deployment name.

Example: +gpt-3.5-turbo@Azure=gpt35 will show option gpt35(Azure) in model list. If you only can use Azure model, -all,+gpt-3.5-turbo@Azure=gpt35 will gpt35(Azure) the only option in model list.

For ByteDance: use modelName@bytedance=deploymentName to customize model name and deployment name.

Example: +Doubao-lite-4k@bytedance=ep-xxxxx-xxx will show option Doubao-lite-4k(ByteDance) in model list.

`DEFAULT_MODEL` (optional)

Change default model

`VISION_MODELS` (optional)

Default: Empty Example: gpt-4-vision,claude-3-opus,my-custom-model means add vision capabilities to these models in addition to the default pattern matches (which detect models containing keywords like "vision", "claude-3", "gemini-1.5", etc).

Add additional models to have vision capabilities, beyond the default pattern matching. Multiple models should be separated by commas.

`WHITE_WEBDAV_ENDPOINTS` (optional)

You can use this option if you want to increase the number of webdav service addresses you are allowed to access, as required by the format:

- Each address must be a complete endpoint > https://xxxx/yyy - Multiple addresses are connected by ', '

`DEFAULT_INPUT_TEMPLATE` (optional)

Customize the default template used to initialize the User Input Preprocessing configuration item in Settings.

`STABILITY_API_KEY` (optional)

Stability API key.

`STABILITY_URL` (optional)

Customize Stability API url.

`ENABLE_MCP` (optional)

Enable MCP(Model Context Protocol)Feature

`SILICONFLOW_API_KEY` (optional)

SiliconFlow API Key.

`SILICONFLOW_URL` (optional)

SiliconFlow API URL.

`AI302_API_KEY` (optional)

302.AI API Key.

`AI302_URL` (optional)

302.AI API URL.

2. config local env vars in `.env.local`

❤️ Sponsor AI API

<a href='https://302.ai/'> <img src="https://github.com/user-attachments/assets/a03edf82-2031-4f23-bdb8-bfc0bfd168a4" width="100%" alt="icon"/> </a>

302.AI is a pay-as-you-go AI application platform that offers the most comprehensive AI APIs and online applications available.

`OPENAI_API_KEY` (required)

Your openai api key, join multiple api keys with comma.

🇨🇳 中文文档镜像 AI 翻译 2026-05-23
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介

NextChat 是一个基于 Web 的聊天应用,提供了实时聊天功能和自定义插件支持。它支持在 Vercel 上一键部署,适用于 Linux、Windows 和 MacOS 等操作系统。

⚡ 功能介绍

NextChat 的功能包括:一键部署在 Vercel 上,客户端体积小于 5MB,兼容自行部署的 LLM,推荐与 RWKV-Runner 或 LocalAI 一起使用,优先考虑隐私,所有数据都存储在本地。

📋 环境依赖

NextChat 需要 NodeJS 版本 18 或更高,Docker 版本 20 或更高。

🛠 安装步骤(Docker/pip/源码)

安装 NextChat 需要先安装 NodeJS 和 Yarn,之后可以使用 Docker 部署。Docker 部署方法如下:docker pull yidadaa/chatgpt-next-web,docker run -d -p 3000:3000 -e OPENAI_API_KEY=sk-xxxx -e CODE=your-password yidadaa/chatgpt-next-web

⚙️ 配置说明(含 MCP / env)

NextChat 的配置包括:CODE(可选,访问密码,逗号分隔),BASE_URL(可选,覆盖 OpenAI API 请求的 base URL),OPENAI_API_KEY(必填,OpenAI API 密钥,逗号分隔)

🔌 API 说明

NextChat 支持使用 302.AI 的 AI API,提供了最全面的 AI API 和在线应用。

❓ FAQ 摘要

NextChat 的 FAQ 可以在 ./docs/faq-en.md 中找到。

🎯 aiskill88 AI 点评 A 级 2026-05-22

高质��开源项目,8.8万Stars体现社区认可。跨平台支持完善,TypeScript实现保证代码质量,活跃维护确保可靠性。

📚 实用指南(长尾问题)
适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 跨境业务、多语言内容运营团队
最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
部署方案
  • Docker:NextChat 提供官方镜像,docker compose up 一键启动
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
NextChat 中文教程NextChat 安装报错怎么办NextChat MCP 配置NextChat Docker 部署NextChat Agent 工作流NextChat 与同类工具对比NextChat 最佳实践NextChat 适合谁用
⚡ 核心功能
👥 适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 跨境业务、多语言内容运营团队
⭐ 最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
👥 适合人群
AI 技术爱好者研究人员和学生开发者和工程师技术创业者
🎯 使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
⚖️ 优点与不足
✅ 优点
  • +GitHub 88.0k Star,社区高度认可
  • +MIT 协议,可免费商用
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
  • +开发者社区支持,遇问题可查可问
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐
📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合
❓ 常见问题 FAQ
主要支持ChatGPT、Claude,可通过API配置扩展其他模型。
💡 AI Skill Hub 点评

总体来看,NextChat AI技能包 是一款质量优秀的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

📚 深入学习 NextChat AI技能包
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 NextChat
原始描述 开源AI工具:✨ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android | Linux | W。⭐88.0k · TypeScript
Topics 跨平台开源AI助手ChatGPTClaude轻量级
GitHub https://github.com/ChatGPTNextWeb/NextChat
License MIT
语言 TypeScript
🔗 原始来源
🐙 GitHub 仓库  https://github.com/ChatGPTNextWeb/NextChat 🌐 官方网站  https://nextchat.club

收录时间:2026-05-14 · 更新时间:2026-05-16 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。