/** * 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 `
rTube

Community Video Hosting, Storage & Streaming

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.

Browse Videos Start Streaming

How It Works

Record

Stream directly from OBS, browser, or any RTMP-compatible tool. Your content goes straight to your community's server — no third-party platforms involved.

Stream Live

Community members watch in real-time via HLS adaptive streaming. Low-latency delivery through your own nginx-rtmp server with automatic quality adaptation.

Archive & Store

Completed streams are automatically converted to MP4 and archived to R2 cloud storage. Browse, search, and replay your community's entire video library anytime.

Built for Communities

Self-Hosted

Your server, your data. No YouTube, no Twitch, no corporate middlemen.

RTMP Ingest

Standard RTMP protocol — works with OBS, Streamlabs, FFmpeg, and more.

R2 Cloud Storage

Cloudflare R2 for cost-effective, globally distributed video storage.

HLS Playback

Adaptive bitrate streaming works on every device and browser.

Auto-Archive

Streams are automatically converted to MP4 and uploaded when they end.

Community-Scoped

Each rSpace community gets its own video library and streaming channel.

Built on Open Source

The libraries and tools that power rTube.

AWS S3 SDK

Cloudflare R2 object storage via the S3-compatible API. Fast, globally distributed, no egress fees.

📺

HLS.js

Adaptive bitrate streaming library. Smooth playback with automatic quality switching in the browser.

🎦

FFmpeg

Industry-standard video transcoding. Converts uploads into multi-bitrate HLS streams automatically.

🔥

Hono

Ultrafast web framework for the API layer. Lightweight, type-safe, and runs on any JavaScript runtime.

Your Data, Protected

How rTube keeps your information safe.

🔒

End-to-End Encryption

Coming Soon

All content encrypted before it leaves your device. Not even the server can read it.

🕵

Zero-Knowledge Architecture

Coming Soon

The server processes your requests without ever seeing your data in the clear.

🏠

Self-Hosted

Run on your own infrastructure. Your server, your rules, your data.

Ready to take back your video?

Browse the community video library or start a live stream for your rSpace.

← Back to rSpace
`; }