diff --git a/CHANGELOG.md b/CHANGELOG.md index c0887ba..e248e54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to **dsh-remote**. +## Unreleased +- New 1280×640 hero/cover image as the first README image, rendered from + `docs/cover.html` (headless Chrome at 2×, see `docs/promote.md`): title + + tagline + feature chips next to the real workspace picker in a window frame. + ## 0.8.17 — 2026-09-16 ### 文档:README 截图改用仓库内相对路径(PR #33) diff --git a/README.md b/README.md index 06cbef2..82264a9 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![license](https://img.shields.io/github/license/flymysql/dsh-remote)](LICENSE) [![dsh-plugin](https://img.shields.io/badge/topic-dsh--plugin-7a3ef3)](https://github.com/topics/dsh-plugin) -![dsh-remote workspace picker](docs/cover.png) +![dsh-remote — make any SSH machine a real DSH workspace](docs/cover.png) **Remote-work assistant for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (DSH).** diff --git a/README.zh.md b/README.zh.md index 9cc34db..eb0ea56 100644 --- a/README.zh.md +++ b/README.zh.md @@ -28,7 +28,7 @@ Desktop 安装器还可能要求明确配置 `ssh2` / `cpu-features` 可选构 [![license](https://img.shields.io/github/license/flymysql/dsh-remote)](LICENSE) [![dsh-plugin](https://img.shields.io/badge/topic-dsh--plugin-7a)](https://github.com/topics/dsh-plugin) -![dsh-remote 工作区选择](docs/cover.png) +![dsh-remote —— 把任意 SSH 机器变成真正的 DSH 工作区](docs/cover.png) **为 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(DSH)打造的远程工作助手。** diff --git a/docs/cover.html b/docs/cover.html new file mode 100644 index 0000000..ce76a51 --- /dev/null +++ b/docs/cover.html @@ -0,0 +1,272 @@ + + + + + + + + +
+
+ +
+
DeepSeek Harness plugin
+ +

dsh-remote

+ +

+ Make any SSH machine a real DSH workspace —
+ the agent lists, edits, builds and syncs right there. +

+ +
+ Multi-machine SSH + Remote workspace picker + Conflict-aware SFTP sync + Port forwarding + 21 rw_* tools +
+ +
+ github.com/flymysql/dsh-remote + · + MIT +
+
+ +
+
+
+ + root@203.0.113.10 · 选择工作目录 +
+
dsh-remote workspace picker
+
+
+ +
+ + rw_exec("cargo build --release") + · + exit 0 +
+
+ + diff --git a/docs/cover.png b/docs/cover.png index 6b41ca5..336f0d4 100644 Binary files a/docs/cover.png and b/docs/cover.png differ diff --git a/docs/promote.md b/docs/promote.md index a3f9245..62716d7 100644 --- a/docs/promote.md +++ b/docs/promote.md @@ -41,8 +41,22 @@ and are referenced from the default README with a **relative path**, e.g. previews never showed a cover next to plugins that use `docs/foo.png`. `docs/cover.png` is 1280×640 (GitHub's recommended social size, under 1 MB). -To also use it when the repo URL is shared on Slack/X, upload the same file -manually (no public API): **Settings → General → Social preview → Upload**. +It is rendered from `docs/cover.html`, which frames the real picker screenshot, +so edit the HTML and re-render rather than retouching the PNG: + +```bash +google-chrome --headless=new --disable-gpu --hide-scrollbars \ + --force-device-scale-factor=2 --window-size=1280,640 \ + --screenshot=/tmp/cover@2x.png "file://$PWD/docs/cover.html" +python3 -c "from PIL import Image; \ +Image.open('/tmp/cover@2x.png').convert('RGB') \ + .resize((1280,640), Image.LANCZOS).save('docs/cover.png', optimize=True)" +``` + +(rendering at 2× and downscaling keeps the type crisp). + +To also use the cover when the repo URL is shared on Slack/X, upload the same +file manually (no public API): **Settings → General → Social preview → Upload**. ---