Klipshow

Interactive viewer-driven clip reactions for streamers

Klipshow is a tool for Twitch streamers that lets viewers pay to trigger approved short clips from YouTube, TikTok, and other platforms.

Streamers have full control over what clips are allowed, when they play, and how much they cost to trigger. Viewers interact in real time using a queue system with approved clips.

This project shows how we built a creator-friendly revenue tool using Rails, JavaScript, and background jobs — with real payment processing and stream-safe logic.

Episodes

Building KlipShow Episode 1: Rails 8 + Docker + Twitch OAuth Setup

In this first episode, we build the complete authentication foundation for KlipShow — a Twitch platform where viewers pay to trigger social media clips on stream. Includes full Twitch OAuth, JWT session management, Vite + React + Tailwind setup, and backend tests.

Building KlipShow Episode 2: Dashboard Architecture + Clips System + Database Design

In this power-packed episode, we build the core dashboard infrastructure and complete clips management system for ClipShow — where Twitch viewers pay real money to display social media clips on live streams!

Tech Stack

  • Ruby on Rails 8.0.2
  • Docker with HMR
  • React + Vite Ruby
  • Tailwind CSS
  • Turbo for SPA-like experience
  • PostgreSQL with advanced associations
  • Cuprite for system testing
  • React-Toastify for notifications

Key Highlights

  • Multiple strategic pivots: SCSS → Tailwind, localStorage → cookies
  • Advanced Rails associations between clips and streamers
  • Real-time feedback system with React toast integration
  • Professional database design for monetized clip system
  • Docker development environment optimization
  • Comprehensive testing strategy for payment-integrated features

Building KlipShow Episode 3: TikTok API Integration + Public Clip Library + Hybrid Architecture

In this marathon episode, we achieve a major milestone - building the complete public clip library system for ClipShow where Twitch viewers pay real money to display social media clips on live streams!

Tech Stack

  • Ruby on Rails 8.0.2
  • TikTok iframe API
  • React with advanced state management
  • PostgreSQL with optimized associations
  • CSRF token security
  • Turbo with React hybrid approach
  • RSpec for comprehensive testing
  • Custom Ajax wrapper service

Key Highlights

  • TikTok iframe API replaces complex OAuth - smart architectural decision!
  • Public library vs private collection dual-system architecture
  • Real-time clip validation through iframe loading events
  • Professional security with CSRF tokens on all requests
  • Seamless user experience - add clips without page refreshes
  • Production-ready error handling and validation patterns
  • Advanced Rails nested attributes for complex form submissions

Building KlipShow Episode 4: Real-Time WebSocket Alerts + OBS Integration + AnyCable Architecture

This episode gets us to a working MVP — streamers can now receive real-time clip alerts in OBS when viewers interact with their stream! Features include AnyCable replacing ActionCable for massive WebSocket scaling, secure token-based authentication without traditional login flows, live OBS integration demo, HTTP broadcast method for Redis deprecation-proofing, professional error handling, real-time testing for streamers, and production-ready encryption for sensitive alert tokens.

Tech Stack

  • Ruby on Rails 8.0.2
  • AnyCable for WebSocket scaling
  • ActionCable with HTTP broadcast
  • React with WebSocket integration
  • TikTok iframe API with post-message
  • PostgreSQL
  • Docker Compose multi-service setup
  • RSpec + Capybara + Cuprite
  • Tailwind CSS

Key Highlights

  • AnyCable replaces ActionCable for massive WebSocket scaling potential!
  • Secure token-based authentication without traditional login flows
  • Live OBS integration demo - clips actually playing on stream!
  • HTTP broadcast method future-proofs against Redis deprecation
  • Smart time-boxing decisions - knowing when to move forward
  • Professional error handling across WebSocket connections
  • Real-time testing functionality for streamers to preview alerts
  • Production-ready encryption for sensitive alert tokens
  • This episode gets us to a working MVP - streamers can now receive real-time clip alerts in OBS when viewers interact with their stream!

Timestamps