Start your own public tracker

I'm not much in the mood for building a replacement for tbdev.
Been playing with that idea for far too long already :P

With all the suing of private sites going on lately, I'm more inclined to build something that doesn't track ratios or IPs, can be run entirely on free (anonymous) webspace and can be setup and run by a novice.
The more trackers there are, the harder it'll be for anyone to stop it.

I currently have a massive dental infection and I'm hopped up on pain pills so anything I post about aims for the thing is unlikely to make sense. My cheek and jaw feel like a balloon right now :lol:
 
Ruby on rails is like any framework, full of hype.
The language used is ruby, but using it on rails you're not really bothering with the language, you're relying on the framework to put your stuff together. That's like relying on a program to put your emails together for you, or a bot to make posts for you. It may be able to do it faster, but the results wont be as good.

Besides, it can easily be achieved on PHP with not much code. The first one took 6 hrs and the second one took just over a day to develop so there really is no point to using a framework which will bloat the thing and make it incompatible with most webservers (especially the free ones).

Another consideration is how much you would trust a big open project like ROR. Nearly every big web project I've ever seen has been hugely insecure on almost every level. Writing the code by hand, you can avoid a hell of a lot of problems.
 
hey again ;)

found a small error on the torrent page
usually after the first post it's writin this:


Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/dudave/public_html/torrent.php on line 84

and this is what is found on line 84 in the torrent.php file:

while($row=mysql_fetch_assoc($res)){
if($row['ctextbb']===''){
fload('bbcode');
$bb=bbcode($row['ctext']);
$res=mysql_query('UPDATE `commenttext` SET `ctextbb`='.dbesc($bb).' WHERE `cid`='.$row['cid']) or error('Database error');
$row['ctextbb']=$bb;
}

it doesn't interfer with anything, it's just giving this message under
the first comment.
 
Oh, forgot about that. Categories are already built.

I'm constantly recoding each section to get it as good as I can, so some things are in old builds and yet to be rewritten. The main code is there though just waiting for optimization.
 
Decided to keep the mysql (for faster dev time) and tighten it up a lot.
Removed a couple of minor efficiency errors in the announce, and managed to cut announce.php down to about 80 lines.

Added in the option to allow tracking of torrents that aren't uploaded to the site, the switch for black/white listing, a new sortable browse page, a new design and will be adding forums and comments.

I may well turn it into a full blown site yet :P

First copy of the new one might be available tommorow or sunday.
 
With all the suing of private sites going on lately, I'm more inclined to build something that doesn't track ratios or IPs, can be run entirely on free (anonymous) webspace and can be setup and run by a novice.
The more trackers there are, the harder it'll be for anyone to stop it.

that's is exactly what crossed my mind the first
time i saw that thread, and that's why i think it
have the potential to be so great.

after a few days playing with this myself, and i definitly
am a novice, i still can't make it work completly.
i tried several free hosting companies, but i'm still
having a problem with making the torrent work on the
utorrent, i manage to upload it to the site but then it
just show as "failure: database error" on the software.

on other free web hosts i had another problem, after the setup i could register
but never got the email confirmation back, when turning it into an open tracker, i run into a similar problem when uploading, it just
doesnt work on the utorrent and become red and inactive.

any ideas how to fix this?
 
man this is awesome!
i'v been waiting for something like this for a long time.
too bad i'm having problems at the moment, and i can't
figure what i'm doing wrong. it says on webspace that
it might take up to 48 hours for your domain to work, can
it be it?

anyway i'll check back tomorow, hopfully it will work, and
if not i hope someone here will be able to help me ;)
 
I got bored today so I created some public tracker code that can run on most free web space.

It can have public uploads, or admin only uploads, supports IP bans (which can be easily reversed to make it a whitelist of those authed to download), auto changing of the announce URL, index page caching, announce caching, multi torrent scraping, and gz compression.

You can grab the source at http://sysdev.org.uk

To set it up on 100webspace.com, go to http://www.100webspace.com/ and click signup under free hosting. Fill in any details you want (I like to use dodgit.com email addresses) and get your confirmation email.

Now go to the control panel, and set up a database.
The database name is the prefix it shows before the text box, plus whatever you type in the box eg: someuser66_tracker. Same for the username.
Database password is whatever you type in.
Database server is listed at the bottom (used for "host" setting).

Upload the contents of the html folder and edit settings.php.
Feed it your database details, and a new admin pass/name/nonce.

Once that's done, go back to the control panel and click the link to your new database, then click login.
Click "SQL" at the top, and feed it only the first query from the INSTALL.txt file.

Load up your new site in a browser, and it should be able to connect to the DB, and give you an error message about "no torrents found".

Once you're there, you can start uploading, or if you have public uploads allowed sit back and wait for others to upload.

PS: to see it in action, check out http://rhy3279f3.100webspace.net/index.php
Public uploads are turned on. Just lob in any torrent file and it will shove it back out with the correct announce URL in it :-)
 
hey uhh i got problem on it.. i cant seems to upload torrents. it says torrent file not found and there's this error says Cannot unserialize cache/bans file.

could you help me with this problem?
 
I got bored today so I created some public tracker code that can run on most free web space.

It can have public uploads, or admin only uploads, supports IP bans (which can be easily reversed to make it a whitelist of those authed to download), auto changing of the announce URL, index page caching, announce caching, multi torrent scraping, and gz compression.

You can grab the source at http://sysdev.org.uk

To set it up on 100webspace.com, go to http://www.100webspace.com/ and click signup under free hosting. Fill in any details you want (I like to use dodgit.com email addresses) and get your confirmation email.

Now go to the control panel, and set up a database.
The database name is the prefix it shows before the text box, plus whatever you type in the box eg: someuser66_tracker. Same for the username.
Database password is whatever you type in.
Database server is listed at the bottom (used for "host" setting).

Upload the contents of the html folder and edit settings.php.
Feed it your database details, and a new admin pass/name/nonce.

Once that's done, go back to the control panel and click the link to your new database, then click login.
Click "SQL" at the top, and feed it only the first query from the INSTALL.txt file.

Load up your new site in a browser, and it should be able to connect to the DB, and give you an error message about "no torrents found".

Once you're there, you can start uploading, or if you have public uploads allowed sit back and wait for others to upload.

PS: to see it in action, check out http://rhy3279f3.100webspace.net/index.php
Public uploads are turned on. Just lob in any torrent file and it will shove it back out with the correct announce URL in it :-)

can i get an invite to sysdev? i need it, because they have a great community :happy:

seriously: this is a very easy way, thanks for sharing the knowledge.
 
Back
Top