luna 17bd6622eb
ci / smoke (push) Successful in 55s
improve shx upload error handling
2026-06-04 22:10:55 +00:00
2026-06-04 22:10:55 +00:00
2026-06-04 22:10:55 +00:00
2026-06-04 20:36:02 +00:00
2026-06-04 20:36:02 +00:00
2026-06-04 20:36:02 +00:00
2026-06-04 20:36:02 +00:00
2026-06-04 22:10:55 +00:00
2026-06-04 22:10:55 +00:00

shx-helper

tiny helper repo for uploads to the SHX Zipline instance.

what it includes

  • bin/shx-upload - upload one or more files to Zipline
  • .gitea/workflows/ci.yml - basic CI for syntax + smoke tests
  • .gitea/workflows/release.yml - tag build artifact packaging
  • tests/smoke.sh - local smoke tests covering success, failures, and request formation with mocked network calls

requirements

  • bash
  • curl
  • jq for normal output mode

env

loaded from /root/.openclaw/.env by default:

  • SHX_URL=https://shx.reversed.dev
  • SHX_TOKEN=... ← required for uploads

optional fallback:

  • ZIPLINE_TOKEN=...

usage

/root/projects/shx-helper/bin/shx-upload ./file.gif
/root/projects/shx-helper/bin/shx-upload ./a.png ./b.mp4
/root/projects/shx-helper/bin/shx-upload --json ./file.gif
/root/projects/shx-helper/bin/shx-upload --help

local checks

make lint
make test

release flow

push a tag like v0.1.0 to trigger the release packaging workflow.

notes

S
Description
Zipline helper for AI Agents
Readme MIT 37 KiB
Languages
Shell 98.9%
Makefile 1.1%