torrentpier / torrentpier
TorrentPier. Bull-powered BitTorrent tracker engine
Fund package maintenance!
torrentpier
Open Collective
Liberapay
Installs: 415
Dependents: 0
Suggesters: 0
Security: 3
Stars: 332
Watchers: 33
Forks: 86
Open Issues: 5
Type:project
pkg:composer/torrentpier/torrentpier
Requires
- php: >=8.2
- arokettu/bencode: ^4.1.0
- arokettu/monsterid: ^4.1.0
- arokettu/random-polyfill: 1.0.2
- arokettu/torrent-file: ^5.2.1
- bugsnag/bugsnag: ^v3.29.1
- egulias/email-validator: ^4.0.1
- filp/whoops: ^2.15
- gemorroj/m3u-parser: ^6.0
- google/recaptcha: ^1.3
- gregwar/captcha: 1.*
- guzzlehttp/guzzle: ^7.10
- intervention/image: ^3.0
- jacklul/monolog-telegram: ^3.1
- league/flysystem: ^3.28
- longman/ip-tools: 1.2.1
- monolog/monolog: ^3.4
- nesbot/carbon: ^3.10
- nette/caching: ^3.3
- nette/database: ^3.2
- php-feed-io/feed-io: ^6.1
- php-http/guzzle7-adapter: ^1.1
- robmorgan/phinx: ^0.16.9
- samdark/sitemap: 2.4.1
- symfony/config: ^7.3
- symfony/event-dispatcher: ^7.3
- symfony/filesystem: ^7.3
- symfony/mailer: ^7.3
- symfony/mime: ^7.3
- symfony/polyfill: v1.33.0
- symfony/string: ^7.3
- torrentpier/translations: dev-main
- twig/twig: ^3.21
- vlucas/phpdotenv: ^5.5
- z4kn4fein/php-semver: ^v3.0.0
Requires (Dev)
- mockery/mockery: ^1.6
- pestphp/pest: ^3.8
- symfony/var-dumper: ^7.3
- dev-master
- v2.8.9
- v2.8.8
- v2.8.7
- v2.8.6
- v2.8.5
- v2.8.4.1
- v2.8.4
- v2.8.3
- v2.8.2
- v2.8.1
- v2.8.0
- v2.7.0
- v2.6.0
- v2.5.0
- v2.4.13
- v2.4.12
- v2.4.11
- v2.4.10
- v2.4.9
- v2.4.8
- v2.4.7
- v2.4.6
- v2.4.6-alpha.4
- v2.4.6-alpha.3
- v2.4.6-alpha.2
- v2.4.6-alpha.1
- v2.4.5
- v2.4.5-rc.5
- v2.4.5-rc.4
- v2.4.5-rc.3
- v2.4.5-rc.2
- v2.4.5-rc.1
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- v2.4.0-rc2
- v2.4.0-rc1
- v2.4.0-beta4
- v2.4.0-beta3
- v2.4.0-beta2
- v2.4.0-beta1
- v2.4.0-alpha4
- v2.4.0-alpha3
- v2.4.0-alpha2
- v2.4.0-alpha1
- v2.3.1
- v2.3.1-rc1
- 2.3.0.4-beta2
- 2.3.0.4-beta
- v2.3.0.3
- v2.3.0.2
- v2.3.0.1
- v2.3.0
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- dev-bulk-generation
- dev-og-image
- dev-updater
- dev-dexter
- dev-feat-Added-`StopForumSpam`-integration
- dev-Added-in-build-multitracker
- dev-Added-posts-pin-feature
- dev-Anonymous-topics
This package is auto-updated.
Last update: 2025-12-15 02:06:57 UTC
README
Bull-powered BitTorrent tracker engine
๐ About TorrentPier
TorrentPier โ bull-powered BitTorrent Public/Private tracker engine, written in PHP. High speed, simple modifications, load-balanced architecture. In addition, we have a very helpful official support forum, where it's possible to get support and download modifications for the engine.
๐ Current status
TorrentPier is currently in active development. The goal is to remove all legacy code and rewrite the existing code to modern specifications. If you want to delve deep into the code, check our issues and go from there. The documentation will be translated to English in the near future, currently Russian is the main language.
โจ Features
- Rich forum with browsing/moderation tools
- High-load capable, heavily configurable announcer
- Scrape support
- FreeLeech
- TorrServer integration support
- BitTorrent v2 support
- Event-based invite system
- Bonus points
- Polling system
- PM/DM system
- Multilingual support (Russian and English are currently fully supported, with others in the future)
- Atom/RSS feeds
- ... and so MUCH MORE!
๐ฅ๏ธ Demo
- URL: https://torrentpier.duckdns.org
- Username:
admin - Password:
admin
Note
Demo resets every 24 hours!
๐ง Requirements
- Apache / nginx (example config) / caddy (example config)
- MySQL 5.5.3 or above (including MySQL 8.0+) / MariaDB 10.0 or above / Percona
- PHP: 8.4 / 8.5
- PHP Extensions: mysqli, mbstring, gd, bcmath, intl, tidy (optional), xml, xmlwriter
- Crontab (Recommended)
๐พ Installation
For the installation, select one of the installation variants below:
Quick (Clean install) ๐
Check out our autoinstall repository with detailed instructions.
Note
Thanks to Sergei Solovev for this installation script โค๏ธ
Quick (With installation script) โ๏ธ
- Select the folder where you want TorrentPier installed
cd /path/to/www - Download the latest version of TorrentPier
git clone --branch master --depth 1 https://github.com/torrentpier/torrentpier.git . - Install dependencies and run the installation wizard
composer install php bull app:install
- Voila! โจ
Manual ๐ฉ
- Check our system requirements
- Select the folder where you want TorrentPier installed
cd /path/to/www - Download the latest version of TorrentPier
git clone --branch master --depth 1 https://github.com/torrentpier/torrentpier.git . - Install Composer dependencies
composer install --no-dev --prefer-dist --optimize-autoloader
- Run the installation wizard (configures
.env, creates database, runs migrations)php bull app:install
- Voila! โจ
Tip
The php bull app:install wizard handles all configuration: environment setup, database creation, migrations, and permissions.
Using Docker ๐ณ
- Ensure Docker and Docker Compose are installed on your system.
Verify that ports
80 (HTTP)and443 (HTTPS)are free or adjust them in thedocker-compose.yml - Select the folder where you want TorrentPier installed
cd /path/to/www - Download the latest version of TorrentPier
git clone --branch master --depth 1 https://github.com/torrentpier/torrentpier.git . - Copy the Docker environment template (
.env.docker) file and configure itcp .env.docker .env
- Configure environment variables in
.env. Edit the file and adjust values according to your environmentnano .env # or use your preferred editor - Start the application with Docker Compose
docker compose up -d
- Voila! โจ
Important
The specific settings depend on the server you are using, but in general we recommend chmod 0755 for folders, and chmod 0644 for the files in them.
Additional steps ๐ฃ
- Edit these files:
favicon.png(change to your own)robots.txt(change the addresses in linesHostandSitemapto your own)
- Log in to the forum using the admin/admin login/password, and finish setting up via admin panel. Don't forget to change your password!
๐ Security vulnerabilities
If you discover a security vulnerability within TorrentPier, please follow our security policy, so we can address it promptly.
๐งช Testing
TorrentPier includes a comprehensive testing suite built with Pest PHP. Run tests to ensure code quality and system reliability:
# Run all tests ./vendor/bin/pest # Run with coverage ./vendor/bin/pest --coverage
For detailed testing documentation, see tests/README.md.
๐ Our recommendations
- Set up cron jobs. - Run
php bull cron:runevery minute for maintenance tasks. For high-traffic trackers, consider running it more frequently or as a daemon. - Local configuration copy. - You can override the settings using the local configuration file
config/config.local.php.
๐ Contributing / Contributors
Please read our contributing policy and code of conduct for details, and the process for submitting pull requests to us. But we are always ready to review your pull-request for compliance with these requirements. Just send it!
Made with contrib.rocks.
๐ Sponsoring
Support this project by becoming a sponsor or a backer.
Monero
42zJE3FDvN8foP9QYgDrBjgtd7h2FipGCGmAcmG5VFQuRkJBGMbCvoLSmivepmAMEgik2E8MPWUzKaoYsGCtmhvL7ZN73jh
YooMoney
4100118022415720
๐ฆ Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.