2024-12-30 19:03:25 +01:00
2023-03-27 17:14:35 +02:00
2023-03-27 17:14:35 +02:00
2022-03-23 00:21:08 +01:00
2024-12-30 19:03:25 +01:00
2024-12-30 19:03:25 +01:00
2022-03-23 00:21:08 +01:00
2022-11-09 10:11:53 +01:00

Private BitTorrent tracker for everyone

PrivTracker allows to share torrent files just with your friends, nobody else. Unlike public trackers, it shares peers only within a group which is using the same Announce URL. It really works like a private tracker, but can be generated with one click of a button.


Build & install

# Clone this repository.
$ git clone https://github.com/meehow/privtracker.git

# cd into the directory
$ cd privtracker

# Run go build
$ go build

Usage

# Runs on port 1337 by default.
$ ./privtracker
# Set PORT to 443 if you want to enable automatic TLS handling
$ PORT=443 ./privtracker

Example Systemd service

This is an example of /etc/systemd/system/privtracker.service which can handle your privtracker service.

Remember to check directory names if you are going to use it.

[Unit]
Description=privtracker
After=network.target
Requires=network.target

[Service]
Type=simple
User=privtracker
RestartSec=1s
Restart=on-failure
Environment=PORT=443
AmbientCapabilities=CAP_NET_BIND_SERVICE
WorkingDirectory=/home/privtracker/web
ExecStart=/home/privtracker/web/privtracker

[Install]
WantedBy=multi-user.target

Docker Compose

version: "3"
services:
    privtracker:
        build: https://github.com/meehow/privtracker.git
        restart: unless-stopped
        user: 1000:1000
        environment:
            - TZ=${TZ}
            - PORT=1337
        volumes:
            - config:/config
        ports:
            - 1337:1337

volumes:
    config:
Description
Private BitTorrent tracker generator PrivTracker – 开源的私人 BT Tracker 服务器地址:超大文件分享的又一个选择
Readme 302 KiB
Languages
Go 96.2%
Dockerfile 2.4%
Makefile 1.4%