yang0/chatgpt2api-dsh
AI EngineeringRuns a local ChatGPT account pool and exposes an OpenAI-compatible API for desktop AI clients and image generation.
ChatGPT2API · DSH Account Pool Plugin
This is a plugin for DSH (DeepSeek) that runs a local ChatGPT account pool on your own computer and exposes an OpenAI-compatible endpoint. Other DSH plugins and local clients such as Cherry Studio can call it directly, and it also supports image generation and image editing with reference images. A Python runtime is bundled, so no Docker, manual Python installation or separate chatgpt2api deployment is needed README lines 1–8.
Quick Start
- Send the repository address to DSH and ask it to install the plugin:
帮我安装这个插件:https://github.com/yang0/chatgpt2api-dsh. Restart DSH afterwards; a ChatGPT2API entry appears in the left plugin bar. - Open the plugin for the first time. It downloads the Python runtime (several hundred MB, internet required). Wait until the header shows “号池运行中”.
- Open 号池管理 (account pool management). Import a single account by pasting an
access_tokenand clicking “导入并检测”, or batch import lines in the form邮箱----密码----2FA密钥and click “导入并授权入池”. A TXT file can also be selected README lines 19–30. - Open API 接入 (API access), generate a user API key, and fill the Base URL
http://127.0.0.1:38650/v1and the key into your client README lines 31–39. Supported endpoints includemodels,chat/completions,responses,images/generationsandimages/edits. - For images, open 图片生成 and enter a prompt; up to four reference images can be uploaded for editing. Results are saved locally by date README lines 40–45.
Constraints
- Only import accounts you are authorized to use, and follow the upstream platform’s rules. The plugin does not sell or share accounts.
- Accounts, keys and logs stay on the machine under
%USERPROFILE%\.dsh\chatgpt2api-native\on Windows or~/.dsh/chatgpt2api-native/on macOS/Linux. Back up this directory before upgrading or reinstalling README lines 55–68. - The management page has no separate password and relies on the logged-in DSH session for authentication.
- The underlying chatgpt2api relies on reverse-engineering website APIs and may stop working when the upstream service changes README lines 69–74.
HotRepo's Take
The repository was created on 2026-11-04 and recorded 111 Stars and 21 forks in the new-project snapshot for 2026-11-05 (JavaScript list), with the growth window starting on the creation day. That single dated record only establishes early attention, not sustained adoption. The plugin’s value depends on the account pool and on upstream API behavior, so the reverse-engineering dependency is the main risk to watch.
Written by AI from the project's README, updated . The project's own docs are the source of truth.