← 开源
Niek

chatgpt-web

ChatGPT web interface using the OpenAI API

ApplicationsWrappersSvelte
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
2.00k
Star
460
Fork
+0
本周
23
贡献者
创建于 2023-03-02 · 更新于 2026-10-09 · 今日第 9113 名
主要开发者
NiekWebifibetschki

Niek/chatgpt-web 排名第 9,113,有 2,003 个星标。

同类别比较

Niek/chatgpt-web 排名第 9,113,此处有 8 个同类条目;bigemon/ChatGPT-ToolBox 排名第 9,118。

同类别比较
名称排名指标
virattt/ai-financial-agent9,075
语言:
TypeScript
星标数:
2,032
分叉数:
408
简介:
A financial agent for investment research
pkhungurn/talking-head-anime-demo9,077
语言:
Python
星标数:
2,030
分叉数:
281
简介:
Demo for the "Talking Head Anime from a Single Image."
jiupinjia/SkyAR9,080
语言:
Python
星标数:
2,028
分叉数:
242
简介:
Official Pytorch implementation of the preprint paper "Castle in the Sky: Dynamic Sky Replacement and Harmonization in Videos", in arXiv:2010.11800.
minimaxir/person-blocker9,106
语言:
Python
星标数:
2,009
分叉数:
208
简介:
Automatically "block" people in images (like Black Mirror) using a pretrained neural network.
bigemon/ChatGPT-ToolBox9,118
语言:
JavaScript
星标数:
2,000
分叉数:
151
简介:
由ChatGPT自己编写的ChatGPT工具箱。 当前功能: 1. 绕过高负载禁止登录 2.关闭数据监管 3.链路维持(减少网络错误) 4.API混合接入 5.会话导入导出 6.聊天记录下载 7.解锁GPT4-Mobile
sonnylazuardi/chat-ai-desktop9,119
语言:
Rust
星标数:
2,000
分叉数:
182
简介:
Unofficial ChatGPT desktop app for Mac & Windows menubar using Tauri & Rust
win4r/AISuperDomain9,121
语言:
C#
星标数:
1,999
分叉数:
323
简介:
Aila(AI超元域): The premier AI integration tool for Windows, macOS, and Android. Ask once, get answers from 10+ AIs like ChatGPT, Gemini, Claude3, Copilot, Poe, perplexity and more. Features customizable AI and prompts.
nhaouari/obsidian-textgenerator-plugin9,136
语言:
TypeScript
星标数:
1,991
分叉数:
179
简介:
Text Generator is a versatile plugin for Obsidian that allows you to generate text content using various AI providers, including OpenAI, Anthropic, Google and local models.
关键参数与规格
关键参数与规格
参数值
语言Svelte
类别Applications
子类别Wrappers
星标数2,003
分叉数460
贡献者23
创建日期2023-03-02
更新日期2026-10-09
1 天星标数0
7 天星标数0
排名9,113
上次排名9,156
排名变化43
7 天星标排名12,181
上次 7 天星标排名9,567
7 天星标排名变化-2,614
总星标排名6,337
上次总星标排名6,331
总星标排名变化-6
国家Netherlands
README 摘录

ChatGPT-web **URL**: ChatGPT-web is a simple one-page web interface for OpenAI-compatible chat APIs. Select a provider, enter its API key, and the app discovers its available models. Chats are stored in your browser's local storage; prompts are sent directly to the selected provider. Features **Open source**: ChatGPT-web is open source (GPL-3. 0), so you can host it yourself and make changes as you want. **Private**: All chats and messages are stored in your browser's

local storage, so everything is private. **Customizable**: You can customize the prompt, the temperature, and other model settings. Multiple models (including GPT-4) are supported. **Bring your own provider**: Use a supported API directly and pay only for that provider's usage. **Fast**: ChatGPT-web is a single-page web app, so it's fast and responsive. **Mobile-friendly**: ChatGPT-web is mobile-friendly, so you can use it on your phone. **Voice input**: ChatGPT-web supports voice input, so you can

