/** * rTube — rich landing page body. * Ported from rtube-online/app/page.tsx (Next.js/Tailwind). * Returned by landingPage() in the module export; * the shell wraps it with header, CSS, and analytics. */ export function renderLanding(): string { return `
Who needs YouTube, when you have (ou)rTube!
Self-hosted video recording, live streaming, and storage for your rSpace community. No corporate surveillance. No algorithmic feeds. Just your community's content.
Stream directly from OBS, browser, or any RTMP-compatible tool. Your content goes straight to your community's server — no third-party platforms involved.
Community members watch in real-time via HLS adaptive streaming. Low-latency delivery through your own nginx-rtmp server with automatic quality adaptation.
Completed streams are automatically converted to MP4 and archived to R2 cloud storage. Browse, search, and replay your community's entire video library anytime.
Your server, your data. No YouTube, no Twitch, no corporate middlemen.
Standard RTMP protocol — works with OBS, Streamlabs, FFmpeg, and more.
Cloudflare R2 for cost-effective, globally distributed video storage.
Adaptive bitrate streaming works on every device and browser.
Streams are automatically converted to MP4 and uploaded when they end.
Each rSpace community gets its own video library and streaming channel.
The libraries and tools that power rTube.
Cloudflare R2 object storage via the S3-compatible API. Fast, globally distributed, no egress fees.
Adaptive bitrate streaming library. Smooth playback with automatic quality switching in the browser.
Industry-standard video transcoding. Converts uploads into multi-bitrate HLS streams automatically.
Ultrafast web framework for the API layer. Lightweight, type-safe, and runs on any JavaScript runtime.
How rTube keeps your information safe.
All content encrypted before it leaves your device. Not even the server can read it.
The server processes your requests without ever seeing your data in the clear.
Run on your own infrastructure. Your server, your rules, your data.
Browse the community video library or start a live stream for your rSpace.