clipwright/cli
juancarlos.cavero 0bfe27561d Merge PR #70 (manual per-scene reframing) onto current main
Conflicts were the parallel override parameters: render_clip /
process_video_to_vertical / reframe_v2.render / perform_recut now carry
BOTH force_strategy (whole-clip framing, main) and crop_overrides
(per-scene manual framing, PR #70). The v1-fallback safety net now also
raises for force_strategy, which had the same silent-revert hole the PR
fixed for crop_overrides.
2026-08-19 12:01:02 +02:00
..
openshorts.egg-info Merge PR #70 (manual per-scene reframing) onto current main 2026-08-19 12:01:02 +02:00
openshorts_cli.py feat(agents): zero-dependency CLI and agent skill over the same API 2026-08-05 14:52:44 +02:00
pyproject.toml feat(agents): zero-dependency CLI and agent skill over the same API 2026-08-05 14:52:44 +02:00
README.md feat(agents): zero-dependency CLI and agent skill over the same API 2026-08-05 14:52:44 +02:00

OpenShorts CLI

Clip long videos into vertical 9:16 shorts from the terminal. Zero dependencies; talks to the same API the dashboard, the MCP server and the webhooks use.

pip install openshorts        # or: uvx openshorts / pipx run openshorts

export OPENSHORTS_API_KEY=osk_...   # from your account page at openshorts.app

openshorts process "https://youtube.com/watch?v=..." --wait
openshorts clips <job_id>
openshorts publish <job_id> 0 --platforms tiktok,youtube
openshorts quota

Self-hosted instance? Point it at your own machine and skip the key:

export OPENSHORTS_API_URL=http://localhost:8000
openshorts process "https://youtube.com/watch?v=..." --wait

For pipelines, prefer the webhook to --wait: pass --webhook and --webhook-secret and OpenShorts POSTs once (HMAC-signed, X-OpenShorts-Signature: sha256=<hex>) when the job ends, with clip titles and durable download links.

The hosted free tier is 20 minutes/month with a watermark; paid plans from $12/month. The self-hosted edition is MIT and has no meter. Agent-native version of the same surface: openshorts.app/mcp.