This is the self-hosted version of webtor.io, implemented as an all-in-one Docker image.
- 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
- Video:
- 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.
- Personal Library: Organize your own collection by adding torrents to your account. Movies and series will be detected automatically!
- Stremio integration Just install the addon using the link from profile and start watching your library on TV with Stremio.
- Developer-friendly With the SDK you can provide your users with the ability to watch torrent-videos online on your website.
- Install Docker.
- Start your Webtor instance with the following command:
docker run -d -p 8080:8080 -v data:/data -v pgdata:/pgdata --name webtor --restart=always ghcr.io/webtor-io/self-hosted:latest
- Access the UI at http://localhost:8080.
- You're all set!
If you plan to access your instance from a different host or domain, set the DOMAIN environment variable like this:
docker run -e DOMAIN=https://example.com -d -p 8080:8080 -v data:/data -v pgdata:/pgdata --name webtor --restart=always ghcr.io/webtor-io/self-hosted:latestdocker run -e DOMAIN=http://localhost:8085 -d -p 8085:8080 -v data:/data -v pgdata:/pgdata --name webtor --restart=always ghcr.io/webtor-io/self-hosted:latestWebtor automatically cleans old data when there is insufficient space on the device. You can configure this behavior using the following variables:
CLEANER_FREE=35%
CLEANER_KEEP_FREE=25%CLEANER_FREEspecifies how much space to clean when triggered.CLEANER_KEEP_FREEsets the threshold at which cleaning starts.
Both variables can be defined as percentages or as byte values (e.g., 10G or 100M).
By default Webtor uses an embedded PostgreSQL database. You can configure the database connection using the following environment variables:
- USE_LOCALPG - use built-in postgres (default: true)
- PG_HOST - host for postgres (default: localhost)
- PG_PORT - port for postgres (default: 5432)
- PG_USER - user for postgres (default: app)
- PG_PASSWORD - password for postgres (default: app)
- PG_DATABASE - database for postgres (default: app)
- OMDB_API_KEY - key for OMDB API
- KINOPOISK_UNOFFICIAL_API_KEY - key for KinoPoisk Unofficial API
- STREMIO_ADDON_USER_AGENT - user agent to use for stremio addon
- STREMIO_ADDON_PROXY - proxy to use for stremio addon (like socks5://user:pass@host:port)
- DISABLE_VIDEO_TRANSCODING - disables video transcoding
- WAIT_FOR_VPN - waits for VPN to start (in case you are using Gluetun)
- REQUEST_URL_MAPPINGS - custom mappings for request urls