Skip to content

Repository files navigation

StreamClipper

StreamClipper is a modern web-based tool built with Next.js that allows you to easily download and edit Twitch clips directly within your browser. By leveraging ffmpeg.wasm, all video processing is done client-side, ensuring privacy, speed, and no dependency on heavy backend rendering servers.

Features

  • Direct Twitch Clip Downloading: Integrates seamlessly with Twitch to fetch high-quality clip source files.
  • In-Browser Video Editing: Powered by @ffmpeg/ffmpeg for fast, local processing entirely in the browser.
  • Precise Video Trimming: Set precise start and end times to perfectly cut your clips with a synchronized looping preview.
  • Audio Controls: Adjust audio volume, mute, or tweak audio playback directly in the editor.
  • Privacy First: The heavy lifting happens locally in your browser. No video content is uploaded to any external server to be processed.
  • Modern UI: Clean and intuitive interface optimized for ease of use.

Tech Stack

Getting Started

Prerequisites

Ensure you have Node.js installed on your machine.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/streamclipper.git
    cd streamclipper
  2. Install the dependencies:

    npm install
    # or yarn install / pnpm install
  3. Run the development server:

    npm run dev
  4. Open http://localhost:3000 with your browser to access the streamclipper editor.

❓ How It Works

  1. Proxy Route (/api/proxy): The application uses a Next.js serverless function to securely query the Twitch GQL API, bypassing CORS and fetching the direct .mp4 video URLs of Twitch clips.
  2. VideoEditor Component: The fetched video is loaded into an interactive user interface where users can define clip regions, tweak volume, and preview their edits.
  3. FFmpeg Compilation: The application constructs precise arguments based on your edits and feeds them into the ffmpeg.wasm module, outputting a finished, trimmed video ready for immediate download.

📝 License

This project is open-source and available under the MIT License.

About

Easy web tool that turns twitch 16:9 twitch clips to tiktok ready 9:16 clips.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages