privtracker

command module
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

README

Private BitTorrent tracker for everyone

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


Build & install
$ go install github.com/meehow/privtracker@latest
Usage
# Runs on port 1337 by default.
$ ~/go/bin/privtracker
# Set PORT to 443 if you want to enable automatic TLS handling
$ PORT=443 ~/go/bin/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:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL