Deploying Rapidbay
Introduction
Rapidbay is a self-hosted torrent streaming platform that allows you to stream video content from torrents directly in your browser. Instead of waiting for complete downloads, Rapidbay sequentially downloads and streams content, providing an instant playback experience.
Key features of Rapidbay include:
- Instant Streaming: Start watching immediately without full download
- Browser-Based: No additional software required for playback
- Search Integration: Built-in torrent search functionality
- Subtitle Support: Automatic subtitle fetching and display
- Chromecast Support: Cast to compatible devices
- Quality Selection: Choose video quality when available
- Lightweight: Minimal resource requirements
- Self-Hosted Privacy: Keep your viewing activity private
This guide walks through deploying Rapidbay on Klutch.sh using Docker and configuring the streaming service.
Prerequisites
Before deploying Rapidbay on Klutch.sh, ensure you have:
- A Klutch.sh account
- A GitHub account with a repository for your Rapidbay configuration
- Basic familiarity with Docker and torrent concepts
- Understanding of applicable laws regarding torrent usage in your jurisdiction
Deploying Rapidbay on Klutch.sh
- Select HTTP as the traffic type
- Set the internal port to 5000
Create Your Dockerfile
Create a Dockerfile in your repository:
FROM hauxir/rapidbay:latest
# Environment configurationENV ANTHROPIC_PORT=5000
# Expose the web interfaceEXPOSE 5000
# Volume for download cacheVOLUME /tmp/downloadsPush Your Repository to GitHub
Commit and push your Dockerfile to your GitHub repository.
Create a New Project on Klutch.sh
Navigate to the Klutch.sh dashboard and create a new project named “rapidbay”.
Create a New App
Create a new app within your project and connect your GitHub repository.
Configure HTTP Traffic
In the deployment settings:
Set Environment Variables
Configure the following environment variables:
| Variable | Value |
|---|---|
ANTHROPIC_PORT | 5000 |
Attach Persistent Volumes
Add persistent storage for download cache:
| Mount Path | Recommended Size | Purpose |
|---|---|---|
/tmp/downloads | 50 GB | Temporary download and streaming cache |
Deploy Your Application
Click Deploy to build and start your Rapidbay instance.
Access Rapidbay
Once deployment completes, access your Rapidbay instance at https://your-app-name.klutch.sh.
Using Rapidbay
Streaming Content
- Access the Rapidbay web interface
- Search for content or paste a magnet link
- Select the file to stream
- Content begins playing immediately
Subtitle Support
Rapidbay automatically fetches subtitles from OpenSubtitles when available:
- Click the subtitle icon during playback
- Select your preferred language
- Subtitles display automatically
Additional Resources
Conclusion
Deploying Rapidbay on Klutch.sh provides a self-hosted torrent streaming solution with automatic builds, persistent storage, and secure HTTPS access. Stream content instantly without waiting for complete downloads while maintaining privacy through self-hosting.