talk to ChatGPT. **Pre-selected prompts**: ChatGPT-web comes with a list of pre-selected prompts, so you can get started quickly. **Export**: ChatGPT-web can export chats as a Markdown file, so you can share them with others. **Code**: ChatGPT-web recognizes and highlights code blocks and allows you to copy them with one click. **Desktop app**: ChatGPT-web can be bundled as a desktop app, so you can use it outside of the browser. **Image generation**: Generate images

through OpenAI, xAI, Google Gemini, OpenRouter, or a compatible custom endpoint by prompting "show me an image of . **Streaming**: ChatGPT-web can stream the response from the API, so you can see the response as it's being generated. Supported providers The setup screen has presets for: OpenAI Anthropic xAI Google Gemini Mistral AI APIpie OpenRouter OrcaRouter Any custom OpenAI-compatible API Anthropic's compatibility layer is intended primarily for testing and comparison. Some OpenAI request fields are ignored or translated; see

Anthropic's compatibility documentation for the current limitations. Image generation is available for providers with a compatible image endpoint. ChatGPT-web automatically uses the provider default, such as for OpenAI, for xAI, or for Google Gemini. The chat setting can override that default; providers without a known default require an explicit model ID. Development and Building Here’s how to participate in development and prepare your build for production: Setting Up and Running the Development Server To install dependencies and start

the development server: Preparing the Production Build To compile the project for production, ensuring optimal performance: This command generates a folder containing the production build of your project, ready for deployment. Updating pre-selected prompts The *prompts. chat* data provides the pre-selected prompts shown in the chat interface. The bundled list contains the 100 most-upvoted text prompts from the public prompts. To refresh the bundled snapshot, run: The updater validates the response before atomically replacing , so an API

or network failure leaves the existing snapshot intact. Using Docker Compose for Local Deployment Deploying the application and its mocked

常见问题

记录了多少星标和分叉?

Niek/chatgpt-web 有 2,003 个星标和 460 个分叉。

仓库排名是多少?

Niek/chatgpt-web 排名第 9,113。

记录的语言和类别是什么?

Niek/chatgpt-web 有 2,003 个星标,语言为 Svelte,类别为 Applications。

哪个仓库排名最接近?

Niek/chatgpt-web 与 bigemon/ChatGPT-ToolBox 比较,后者排名第 9,118,有 2,000 个星标。

README

ChatGPT-web

URL:

ChatGPT-web is a simple one-page web interface for OpenAI-compatible chat APIs. Select a provider, enter its API key, and the app discovers its available models. Chats are stored in your browser's local storage; prompts are sent directly to the selected provider.

Features

  • Open source: ChatGPT-web is open source (GPL-3.0), so you can host it yourself and make changes as you want.
  • Private: All chats and messages are stored in your browser's local storage, so everything is private.
  • Customizable: You can customize the prompt, the temperature, and other model settings. Multiple models (including GPT-4) are supported.
  • Bring your own provider: Use a supported API directly and pay only for that provider's usage.
  • Fast: ChatGPT-web is a single-page web app, so it's fast and responsive.
  • Mobile-friendly: ChatGPT-web is mobile-friendly, so you can use it on your phone.
  • Voice input: ChatGPT-web supports voice input, so you can talk to ChatGPT. It will also talk back to you.
  • Pre-selected prompts: ChatGPT-web comes with a list of pre-selected prompts, so you can get started quickly.
  • Export: ChatGPT-web can export chats as a Markdown file, so you can share them with others.
  • Code: ChatGPT-web recognizes and highlights code blocks and allows you to copy them with one click.
  • Desktop app: ChatGPT-web can be bundled as a desktop app, so you can use it outside of the browser.
  • Image generation: Generate images through OpenAI, xAI, Google Gemini, OpenRouter, or a compatible custom endpoint by prompting "show me an image of ...".
  • Streaming: ChatGPT-web can stream the response from the API, so you can see the response as it's being generated.

