A beautiful, feature-rich web interface for Seedr.cc cloud torrent service. Built with Flask and a stunning cyberpunk-inspired UI with dual access modes for public sharing and private management.
CloudTorrent provides a modern, intuitive web interface to interact with your Seedr.cc cloud storage. It features two distinct operational modes:
- π Public Mode - Share your Seedr files with anyone via a web interface (read-only access with torrent adding)
- π Owner Mode - Full administrative control with authentication for managing your account
- Beautiful UI: Cyberpunk-inspired design with Aurora animations and responsive layout
- Dual Access Modes: Public file sharing + secure owner management
- Real-time Updates: Live download progress tracking with auto-refresh
- Video Streaming: Built-in video player for supported formats
- Smart Storage Alerts: Automatic warnings when storage is running low
- Zero Configuration: Auto-saves token on owner login for instant public access
- π File Browser - Navigate through shared Seedr folders
- β¬οΈ Direct Downloads - Get direct download links for any file
- π¬ Video Streaming - Stream MP4, WebM, and other supported formats in-browser
- π§² Add Torrents - Add magnet links or torrent URLs (if enabled)
- π Storage Monitor - Real-time storage usage visualization
- β±οΈ Download Progress - Live tracking of active torrent downloads
- π¨ Beautiful UI - Aurora-animated background with modern cyberpunk aesthetics
- π± Responsive Design - Optimized for desktop, tablet, and mobile devices
- π Secure Login - Authenticate with Seedr email/password
- πΎ Auto Token Save - Automatically saves access token to
config.json - ποΈ File Management - Delete files and folders directly from the interface
- π§² Torrent Management - Full control over adding torrents
- π Session Management - Secure owner sessions with logout functionality
- π― Token Extraction - View and manage access tokens
- Python 3.8+ installed on your system
- A Seedr.cc account (free or premium)
git clone https://github.com/Subroz/seedrccweb.git
cd seedrccwebpip install -r requirements.txtOr install packages individually:
pip install flask flask-cors seedrYou can enable public access by either:
Option A: Using Environment Variables (Recommended)
export SEEDR_EMAIL="your@email.com"
export SEEDR_PASSWORD="your-password"This automatically logs in on startup and keeps public access working even if tokens expire.
Option B: Using config.json
{
"seedr_token": "your-access-token-here"
}Option C: Using Token Environment Variable
export SEEDR_TOKEN="your-access-token-here"Note: You don't need to configure manually. Just login via the owner panel, and the token will be auto-saved! For Replit deployment, use Secrets to store SEEDR_EMAIL and SEEDR_PASSWORD.
python app.py- Public Interface:
http://localhost:5000 - Owner Panel:
http://localhost:5000/owner-login
- Navigate to
http://localhost:5000 - Browse files and folders
- Click on files to download
- Use the
βΆοΈ button to stream videos - Add torrents using the magnet link input (if enabled)
Note: Public mode requires a valid token to be configured (automatically done after owner login).
- Navigate to
http://localhost:5000/owner-login - Enter your Seedr.cc email and password
- Click "Sign In"
- β
Token is automatically saved to
config.json - π Public access is now enabled!
- View Files: Browse all your Seedr files and folders
- Delete Items: Use delete buttons on files/folders (owner mode only)
- Add Torrents: Add magnet links or torrent URLs
- Monitor Storage: Real-time storage usage with warnings
Owner mode provides secure API endpoints:
// Example: Add a torrent (requires owner session)
fetch('/api/owner/torrent', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Session-ID': 'your-session-id'
},
body: JSON.stringify({ link: 'magnet:?xt=...' })
});| Variable | Description | Default |
|---|---|---|
SEEDR_EMAIL |
Seedr account email for auto-login (recommended) | None |
SEEDR_PASSWORD |
Seedr account password for auto-login (recommended) | None |
SEEDR_TOKEN |
Seedr access token for public mode (alternative) | None |
FLASK_DEBUG |
Enable Flask debug mode | False |
FLASK_RUN_PORT |
Port to run the server on | 5000 |
{
"seedr_token": "your-seedr-access-token-here"
}The token is automatically saved when you login through the owner panel.
python app.py # Runs on port 5000 by defaultTo change the port, modify the app.run() line in app.py:
app.run(debug=True, host='0.0.0.0', port=8080)FROM python:3.11-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files
COPY . .
# Expose port
EXPOSE 5000
# Run application
CMD ["python", "app.py"]# Build the image
docker build -t cloudtorrent .
# Run the container
docker run -d \
-p 5000:5000 \
-v $(pwd)/config.json:/app/config.json \
--name cloudtorrent \
cloudtorrentdocker run -d \
-p 5000:5000 \
-e SEEDR_TOKEN="your-token-here" \
--name cloudtorrent \
cloudtorrentCreate docker-compose.yml:
version: '3.8'
services:
cloudtorrent:
build: .
ports:
- "5000:5000"
volumes:
- ./config.json:/app/config.json
environment:
- SEEDR_TOKEN=${SEEDR_TOKEN}
restart: unless-stoppedRun with:
docker-compose up -d# Install Gunicorn
pip install gunicorn
# Run with 4 worker processes
gunicorn -w 4 -b 0.0.0.0:5000 app:appbind = "127.0.0.1:8000"
workers = 4
worker_class = "sync"
timeout = 120
keepalive = 5gunicorn -c gunicorn_config.py app:appserver {
listen 80;
server_name your-domain.com;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}Create /etc/systemd/system/cloudtorrent.service:
[Unit]
Description=CloudTorrent Seedr Web Interface
After=network.target
[Service]
Type=simple
User=www-data
WorkingDirectory=/path/to/seedrccweb
Environment="PATH=/path/to/venv/bin"
ExecStart=/path/to/venv/bin/gunicorn -w 4 -b 0.0.0.0:5000 app:app
Restart=always
[Install]
WantedBy=multi-user.targetEnable and start:
sudo systemctl enable cloudtorrent
sudo systemctl start cloudtorrent
sudo systemctl status cloudtorrentseedrccweb/
βββ app.py # Flask backend application with dual-mode API
βββ index.html # Public interface (beautiful file browser)
βββ owner.html # Owner login and management interface
βββ requirements.txt # Python package dependencies
βββ config.json # Configuration file (auto-generated)
βββ LICENSE # MIT License
βββ README.md # This documentation
app.py: Main Flask application with public and owner API routesindex.html: Public-facing interface with file browsing and streamingowner.html: Administrative interface for owner authenticationconfig.json: Auto-generated configuration with saved token
Check API status and public access availability.
Response:
{
"status": "online",
"seedr_available": true,
"public_access": true,
"message": "Public access ready"
}Get root folder contents and storage information.
Response:
{
"space_used": 1073741824,
"space_max": 10737418240,
"folders": [...],
"files": [...],
"torrents": [...]
}Get contents of a specific folder.
Get file information including download URL.
Add a torrent (public mode).
Request:
{
"link": "magnet:?xt=urn:btih:..."
}Authenticate as owner with Seedr credentials.
Request:
{
"email": "your@email.com",
"password": "your-password"
}Response:
{
"success": true,
"session_id": "abc123...",
"token_saved": true,
"space_used": 1073741824,
"space_max": 10737418240
}Logout from owner session.
Delete a file (owner only).
Delete a folder (owner only).
- β Use HTTPS in production to encrypt token transmission
- β Restrict Access to owner panel using firewall rules or authentication proxy
- β
Regular Backups of
config.jsoncontaining your token - β Environment Variables for sensitive data in production
- β Secure Sessions - Sessions are stored in memory (consider Redis for production)
- π Tokens are stored in
config.jsonwith restricted file permissions - π Never commit
config.jsonto version control (already in.gitignore) - π Owner sessions use cryptographically secure session IDs
- π Credentials are never stored on the server
- Use a reverse proxy (Nginx/Apache) with HTTPS
- Configure firewall to restrict owner panel access
- Enable rate limiting to prevent abuse
- Monitor logs for suspicious activity
- Use Redis for session storage in production
pip install seedr
# or
pip install -r requirements.txtSolution: Login via the owner panel at /owner-login. The token will be auto-saved.
- β Verify your email and password are correct
- β Check your Seedr.cc account status
- β Ensure your account has verified email
# Check if port 5000 is in use
lsof -i :5000
# Kill the process using the port
kill -9 <PID>
# Or run on a different port
python app.py # Edit app.py to change port- π Click the "Refresh" button
- π Check your Seedr.cc account directly
- π Verify the token is valid and not expired
- π Check browser console for JavaScript errors
- β Ensure the file format is supported (MP4, WebM, MOV, M4V)
- β Check that the file has finished downloading in Seedr
- β Verify your browser supports HTML5 video
- β Try downloading the file instead of streaming
- π Refresh the page to update storage information
- π Login to Seedr.cc directly to verify storage usage
- π Delete some files to free up space
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
# Clone the repository
git clone https://github.com/Subroz/seedrccweb.git
cd seedrccweb
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run in debug mode
export FLASK_DEBUG=1
python app.pyThis project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2024 CloudTorrent
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- Seedr.cc - Excellent cloud torrent service
- seedrcc Python Library - Python wrapper for Seedr API
- Flask - Web framework
- Font Awesome - Icons (via emoji alternatives)
If you encounter any issues or have questions:
- Check the Troubleshooting section above
- Search existing issues on GitHub Issues
- Create a new issue with detailed information about your problem.
If you find this project useful, please consider giving it a star on GitHub! β
Made with β€οΈ by Subro
Powered by Flask β’ Seedr.cc β’ Python