A lightweight private BitTorrent tracker system with torrent modification capabilities. This project consists of two main components:
- An OpenTracker instance for handling BitTorrent tracker requests
- A web application for uploading and modifying a torrent to make it belong to this tracker
- 🔒 Private tracker setup
- 🔄 Automatic torrent modification
- Sets private flag
- Disables DHT
- Updates tracker URL
- 🐳 Full Docker support
- Clone the repository:
git clone https://github.com/KevinWang15/simple-tracker.git cd simple-tracker- Create
.envfile:
APP_URL=http://localhost:3000- Run with Docker Compose:
docker-compose up --build- Visit
http://localhost:3000in your browser
- Clone the repository:
git clone https://github.com/KevinWang15/simple-tracker.git cd simple-tracker- Create
.envfile with your production settings:
APP_URL=https://your-domain.com- Configure ports in docker-compose.prod.yml:
services: webapp: ports: - "8080:3000" # Change 8080 to any port you want to use on your host machine # ... other settings ...- Set up Nginx as a reverse proxy:
server { listen 443 ssl; server_name your-domain.com; ssl_certificate /path/to/your/fullchain.pem; ssl_certificate_key /path/to/your/privkey.pem; location / { proxy_pass http://localhost:8080; # Use the port you configured in docker-compose.prod.yml 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; } } # Redirect HTTP to HTTPS server { listen 80; server_name your-domain.com; return 301 https://$server_name$request_uri; }- Run using production compose file:
docker-compose -f docker-compose.prod.yml up -dThis project is licensed under the MIT License