TorrentPier. Main project repository
Find a file
2023-03-08 13:25:06 +03:00
.github/ISSUE_TEMPLATE Update issue templates 2018-05-22 18:23:49 +03:00
admin Redesigned admin_ug_auth 2023-03-08 12:42:17 +07:00
bt Updated copyright year 2023-01-27 18:30:34 +07:00
data IP storage and attachment system bugfix. PHP 5.6+. 2017-06-12 03:31:39 +03:00
install Minor adjustments in sql dumps №2 2023-03-05 22:46:57 +07:00
internal_data Removed useless .htaccess files 2023-02-17 23:42:44 +07:00
library Revert "Minor adjustments #572" 2023-03-08 11:46:03 +07:00
sitemap Replace sitemap to the new external component. 2017-06-02 00:03:55 +03:00
src Merge pull request #569 from torrentpier/ajax-check-if-is-ajax 2023-03-08 11:03:24 +07:00
styles Redesigned admin_ug_auth 2023-03-08 12:42:17 +07:00
.editorconfig Composer init, editor config, some cleanup and much more 2017-01-28 22:56:46 +03:00
.env.example Cron subsystem rework. Environments. 2017-06-10 12:02:47 +03:00
.gitignore Added .env in .gitignore 2023-02-19 11:56:31 +07:00
.htaccess Replaced deny from all with Require all denied 2023-02-17 23:45:00 +07:00
.styleci.yml TorrentPier Aurochs release preparation. 2017-06-12 15:28:45 +03:00
ajax.php Added optional parament in $valid_actions [AJAX] 2023-03-07 00:15:57 +07:00
callseed.php Updated copyright year 2023-01-27 18:30:34 +07:00
CHANGELOG.md Release 2.3.0.4-beta2 2023-03-04 16:41:21 +07:00
CODE_OF_CONDUCT.md New project domain name. 2017-06-25 00:01:22 +03:00
common.php Simplified make_rand_str function 2023-03-08 11:49:22 +07:00
composer.json Updated composer 2023-02-22 23:41:52 +07:00
composer.lock Updated composer 2023-02-22 23:41:52 +07:00
CONTRIBUTING.md New project domain name. 2017-06-25 00:01:22 +03:00
cron.php Updated copyright year 2023-01-27 18:30:34 +07:00
crowdin.yml Update Crowdin configuration file 2023-03-08 13:25:06 +03:00
dl.php Updated copyright year 2023-01-27 18:30:34 +07:00
dl_list.php Updated copyright year 2023-01-27 18:30:34 +07:00
favicon.png New logotype, favicon and css split & reformat. 2017-06-10 00:37:21 +03:00
feed.php Updated copyright year 2023-01-27 18:30:34 +07:00
group.php Updated copyright year 2023-01-27 18:30:34 +07:00
group_edit.php Updated copyright year 2023-01-27 18:30:34 +07:00
index.php Hide feed button if feed file doesn't exists 2023-03-05 23:43:57 +07:00
info.php Updated copyright year 2023-01-27 18:30:34 +07:00
LICENSE Updated copyright year 2023-01-27 18:30:34 +07:00
login.php Updated copyright year 2023-01-27 18:30:34 +07:00
memberlist.php Fixed code-style in some files 2023-03-07 22:19:26 +07:00
modcp.php Updated copyright year 2023-01-27 18:30:34 +07:00
opensearch_desc.xml docs: change official forum path 2023-02-18 12:28:59 +03:00
opensearch_desc_bt.xml docs: change official forum path 2023-02-18 12:28:59 +03:00
poll.php Minor adjustments #571 2023-03-07 23:21:58 +07:00
posting.php Updated copyright year 2023-01-27 18:30:34 +07:00
privmsg.php Updated copyright year 2023-01-27 18:30:34 +07:00
profile.php Updated copyright year 2023-01-27 18:30:34 +07:00
README.md Added min required mysql / mariadb version 2023-02-28 14:42:39 +07:00
robots.txt New project domain name. 2017-06-25 00:01:22 +03:00
search.php Updated copyright year 2023-01-27 18:30:34 +07:00
terms.php Updated copyright year 2023-01-27 18:30:34 +07:00
tracker.php Updated copyright year 2023-01-27 18:30:34 +07:00
viewforum.php Use constants instead of string literals #573 2023-03-08 10:39:51 +07:00
viewtopic.php Added user birthday icon in profile 2023-02-20 18:50:03 +07:00

TorrentPier

Bull-powered BitTorrent tracker engine

License Stars Packagist Downloads Version Last release Size

About TorrentPier

TorrentPier — bull-powered BitTorrent tracker engine, written in php. High speed, simple modification, high load architecture, built-in support for alternative compiled announcers (Ocelot, XBT). In addition, we have very helpful official support forum, where among other things it is possible to test the live demo, get any support and download modifications for engine.

Current status

TorrentPier is currently in active development. The goal is to remove all legacy code and rewrite existing to modern standards. If you want to go deep on the code, check our issues and go from there. The documentation will be translated into english in the near future, currently russian is the main language of it.

Requirements

  • Apache / nginx
  • MySQL 5.5.3 or above / MariaDB 10.0 or above / Percona
  • PHP: 7.1 / 7.2 / 7.3
  • PHP Extensions: bcmath, intl, tidy (optional), xml, xmlwriter

Installation

For installation, you need to follow a few simple steps:

  1. Install Composer
  2. Run composer create-project torrentpier/torrentpier
  3. After run composer install on the project directory
  4. Create database and import dump located at install/sql/mysql.sql
  5. Edit database configuration settings in the configuration file or a local copy (see below)
  6. Edit domain name in the configuration file or a local copy (see below)
  7. Edit domain ssl setting in the configuration file or a local copy (see below)
  8. Edit this files:
    1. favicon.png (change on your own)
    2. robots.txt (change the addresses in lines Host and Sitemap on your own)
    3. opensearch_desc.xml (change the description and address on your own)
    4. opensearch_desc_bt.xml (change the description and address on your own)
  9. Log in to the forum with admin/admin login/password and finish setting up via admin panel

Access rights on folders and files

You must provide write permissions to the specified folders:

  • data/avatars
  • data/torrent_files
  • internal_data/ajax_html
  • internal_data/atom
  • internal_data/cache
  • internal_data/log
  • internal_data/triggers
  • sitemap

The specific settings depend on the server you are using, but in general case we recommend chmod 0755 for folders, and chmod 0644 for files in them. If you are not sure, leave it as is.

For significant tracker speed increase may be required to replace built-in cron.php by operating system daemon. For more information about that you can read this thread on our support forum.

Local configuration copy

You can override the settings using one of these methods: configuration file library/config.local.php and the environment file .env. Both files are created by copying the appropriate .example templates without extension. Local configuration files should not be available for reading to anyone by setting up access rights for your web server.

Ocelot installation

We have built-in support for alternate compiled announcer — Ocelot. The configuration is in the file library/config.php, the announcer is in the repository torrentpier/ocelot. You can read assembly instructions on his repository or in this thread on our support forum.

Official documentation

Documentation for TorrentPier can be found on the TorrentPier docs website.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us. But we are always ready to renew your pull-request for compliance with these requirements. Just send it.

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