Gitruck/cli
Agent-driven video editing CLI that turns cloud processing into editable local timelines
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Gitruck separates workflow orchestration from media execution. Skills in Codex, Claude Code, Cursor or another compatible agent organize the steps; the TypeScript package @gitruck/cli exposes gtrk as the local executable. The CLI coordinates Tonghe Cloud analysis and processing, brings outputs back and assembles a local .gtrk timeline. The Windows client is for preview and manual refinement, not a second chat interface.
The package targets Node.js 20.6 or newer and lists two runtime dependencies, hash-wasm and jszip; FFmpeg is a separate media prerequisite. The repository separates src/, contracts/ and skills/, with plugin directories for Claude Code, Codex and Cursor. A separate integration brings AI Drama Desk return-v1 segments and their manifest onto an independent video track aligned to beat intervals. For an existing Desk project, the CLI can connect using an API address and project ID without scanning the Desk repository.
Key Capabilities & Differentiators
The strongest workflow is script-guided rough cutting: gtrk oralcut "./talk.mp4" --script "./script.txt" turns talking-head footage into a project for further editing. Long-to-short workflows retain original speech in selected highlights, while narrated workflows can pair a new voiceover with selected footage. The pipeline can also lay candidate visuals from a local media library or platform assets onto the timeline, add captions and motion graphics, or run individual operations such as transcription and vocal separation.
The .gtrk project carries separate picture, audio, caption and motion-graphics layers, and gtrk render provides an MP4 path. For an already refined timeline, use gtrk project export --project with the project path rather than rerunning oralcut. Export supports 剪映 projects, Premiere XML, FCPXML and OTIO, with motion-graphics elements pre-rendered for those handoffs. Selecting only gtrk keeps the native beat_track and skips that pre-rendering.
Trade-offs & Limitations
Compared with starting directly in 剪映 or Premiere, gtrk is most useful upstream: it automates repetitive first-pass editing while delivering a timeline an editor can continue to work on. It does not replace a full nonlinear editor for interactive finishing. Rough-cut handoffs and exports from fully packaged projects have different compatibility limits, and pre-rendered motion graphics should not be treated as editable native effects in the destination editor.
Local projects do not imply local-only processing. Talking-head rough cuts and long-to-short project workflows keep source video local and upload extracted audio by default; visual assistance or smart split-screen sends a compressed video proxy, and some cloud tools may require a video upload. The MIT license applies to the CLI code, not cloud usage. Project initialization costs zero credits, but structured project export is charged per export, with additional per-minute charges for motion-graphics elements that miss the shared cache.
Hardware & Deployment Guide
On Windows, macOS or Linux, run npx @gitruck/cli@latest install with Node.js ≥20.6. For conversational use, the agent must support Skills and be able to execute local commands. The installer configures the CLI and Skills and prompts for a Tonghe Cloud API key; cloud operations require an account and available credits. Restart the agent session after installation. Check FFmpeg with gtrk deps status, run gtrk deps install explicitly if needed, and use gtrk doctor to diagnose setup problems.
The desktop client is Windows-only; non-Windows deployments should plan around CLI rendering or a supported editor handoff. Treat this as a local client for a hosted processing pipeline, not as an offline or self-hosted replacement for the cloud backend. If a cloud job already has an ID, recover its result before submitting a replacement. There is no listed GitHub release milestone; use the npm installation path and record the package version tested in your workflow.
gtrk CLI runs them and can also be called from scripts..gtrk timelines retain picture, audio, captions and motion graphics for further editing.gtrk ai-drama lay.Creators and production teams that repeatedly turn talking-head footage, interviews or scripts into first-pass timelines and want to keep a human editor in control of the finish.
Media must remain entirely offline, you need a cross-platform visual editor, or delivery depends on editable native effects surviving the handoff.
Quick Start & Installation
npx @gitruck/cli@latest installComparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| cli ★ | 977 | +1 | TypeScript | MIT | Agent-driven video editing CLI that turns cloud processing into editable local t |
| hyperframes | 95.5k | +4.4k | TypeScript | Apache-2.0 | HTML timelines for editable video projects and frame-by-frame rendering |
| openfilm | 10.3k | +617 | TypeScript | MIT | An HTML-based video editor that lets coding agents and people edit the same film |
| OpenMontage | 85.4k | +1.5k | Python | AGPL-3.0 | Agent-led video production from brief to finished edit |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Gitruck/cli.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about cli
How do Codex, Claude Code or Cursor connect to the editing workflow?
gtrk executable. The CLI coordinates cloud tasks and writes a local .gtrk project that can be opened in the Windows client or rendered with gtrk render. Plugin and Skills-only installs do not install the executable or configure the cloud API key.Do I need a GPU, and what determines local resource usage?
Can a business adopt the MIT CLI and keep processing on its own infrastructure?
When is gtrk preferable to starting in 剪映 or Premiere?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy