aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-02 20:53:32 +0200
committerDanilo M. <danix@danix.xyz>2026-10-02 20:53:32 +0200
commit5c5d338938e286a5a24048186d79e36b192fbe56 (patch)
tree0a073791809f650bc7a5f14b5048e5e3e6e86d12 /AGENTS.md
parent0687e489e0e2b273f8c3c466ad77cb2066bc168f (diff)
downloadak820-upload-master.tar.gz
ak820-upload-master.zip
Add --gif option to write a preview GIFHEADmaster
Runs the same crop/scale/fps/frame-cap ffmpeg chain to a GIF file instead of uploading, so the result can be previewed or shared. Replaces the separate video2ak820 script. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/AGENTS.md b/AGENTS.md
index d5f5081..ef1fed7 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -7,7 +7,9 @@ Guidance for AI coding agents working in this repository.
`ak820-upload`: single-file Rust CLI (`src/main.rs`, std only, no crates)
that writes an animation to the AJAZZ AK820 Pro screen over Linux hidraw.
ffmpeg (subprocess) decodes any input to raw RGB565LE frames; the program
-builds the payload and drives the upload. `README.md` documents the protocol.
+builds the payload and drives the upload. `--gif out.gif` runs the same
+ffmpeg crop/scale/fps chain to a GIF file instead (preview/share, no device).
+`README.md` documents the protocol.
On the maintainer's machine the release binary is linked into PATH, so a
`cargo build --release` is live immediately:
@@ -46,4 +48,3 @@ replug it before retrying.
## Repo facts
- License: GPL-2.0-only (`LICENSE`, SPDX header in `src/main.rs`).
-- Companion repo: `video2ak820` (bash, video to GIF).