Skip to content

A CLI tool to stream any web page in background (visual + audio) to any RTMP-compatible platform.

Notifications You must be signed in to change notification settings

cezou/PageStreamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PageStreamer

Overview

PageStreamer is a tool that automates streaming web pages to YouTube and other platforms. It sets up a headless browser environment that captures any web page and streams it to your streaming platform on a scheduled basis.

Quick Installation

bash -c "$(curl -fsSL https://raw.githubusercontent.com/cezou/PageStreamer/master/install.sh)"

Example

You can use PageStreamer to stream website pages like RouletteTV History page to a YouTube channel such as FortunaCasinoTV.

Features

  • Simple Controls: Start, stop, and check status with one command : pagestreamer
  • Multiple Platforms: Support for YouTube, Twitch, Facebook, Instagram, TikTok and more
  • Scheduled Streaming: Set up automatic streaming times using crontab

How It Works

PageStreamer uses a headless Chromium browser powered by Puppeteer to render web pages without displaying them on screen. The process works as follows:

  1. A virtual display (Xvfb) is created to run the browser in a headless environment
  2. Puppeteer launches Chromium and navigates to your specified web page
  3. FFmpeg captures the virtual display and audio output
  4. The captured content is encoded and streamed to your selected platform

This approach is ideal for:

  • Remote servers (AWS, OCI, etc.) without a physical display
  • Windows Subsystem for Linux (WSL) environments
  • Dedicated streaming machines running Linux

Usage

Command Line Interface

pagestreamer    start     # Start streaming the configured web page
                stop      # Stop the current stream
                status    # Check if streaming is active
                --config  # Configure stream settings (platform, key, URL)
                --schedule # Set up automatic streaming schedule

System Requirements

  • Linux-based system (Ubuntu/Debian recommended)
  • Internet connection
  • Account on a streaming platform with streaming enabled
  • Stream key from your platform

Code Standards

This project follows the Squid Norm coding standards.

Author

Cezou

About

A CLI tool to stream any web page in background (visual + audio) to any RTMP-compatible platform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published