Skip to content

About

Free, open-source stream clipper: finds the best moments in Twitch/YouTube/Kick streams, clips live streams, renders ready-to-post Shorts and editable CapCut drafts. Runs on Colab.

Topics

Resources

Contributing

Stars

54 stars

Watchers

0 watching

Forks

Repository files navigation

StreamClipper

Paste a stream link. Get the best moments as ready-to-post Shorts and editable CapCut projects. Free.

Open in Colab License: AGPL-3.0 GitHub stars

Why StreamClipper

  • Finds the best clips, not the most clips. Each clip has a setup, a payoff and the reaction, with a hook in the first 2 seconds.
  • Clips live streams while they run. A clip is ready about 35 seconds after the moment.
  • Any length. 8-10 hour streams work. Progress is saved, so a crash or Colab disconnect resumes.
  • Ready to post. 1080x1920 MP4s with animated captions (15 styles), a hook headline and a thumbnail.
  • Editable. Every clip is also a CapCut Desktop project, with each layer on its own track.
  • Reframe editor. Split a clip into parts and choose what each part shows: its own layout, crop and keyframed pan, or Auto-reframe to follow the face.
  • Sees the game screen. GTA V's WASTED, BUSTED, mission screens and wanted stars count towards the score (--hud; GTA 6 profile experimental).
  • Submagic-style edits, all optional. Punch-in zoom, filler-word removal, speech cleanup and your own brand kit.
  • Auto-publish to YouTube Shorts and Instagram Reels with your own API credentials, or schedule a week (streamclipper publish).
  • MediaPipe face tracking follows the face and picks who is talking in podcasts and Auto-reframe.
  • Free, no watermark, no limits. Runs on free Google Colab or your own PC. No paid AI needed.

Works with Twitch, YouTube and Kick links, or a local video file. Made for gaming streams; podcasts are in beta.

Quick start

Option 1: Google Colab (no strong PC needed)

  1. Click Open in Colab above.
  2. Choose Runtime > Change runtime type > T4 GPU.
  3. Paste your stream link, then Runtime > Run all.

Your clips land in Google Drive under MyDrive/StreamClipper/.

Option 2: Windows PC

Needs Python 3.10+ and ffmpeg (winget install Gyan.FFmpeg).

git clone https://github.com/alokbaraii/streamclipper.git
cd streamclipper
python -m pip install -e ".[asr,gpu,vision]"
streamclipper doctor
streamclipper clip-stream --url "https://www.twitch.tv/videos/<id>" --out work --render

No NVIDIA GPU? Install with ".[asr,vision]" instead. It works on the CPU, just slower.

Open work\index.html to see your clips ranked by score.

Live clipping

streamclipper live --url https://www.twitch.tv/<channel> --out live_clips --render

Leave it running. Each good moment becomes a clip in live_clips\. Press Ctrl+C to stop.

Dashboard

Run streamclipper dashboard. It runs on your PC and opens in the browser: paste a link on Home, watch your projects, play clips, reframe them in the editor, re-style them, open them in CapCut and mark what you posted. Dashboard With --lan, Share makes view-only links that work for people on the same Wi-Fi/network. Details: docs/GUIDE.md.

Common options

You want Add
A different caption look --caption-style comic-burst (see all with streamclipper styles)
Square video --ratio 1:1
More or fewer clips --min-score 40 (more) or --max-clips 5 (cap)
Better titles with a free local AI --llm ollama
A podcast instead of gameplay --preset podcast-9x16
Set the webcam box yourself --cam-crop x,y,w,h

Caption styles

Open a clip in CapCut

Close CapCut, run clip-stream without --no-draft, then open CapCut. Your clips are at the top of the project list. From Colab, download capcut_drafts.zip and run streamclipper import-draft --zip capcut_drafts.zip.

Status

Mode Status
Gaming VODs Stable. Tested on real streams.
Live clipping New. Tested on a real Twitch stream. YouTube Live and Kick not tested yet.
Podcasts Beta.
Colab Tested on a real Colab T4: speech recognition at 58.8x realtime.

Docs

Legal

Only clip streams you have permission to clip, such as a streamer's official clipping program. CapCut effects are copied from your own CapCut install. Fonts are under the OFL or Apache licences; dashboard icons are from Lucide (ISC).

Code licence: AGPL-3.0. You can use, change and share it for free. If you run a changed version as an online service, you must share your source code too.

About

Free, open-source stream clipper: finds the best moments in Twitch/YouTube/Kick streams, clips live streams, renders ready-to-post Shorts and editable CapCut drafts. Runs on Colab.

Topics

Resources

Contributing

Stars

54 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages