https://github.com/webtor-io/self-hosted
Self-hosted version of webtor.io implemented as an all-in-one Docker image
https://github.com/webtor-io/self-hosted
Last synced: 4 months ago
JSON representation
Self-hosted version of webtor.io implemented as an all-in-one Docker image
- Host: GitHub
- URL: https://github.com/webtor-io/self-hosted
- Owner: webtor-io
- License: mit
- Created: 2025-01-21T16:49:59.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-02-08T10:57:58.000Z (11 months ago)
- Last Synced: 2025-02-08T11:35:56.449Z (11 months ago)
- Language: Dockerfile
- Size: 28.3 KB
- Stars: 122
- Watchers: 1
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- fucking-awesome-selfhosted - Webtor - Web-based torrent client with instant audio/video streaming. 🌎 [Demo](webtor.io)) `MIT` `Docker` (Software / File Transfer - Peer-to-peer Filesharing)
- awesome-selfhosted - Webtor - Web-based torrent client with instant audio/video streaming. ([Demo](https://webtor.io)) `MIT` `Docker` (Software / File Transfer - Peer-to-peer Filesharing)
- awesome-selfhosted - Webtor - Web-based torrent client with instant audio/video streaming. ([Demo](https://webtor.io)) `MIT` `Docker` (Software / File Transfer - Peer-to-peer Filesharing)
- awesome-selfhosted - Webtor - Web-based torrent client with instant audio/video streaming. ([Demo](https://webtor.io)) `MIT` `Docker` (Software / File Transfer - Peer-to-peer Filesharing)
- awesome-selfhosted - Webtor - Web-based torrent client with instant audio/video streaming. ([Demo](https://webtor.io)) `MIT` `Docker` (Software / File Transfer - Peer-to-peer Filesharing)
README
# Webtor, self-hosted
This is the self-hosted version of [webtor.io](https://webtor.io), implemented as an all-in-one Docker image.
## Features
- **Direct Download Link (DDL):** Select any file inside a torrent and download it directly.
- **Instant Video and Audio Streaming:** Choose a video or audio file inside a torrent and start streaming immediately without needing to download it first.
**Supported Formats:**
- **Video:** `avi`, `mkv`, `mp4`, `webm`, `m4v`, `ts`, `vob`
- **Audio:** `mp3`, `wav`, `ogg`, `flac`, `m4a`
- **Download Entire Torrent as a ZIP Archive:** Download your torrent as a ZIP archive on-the-fly while preserving the original directory structure, without requiring a torrent client.
- **Developer friendly** - with the [SDK](https://github.com/webtor-io/embed-sdk-js) you can provide your users with the ability to watch torrent-videos online on your website.
## Quick Setup
1. [Install Docker](https://docs.docker.com/get-docker/).
2. Start your Webtor instance with the following command:
```bash
docker run -d -p 8080:8080 -v data:/data --name webtor --restart=always ghcr.io/webtor-io/self-hosted:latest
```
3. Access the UI at .
4. You're all set!
## Setting a Custom Domain
If you plan to access your instance from a different host or domain, set the `DOMAIN` environment variable like this:
```bash
docker run -e DOMAIN=https://example.com -d -p 8080:8080 -v data:/data --name webtor --restart=always ghcr.io/webtor-io/self-hosted:latest
```
## Configuring the Autocleaner
Webtor automatically cleans old data when there is insufficient space on the device. You can configure this behavior using the following variables:
```bash
CLEANER_FREE=35%
CLEANER_KEEP_FREE=25%
```
- `CLEANER_FREE` specifies how much space to clean when triggered.
- `CLEANER_KEEP_FREE` sets the threshold at which cleaning starts.
Both variables can be defined as percentages or as byte values (e.g., `10G` or `100M`).