jerryjiao/dsh-wewrite 预览 preview

jerryjiao/dsh-wewrite

一个 DeepSeek Harness(DSH) 插件:把一整套微信公众号 AI 写作管线(选题 → 大纲 → 成稿 → 质量门禁 → 排版渲染 → 配图 → 草稿箱)产品化。任何 DSH 用户一条命令安装,在本地 Web UI 里完成从选题到草稿箱的全流程。模型与凭据全部走你自己的账号,数据只落本地。

catalog descriptioncatalog 简介 / catalog description:微信公众号 AI 写作插件,跑在 DeepSeek Harness 里:一条命令装上完整写作管线(选题→写作→质量门禁→排版→配图→草稿箱),定时默认只进草稿箱,群发永远人工。MIT 开源。

Project Overview项目介绍

dsh-wewrite is a native plugin built exclusively for DeepSeek Harness (DSH), that packages a complete end-to-end AI writing workflow for WeChat Official Accounts. The full pipeline covers everything from topic selection, outline generation, draft writing, quality checking, typesetting, image matching, all the way to pushing the finished draft directly to your WeChat Official Account draft box. Users can install the plugin with a single DSH CLI command, and all credentials and writing data stay on your local machine, no data is sent to third-party servers. The plugin reuses your existing DSH model configuration for text generation, so you don’t need to set up a separate LLM connection.

There are multiple convenient entry points to access the plugin’s features. You can invoke the full writing pipeline directly from the DSH chat dialog by typing a natural language prompt, open the full-screen workbench as an overlay from the DSH sidebar without entering any session, or access it via a dedicated tab inside an existing DSH session. It supports selecting topics from the built-in Hacker News hot list, or starting a new article with a custom fixed topic. Other useful features include AI-generated one-paragraph summaries of hot list entries and AI-powered rewriting of selected paragraphs in the editor.

To run dsh-wewrite, you need Node.js version 22.19.0 or newer, and a compatible DSH v0.1.x developer preview build. After installation, you only need to add your WeChat Official Account AppID and AppSecret in the plugin’s settings page, and optionally add an API key for your preferred image provider. The project is open source under the MIT license, and pre-built artifacts are committed directly to the repository, so you don’t need to run any build step after installation. This makes setup faster and avoids the need for extra build configuration on the user’s end.

dsh-wewrite 是专为 DeepSeek Harness(DSH)开发的原生插件,提供从选题、大纲生成到成稿、质量校验、排版配图再到推送草稿箱的完整微信公众号 AI 写作全流程。用户可通过 DSH 命令行一键安装,所有数据和凭据都仅存储在用户本地设备,文本生成直接复用用户已配置好的 DSH 原生模型。

它提供多种入口,既可以在 DSH 对话框中直接唤起写作管线,也可以侧边栏一键打开全屏写作台,还能在会话内通过专用标签页访问。支持从内置 Hacker News 热榜选题,或直接按自定义固定主题写作,具备热榜条目 AI 速览、编辑器内选中段落 AI 改写等实用功能,满足写作全流程需求。

使用该插件需要 Node.js 22.19.0 或更高版本,以及兼容版本的 DSH 开发者预览版。安装完成后,仅需配置微信公众号的 AppID 和 AppSecret,可额外选配图片供应商 API 密钥即可开始写作。项目基于 MIT 许可开源,仓库已提交预构建产物,安装后无需额外构建即可直接使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

npx @deepseek-ai/dsh plugin --profile web add github:jerryjiao/dsh-wewrite#v0.2.0

把 jerryjiao/dsh-wewrite 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-wewrite logo

dsh-wewrite

CI Website

一个 DeepSeek Harness(DSH) 插件:把一整套微信公众号 AI 写作管线(选题 → 大纲 → 成稿 → 质量门禁 → 排版渲染 → 配图 → 草稿箱)产品化。任何 DSH 用户一条命令安装,在本地 Web UI 里完成从选题到草稿箱的全流程。模型与凭据全部走你自己的账号,数据只落本地。

5 分钟快速开始

前提:Node ^22.19.0 || >=24.0.0,已能运行 npx @deepseek-ai/dsh。

第 1 步:安装插件

npx @deepseek-ai/dsh plugin --profile web add github:jerryjiao/dsh-wewrite#v0.2.0

安装完成后如需卸载:npx @deepseek-ai/dsh plugin --profile web remove dsh-wewrite。

关于产物形态:仓库直接提交了 lib/ 预构建产物(dist-committed),这是有意决策——DSH 从 git 安装插件不会执行 build 脚本,预构建路径让你不必在 pnpm 侧加任何 allowBuilds 信任声明,装完即用。

第 2 步:启动 DSH Web

npx @deepseek-ai/dsh web

打开 http://127.0.0.1:3080 ,会话视图环里会出现「wewrite 工作台」tab。

第 3 步:配置凭据

模型不需要在本插件里配:文本生成直接用 DSH 原生的模型配置(ctx.llm)。你只需要在工作台「设置」页填:

  • 公众号 AppID + AppSecret(来自公众平台「设置与开发 → 基本配置」),保存后只存本地,界面回显掩码
  • 图片供应商 API Key(可选,不配则文章无图推进,不阻塞发布)

填完点「连接测试」。通过即可进入下一步;如返回 errcode 40164,见 FAQ 的 IP 白名单条目。

第 4 步:出第一篇

「选题」面板选一条热榜(内置 Hacker News,可配自定义聚合源),点开条目先看一眼 AI 速览(抓原文后的中文要点总结,抓不到则给标题解读),合适就点「写这个」,或直接输入固定主题。管线自动执行六步(选题 → 大纲 → 成稿 → 门禁 → 渲染 → 配图),进度实时可见。完成后在编辑器里改稿——选中任意一段点「AI 改写」下一句指令即可局部重写(Ctrl+Z 可撤销),右侧微信预览与最终推送产物字节一致。确认后点「推草稿箱」,到微信公众平台后台「内容与互动 → 图文素材」里查看草稿。群发请你在公众平台后台人工执行(本插件 v0.1 没有任何群发调用路径,见安全声明)。

一步步用起来

以下截图来自 v0.5.x 真机运行(本机 DSH Web 实拍),按使用动线排列。

对话框直写(推荐入口,v0.4.0 起)

装好后在 DSH 对话框里直接说「用 wewrite 写一篇……」——agent 会驱动写作管线,六步进度(选题 → 大纲 → 成稿 → 门禁 → 渲染 → 配图)以卡片形式实时出现在对话流里;管线跑完出成稿卡(标题/字数/门禁结论),门禁未过会给出可行动的失败引导。对 agent 说「推草稿箱」时,宿主原生审批面板先弹出(含文章标题与门禁状态)——你点允许之前,插件零微信 API 调用(fail-closed:审批不可用即拒绝执行)。另有 /wewrite <主题> 命令与 @ 引用已有文章两个轻入口。

对话直写:写作管线运行卡实时出现在对话时间线,显示六步进度

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev aitoubiaoling-bid-review 下一个 Next dsh-ledger-compact →