Supported providers

The setup screen has presets for:

Anthropic's compatibility layer is intended primarily for testing and comparison. Some OpenAI request fields are ignored or translated; see Anthropic's compatibility documentation for the current limitations.

Image generation is available for providers with a compatible image endpoint. ChatGPT-web automatically uses the provider default, such as gpt-image-2 for OpenAI, grok-imagine-image-quality for xAI, or gemini-2.5-flash-image for Google Gemini. The chat setting can override that default; providers without a known default require an explicit model ID.

Development and Building

Here’s how to participate in development and prepare your build for production:

Setting Up and Running the Development Server

To install dependencies and start the development server:

npm ci
npm run dev

Preparing the Production Build

To compile the project for production, ensuring optimal performance:

npm run build

This command generates a dist folder containing the production build of your project, ready for deployment.

Updating pre-selected prompts

The prompts.chat data provides the pre-selected prompts shown in the chat interface. The bundled list contains the 100 most-upvoted text prompts from the public prompts.chat API.

To refresh the bundled snapshot, run:

npm run update-prompts

The updater validates the response before atomically replacing src/awesome-chatgpt-prompts/prompts.csv, so an API or network failure leaves the existing snapshot intact.

Using Docker Compose for Local Deployment

Deploying the application and its mocked API locally is streamlined using Docker Compose. By executing the following command, you initialize both services effortlessly:

docker compose up -d

Accessing the Local Web Service

Upon successfully running the Docker Compose command, the local version of the web service becomes accessible. You can interact with it by visiting:

Mocked API Usage

For instances where immediate API responses are preferred, consider utilizing the mocked API. Follow the steps below to configure and customize your mocked API responses:

  • Configuration:

    • Open the .env file located at the project's root.
    • Assign the key VITE_PROVIDER=custom.
    • Assign the key VITE_API_BASE=http://localhost:5174 to redirect requests to the mocked API.
    • Assign any non-empty value to VITE_API_KEY.
    • Execute docker compose up -d mocked_api to start the mocked API service.
    • To test image generation, set the chat's Image Generation Model to mock-image and prompt "show me an image of ...".
    • To test safe inline SVG rendering, prompt mock svg without enabling image generation.
  • Customizing Responses:

    • To introduce a delay in the API response, use d followed by the desired number of seconds (e.g., d2 for a 2-second delay).
    • To specify the length of the response, use l followed by the desired number of sentences (e.g., l10 for a response of 10 sentences).
    • For instance, sending d2 l10 configures the mocked API to delay the response by 2 seconds and to include 10 sentences.

Desktop app

To use ChatGPT-web as a desktop application:

  • Installation: First, ensure Rust is installed on your computer.

  • Development Version:

    • Run npm run tauri dev to start the desktop app in development mode.
  • Production Version:

    • Use npm run tauri build to compile the production version of the app.
  • Location of the Built Application:

    • The built application will be available in the src-tauri/target folder.

Contributors


Michael Tanzer

🤔 💻


Peter

🤔


Dan Brown

🤔 💻


littlemoonstones

💻 🤔


maxrye1996

🐛


Mikemansour

🤔


abc91199

🤔


fuegovic

🤔


Sixzeroo

💻


terryoy

🤔 💻


Yang Lyu

🐛


ryanhex53

💻 🎨


Emil Elgaard

🤔 🎨 💻


felixschwamm

💻 🤔


Webifi

💻 🤔


Daniel Dengler

💻


Ashkan

💻


antopoid

📖


MitchBoss

💻


Ikko Eltociear Ashimine

📖


Jackson Stewart

🐛


Niel Thiart

💻


Maksim Misin

💻


romain.wg

📖


Morgan

💻


Udon

🎨


Ryan526

💻


Clemens123

💻

排名相邻
同类项目