theoperatorlogs/operator-clipper
Self-hosted stream clipping with local detection, Claude judging and short-form publishing
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Operator Clipper is a self-hosted Python application that separates candidate detection from editorial judgment. Streamlink ingests live streams into a rolling on-disk recording. Detection combines chat activity where available with audio and visual signals; MediaPipe runs audio and facial analysis locally. Candidate windows go to Claude through either the user's Claude Code login or the Anthropic API. Claude judges whether a moment is worth keeping, selects its boundaries and drafts metadata. FFmpeg renders the result for a browser-based review queue and optional publishing.
The clipper/ package contains the watcher, detector, judge, cutter, review UI and posting code. Runtime state, including the database, recordings and clips, lives under data/; downloaded MediaPipe models live under models/. The dependency manifest includes the Anthropic SDK, Google API and OAuth packages, and keyring. Editorial customization lives in niches/: packs supply examples, themes, title keywords and hashtags without requiring changes to the clipping pipeline.
Key Capabilities & Differentiators
Live monitoring supports Twitch, YouTube and Kick with chat signals; other Streamlink-supported live sources use audio-only detection. A separate past-stream workflow scans YouTube videos, Twitch VODs and Kick videos. Detection can use chat spikes, loudness, laughter, screams, cheers, facial expressions, motion and speech pace. Claude scores candidates on nine dimensions from hook and clarity to payoff and rewatchability. These scores help prioritize review; they do not predict audience performance. Clips below the configured minimum score are marked rejected but retained on disk.
FFmpeg produces 1080×1920 clips with multiple layouts and burned-in captions. Optional whisper.cpp transcription supports transcript captions and podcast mode. The local review UI offers grid and swipe views, title editing, rejection and posting to connected YouTube Shorts and Instagram Reels accounts. New accounts default to manual posting; auto mode can apply daily caps, spacing, quiet hours and a minimum score per account. Text watermarks are added at publish time without modifying the master. A daily YouTube Data API research pass refreshes an editable playbook used by the judge.
Trade-offs & Limitations
Compared with a manual editing workflow, the biggest gain is triage: the app narrows long recordings to a review queue instead of asking an editor to find every moment. The cost is less direct control over initial selections and cut points. Compared with a managed clipping service, local operation keeps recordings and credentials on hardware you control, but leaves you responsible for machine uptime, dependencies and platform account setup. It is not an offline AI pipeline: candidate material sent to Claude can include frame images and transcripts. If judging fails, a heuristic range and templated text keep the clip available for review.
Recording, local analysis and FFmpeg rendering compete for CPU and disk; test a representative stream before raising concurrency or retention. Claude Code usage shares plan limits, API-key usage is billed per use, and YouTube uploads and trend research consume API quota. Google OAuth clients left in Testing can require reauthorization after seven days; Instagram publishing depends on account type, permissions and token validity. GPL-3.0 governs the software, not reuse of the source footage. Keep publication in manual mode until both clip quality and publishing permissions are confirmed.
Hardware & Deployment Guide
The supported setup targets macOS 13+ on Apple silicon or Intel and Windows 10/11 on x64; Linux is best effort. Python 3.13 and FFmpeg are required. install.sh on macOS and install.bat/install.ps1 on Windows can provision missing prerequisites, create .venv, install Python dependencies, fetch two MediaPipe models and create config.toml from config.example.toml. Run python -m clipper doctor inside the virtual environment to check setup. python -m clipper start runs the watcher and review page together, opening the UI at http://127.0.0.1:8765.
YouTube publishing requires a Google Cloud Desktop OAuth client; Instagram publishing requires a Meta app and a professional Instagram account. Secrets use the OS credential store where available, with a restricted fallback under data/secrets. Claude access requires a Claude Code login or an Anthropic API key. No Docker manifest or tagged release is available in the supplied repository snapshot; plan around a workstation install and pin the source revision if you need repeatable deployments.
Creators and small production teams that own or have permission to use the footage and want a repeatable pipeline from long streams to reviewed Shorts and Reels on their own accounts.
You need fully offline AI judging, managed operations, or dependable hands-off publishing without first validating clip quality, account permissions and platform rules.
Quick Start & Installation
clipper/ the application code (watching, detection, AI judge, cutter, review page, posting) niches/ built-in niche packs: gaming, gta6, irl, podcast, events, custom assets/ fonts, sound effects and music folders (see assets/sfx/README.md) docs/ setup guides, niches, watermarks, FAQ, commands config.example.toml copied to config.toml by the installer install.sh macOS installer install.bat Windows installer launcher (runs install.ps1) install.ps1 Windows installer start.command macOS start script (double-click) start.bat Windows start script (double-click) data/ created at run time: database, recordings, clips, your settings (git ignored) models/ the two MediaPipe models, downloaded by the installer (git ignored)
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| operator-clipper ★ | 83 | +83 | Python | GPL-3.0 | Self-hosted stream clipping with local detection, Claude judging and short-form |
| OpenMontage | 85.4k | +1.5k | Python | AGPL-3.0 | Agent-led video production from brief to finished edit |
| autoclip | 21.7k | +4k | Python | MIT | Local-first AI turns long videos into captioned clips via desktop, CLI, and MCP. |
| hyperframes | 95.5k | +4.4k | TypeScript | Apache-2.0 | HTML timelines for editable video projects and frame-by-frame rendering |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/theoperatorlogs/operator-clipper.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about operator-clipper
How do live monitoring and past-stream processing fit into the local workflow?
python -m clipper start to launch the watcher and local review page together. Use python -m clipper vod with a supported recording URL for a past stream. Candidate detection and rendering run locally; Claude judging and connected publishing accounts rely on external services.What hardware should I provision for continuous clipping?
Can a commercial team self-host it and monetize the resulting clips?
When is this a better fit than a manual editor or a managed clipping service?
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