J
J
jasonOk2015-07-01 09:10:55
PHP
jasonOk, 2015-07-01 09:10:55

How to make a bit-torrent tracker in PHP? Is it possible to?

Hey! I need to make a torrent tracker on the site, the site itself is almost ready, but as for the part of the tracker, everything is dull here. The fact is that no TBdev , ppkB3cker , torrentPier , etc. are not suitable because of their "dizzying" design, a la the forum of the 2000s, as well as all sorts of "bells and whistles" - chat, forum, admin panel and even registration - I don't need all this, since I already have my own. In other words, I'm not looking for an engine, but rather the very back end of the torrent tracker script. Honestly, I looked all over the Internet, but I couldn’t find anything really suitable. Wherever you spit, these "engine scripts" are everywhere.
You see, it only takes a few functions:

  • Downloading a .torrent file by a user
  • The site displays the size of this file
  • Showing peers/seeds/lychees
  • Other users can download it
  • Counter, how many times downloaded

In general, only the most basic.
Looked at answers on Toaster , stackoverflow ; searched on github ... not much useful.
Although it is hard to believe, maybe someone still has a link to a php script with similar functionality in their bins? And in general, give advice on how to proceed in this situation.
PS
I thought a little about the Datalife Engine, is it possible to adjust everything for yourself there by any chance? Or is it the same story as with torrentPier?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
M
matperez, 2015-07-01
@matperez

In fact, you don't need a tracker specifically in PHP. Take one of the popular trackers like this https://ru.wikibooks.org/wiki/RTorrent , they all have an API. You will need to write a PHP binding to call the tracker API and integrate it into your already finished site. Most likely, you will not find a ready-made web client. For rTorrent there is https://github.com/Novik/ruTorrent , but it's more for the individual user.
By the way, here is what I found https://en.wikipedia.org/wiki/Comparison_of_BitTor...

M
Mr Freeman, 2015-07-01
@vladamir

In general, in my opinion, purely on php, this does not happen. After all, there is a lot of work with files and protocols. And there are applied utilities and programs. Accordingly, then everything is configured through the api. Probably so.

_
_ _, 2015-07-01
@AMar4enko

And you are confusing a torrent tracker and a muzzle.
Here is the tracker . Those. a service that services peer connections and processes all information.
MySQL is used for data storage.
xbtt.sourceforge.net/tracker
And you will already climb into the MySQL database for the necessary information. The point is small - to make a .torrent file generator. The format is open - I'm sure you can handle it.

A
Alexey Tutubalin, 2015-07-01
@Kennius

Write to Skype Spiker1401 I'll tell you everything there is something suitable for you

U
Uwe_Boll, 2015-07-01
@Uwe_Boll

you ask google the following: pyrite bay github and smoke

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question