Skip to main content

ats-mini-screenshot

Capture the ATS Mini display for UI inspection, theme work, or manual screenshots using shell commands.

跳到安装

来源信息

仓库
esp32-si4732/ats-mini
最近来源活动
2026年9月12日 07:50
检测到的 SKILL.md 语言
英语
星标
623
分支
166

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
ats-mini-screenshot
description
Capture the ATS Mini display for UI inspection, theme work, or manual screenshots using shell commands.
Read `docs/source/remote.md` for connection setup and screen navigation. Prefer USB unless another transport is requested. On macOS, find the device with `print -rl -- /dev/cu.*(N)` in zsh. Use shell commands only; no helper scripts. For a plain screenshot request, capture the current display without changing settings. For documentation screenshots, `T` toggles theme editor mode, which keeps additional indicators visible. See `docs/source/development.md`; toggle it off after capture if you enabled it. Capture over USB (`C` returns a hex-encoded BMP), using the actual device path: ```sh set -o pipefail capture_dir=$(mktemp -d /tmp/ats-mini-capture.XXXXXX) printf '%s\n' "$capture_dir" printf C | socat -t 30 -T 10 - /dev/cu.usbmodem14401,echo=0,raw,ispeed=115200,ospeed=115200 | xxd -r -p > "$capture_dir/screenshot.bmp" && convert "$capture_dir/screenshot.bmp" "$capture_dir/screenshot.png" && ect -9 -strip "$capture_dir/screenshot.png" ``` For TCP, replace the USB address and its options with `TCP4:atsmini.local:60000,connect-timeout=5`. The pipeline is normally silent; wait for completion before retrying. Check command results and inspect the PNG at native resolution. If capture is incomplete or mixed with console output, retry on a quiet connection before replacing any image. For manual updates, inspect `docs/source/manual.md` and its existing screenshots. Replace only the requested images in `docs/source/_static/`, preserving filenames. Restore settings changed for capture and report the saved paths.
在 GitHub 查看