返回目录
模型与 MCP 插件

dsh-fast-gpt

xqcherry/dsh-fast-gpt

A DeepSeek Harness Web plugin that opens ChatGPT in a separate popup window from the composer toolbar.一个 DeepSeek Harness Web 插件:在输入框工具栏加入 OpenAI 图标,一键在独立窗口中打开 ChatGPT

Stars
0
Forks
0
Issues
0
更新
9 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:xqcherry/dsh-fast-gpt

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

Fast GPT

English · 中文

A DeepSeek Harness Web plugin that adds an OpenAI-logo button to the composer toolbar. Clicking it opens ChatGPT in a separate popup window.

Features

  • Sits in the composer toolbar beside the model picker — no extra row.
  • Opens a centered 1080×840 popup; later clicks focus that window when the browser allows it.
  • Shows an inline notice when the popup is blocked.
  • Follows the DSH light/dark theme and ships English and Chinese copy.

Requirements

  • DSH Web with the Conversation UI (tested with 0.2.2-rc.1)
  • Node.js >= 20 and pnpm (build only)

Install from source

git clone https://github.com/xqcherry/dsh-fast-gpt.git
cd fast-gpt
pnpm install
pnpm build
dsh plugin --profile web add link:$PWD

You can also install this directory from DSH Plugin Manager.

Usage

Open a session. The OpenAI mark appears in the composer toolbar, left of the model picker. Click it to open ChatGPT in a separate window.

Configuration

Edit the constants at the top of src/client.ts:

  • CHATGPT_URL — default https://chatgpt.com/
  • POPUP_WIDTH / POPUP_HEIGHT — default 1080 / 840, clamped to the screen
  • WINDOW_NAME — popup window name used for reuse

Rebuild and reload the plugin after changing them.

Development

pnpm install
pnpm typecheck
pnpm build

lib/ is generated by TypeScript and is not committed.

Notes

  • Allow popups for the DSH origin, otherwise clicking shows a blocked notice.
  • chatgpt.com sends Cross-Origin-Opener-Policy: same-origin-allow-popups; the browser may isolate the popup, in which case a later click opens a new window instead of focusing the old one.
  • This plugin is not affiliated with OpenAI.

Trademark

The bundled mark comes from Simple Icons v13 (CC0 1.0). “OpenAI”, “ChatGPT”, and the OpenAI logo are trademarks of OpenAI. The MIT license covers the source code, not the mark.

License

MIT © xqcherry

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: openai、deepseek-harness。