在 DSH 网页客户端里选中文字,选区末尾会出现一个翻译按钮,点击即就地翻译这段文字。翻译走宿主 llm 服务,直接复用当前会话已选的模型,无需另外配置 API Key;也可改用任意 OpenAI 兼容端点。结果在保持于视口内的浮层中展示,支持一键复制、一排语言按钮即时重译,默认智能中英互译(中文译英、其他语言译中)。配置保存在宿主端,其中的 API Key 永不下发到浏览器。
curl -fsSL https://www.dshhub.co/install.sh -o dshhub-install.sh && bash dshhub-install.shAlready have DSH? Skip the wizard and install the market directly:dsh plugin --profile web add dshhub-market
This plugin installs only from the plugin side.