Pages:
Author

Topic: BitCoinTorrentz.com - Torrent Download Service - page 25. (Read 57203 times)

hero member
Activity: 560
Merit: 501
@terrytibs: hmmmm.... the btjunkie API! I will definitely take a look into it. It would mean than btjunkie MUST remain operational at all times though, as my service would then depend on constant connectivity to btjunkies servers. I have noticed their site go down at times too. Do you know if they count seeders from all trackers, or just seeders on the btjunkie tracker? Also, do they include DHT seeds and peers in their results? Very interesting indeed.
I will research into this later today.

Another thing, use torrenteditor.com's bencode and torrent classes.
bencode include: http://pastebin.com/LfmPYkXQ
torrent include: http://pastebin.com/HQSH8SYY

Now you can simply get the hash by doing
Code:
set_include_path('include');
include_once('torrent.php');

$data = file_get_contents($grab_from_file_upload);
if ($data == false) {
    exit("Couldn't read torrent.");
}

$torrent = new Torrent();

if ($torrent->load($data) == false) {
    exit("Error: {$torrent->error}");
}

$hash = $torrent->getHash();

// Eye candy, skip this for if-statements
$hash = chunk_split($hash, 8, ' ');

echo($hash);

Edit: About the connectivity, you could just set the timeout pretty low. The world doesn't end if the torrent has a low seeder-count. You should, however, refund the user if there are no seeders and the download doesn't start within a set timeframe.

Second edit: isoHunt has a JSON-search-api. It would be better than btjunkie for getting results, although worse for actually parsing seed info and the like.
http://isohunt.com/forum/viewtopic.php?t=150656
sr. member
Activity: 336
Merit: 250
Just found a small bug with the ajax refresh script where it would fail to display any of the status information. It's all fixed now, so if anyone noticed anything odd, just want to reiterate that it's all good now.

@BitcoinPorn: You're not an idiot by any means. You are exactly like most of us on this forum. We tend to trivialize and often completely forget laws which we deem archaic and insufficient. But we must remember that the law is the law, and can come down on you pretty hard if you are not extremely cautious.

@terrytibs: hmmmm.... the btjunkie API! I will definitely take a look into it. It would mean than btjunkie MUST remain operational at all times though, as my service would then depend on constant connectivity to btjunkies servers. I have noticed their site go down at times too. Do you know if they count seeders from all trackers, or just seeders on the btjunkie tracker? Also, do they include DHT seeds and peers in their results? Very interesting indeed.
hero member
Activity: 560
Merit: 501
Maybe you should include a warning when proceeding to pay for a torrent with a low seed count.

The problem with this is that before payment has been completed, the torrent is not loaded into the torrent client. Therefore, I cannot query the client for the number of seeds. All I can do is parse the torrent file, and display information like size and name, etc. The torrent file itself does not contain the number of seeds or peers.

So I would have to actually load the torrent into the client, start downloading it, and then query the seeds and peers counts. It would need to download for a while to get true seeds and peer figures aswell, because most torrents use multiple trackers which need to be connected to separately, and also the DHT and other p2p protocols that torrent clients use to obtain seeds and peers take a while to reel in the true figures. So the actual query could take several seconds, if not much longer, to actually complete.

If the user decides then not to pay for it, this could lead to problems. There are many who upload torrent files just to see how much it would cost, and then decide not to go ahead. If the server were to load every queried torrent, it would leave the site vulnerable to users loading torrents for the sake of it, wasting a lot of server resources and bandwidth.
Well, yes and no.

Here's an idea I'd just like to throw into the air;
  • Query btjunkie.org for http://btjunkie.org/search?q=(htmlencoded torrent name).
  • Use some regexp magic to grab the first result.
  • Download the torrent.
  • Check its metadata hash and compare it against the hash of the torrent the user submitted, if they match, continue.
    Personally, I use transmissioncli;
Code:
transmissioncli -i torrent.torrent 2>/dev/null | grep "^hash:" | awk '{print $2}'

This might seem like a whole lot of work for a single torrent, and you'd have to limit the amount of times a single user can query this information, but using the btjunkie API you can fetch immense amounts of data. You can then pass this on to your advertising network to increase clickthrough rate, warn the user about potentially hazardous torrents, list files. You name it, it's probably got it.
hero member
Activity: 630
Merit: 500
Posts: 69
Very interesting proposal, but that could lead to the implication of the site in the illegal distribution of copyrighted materials however. Bitcointorrentz does not (officially) permit the use of the service for copyrighted or illegal materials, only legal torrents that are open source or not copyrighted. I'd love to do this, but I think it could be damaging to the site.
I'm an idiot, I did not think of the legal issue, and of course you do not want your site tied to illegal files being shared, very good point.
sr. member
Activity: 336
Merit: 250
Maybe you should include a warning when proceeding to pay for a torrent with a low seed count.

The problem with this is that before payment has been completed, the torrent is not loaded into the torrent client. Therefore, I cannot query the client for the number of seeds. All I can do is parse the torrent file, and display information like size and name, etc. The torrent file itself does not contain the number of seeds or peers.

So I would have to actually load the torrent into the client, start downloading it, and then query the seeds and peers counts. It would need to download for a while to get true seeds and peer figures aswell, because most torrents use multiple trackers which need to be connected to separately, and also the DHT and other p2p protocols that torrent clients use to obtain seeds and peers take a while to reel in the true figures. So the actual query could take several seconds, if not much longer, to actually complete.

If the user decides then not to pay for it, this could lead to problems. There are many who upload torrent files just to see how much it would cost, and then decide not to go ahead. If the server were to load every queried torrent, it would leave the site vulnerable to users loading torrents for the sake of it, wasting a lot of server resources and bandwidth.

With regards to advertising on torrent search engines, I will certainly look into it. The only problem is that the service can only be paid for with bitcoin, meaning a large majority of users of those search engines will not be able to avail of the service.
Would an easy way to ad on torrent search engines is to just upload a few files yourself?  Ensure the folder name or somewhere in the file is reference to BitCoinTorrentz, make sure the file itself is quality and not all over ThePirateBay for example, free commercial that you wouldn't even have to seed yourself after the first hour if the file was desired enough.

Very interesting proposal, but that could lead to the implication of the site in the illegal distribution of copyrighted materials however. Bitcointorrentz does not (officially) permit the use of the service for copyrighted or illegal materials, only legal torrents that are open source or not copyrighted. I'd love to do this, but I think it could be damaging to the site.
hero member
Activity: 630
Merit: 500
Posts: 69
With regards to advertising on torrent search engines, I will certainly look into it. The only problem is that the service can only be paid for with bitcoin, meaning a large majority of users of those search engines will not be able to avail of the service.
Would an easy way to ad on torrent search engines is to just upload a few files yourself?  Ensure the folder name or somewhere in the file is reference to BitCoinTorrentz, make sure the file itself is quality and not all over ThePirateBay for example, free commercial that you wouldn't even have to seed yourself after the first hour if the file was desired enough.
hero member
Activity: 560
Merit: 501
Maybe you should include a warning when proceeding to pay for a torrent with a low seed count.
sr. member
Activity: 336
Merit: 250
I have finished implementing an ajax refresh of the torrent download status page. Now the page will not javascript refresh every 5 seconds until the torrent is complete. I have tested the code locally and have completed some live tests, and everything appears to be working smoothly. I do not anticipate any problems, but if anyone runs into any issues with it please do not hesitate to let me know, either in this thread or through the contact form on the website. If there are any, I will address them immediately.

I may include more information in the torrent status page, like number of seeders, leechers and the availability of the torrent. Some people have uploaded torrents with 1-2 seeders, and do not avail of the full download speed of the server due to the torrent being very unhealthy. I may include advice to use well seeded, healthy torrents to utilize the full capability of the server.

I have also removed the Facebook and Google Plus widgets from the site. They are ugly, take longer to load than the rest of the page, and make the page appear to be wider than it actually is, causing a horizontal scrollbar to appear unnecessarily. Does anyone know how to prevent this?

I have also implemented a site wide global variable that determines the base fee of the service. If prices need to be increased in the future, it can be done easily and quickly by changing a single variable without having to trawl through every bit of code. I am also looking into linking the price to the usd:btc exchange rate. The code required to do this is still in beta, but I hope to have it finished soon.

With regards to advertising on torrent search engines, I will certainly look into it. The only problem is that the service can only be paid for with bitcoin, meaning a large majority of users of those search engines will not be able to avail of the service.

I might include a brief introduction to what bitcoin is, and provide information on where it can be bought etc. This will be especially important if we want to attract users to the service who are not already familiar with bitcoin.
donator
Activity: 2772
Merit: 1019
Maybe you are right. I think I might take a day or two off. It's been pretty full-on over the past 2 weeks!
Any suggestions on marketing then? My current strategies:

1. Dailybitcoins.org
2. Operation fabulous
3. Social media: Google+ and Facebook Like
4. Affiliate system
5. Forum whoring

Perhaps a google adwords campaign... but they are pretty expensive.
AND you have to pay in worthless fiat!

I'm not sure if it'd make sense, but what about the many torrent search engines?
sr. member
Activity: 336
Merit: 250
From my point of view the important things are taken care of. Maybe it's time to kick back and enjoy your initial success a little. Of course, marketing can never hurt.

Maybe you are right. I think I might take a day or two off. It's been pretty full-on over the past 2 weeks!
Any suggestions on marketing then? My current strategies:

1. Dailybitcoins.org
2. Operation fabulous
3. Social media: Google+ and Facebook Like
4. Affiliate system
5. Forum whoring

Perhaps a google adwords campaign... but they are pretty expensive.
AND you have to pay in worthless fiat!
donator
Activity: 2772
Merit: 1019
Does anyone have any feature requests or feedback on the site so far?
Any and all suggestions will be considered.

From my point of view the important things are taken care of. Maybe it's time to kick back and enjoy your initial success a little. Of course, marketing can never hurt.
sr. member
Activity: 336
Merit: 250
Does anyone have any feature requests or feedback on the site so far?
Any and all suggestions will be considered.
sr. member
Activity: 336
Merit: 250
Based on actual share prices, what is estimated ROI to shareholders ?

Based on current earnings so far of 5.87784 btc in 16 days, and assuming a highly conservative estimate of NO further growth, i.e. earnings continue at the current rate only and do not increase, and assuming prices do not change, this gives us average earnings of 0.367365 btc/day. That is 134 btc in 365 days, and that is approximately 0.134 btc profit / share.

The last share price was 0.85 btc / share on GLBSE. Taking this as the current share price, yearly return on investment at this level is 15.8%.

For those of you who bought up shares during my IPO at 0.2 btc / share, and haven't since sold, your yearly return on investment would be 67%.

Both of these assume ZERO growth in the next 12 months. And they are just estimates, as share price and profits will be quite variable. Share prices because of the nature of publicly traded stock, and profits because of the possibility of future earnings increases / decreases. I have already halfed my prices to grow the business and reach more users. There will be a upwards review within the next 6 months.

I consider my investors to have made a good choice...
legendary
Activity: 1099
Merit: 1000
Based on actual share prices, what is estimated ROI to shareholders ?
sr. member
Activity: 336
Merit: 250
Here is a chart of my own. The stock price of BitCoinTorrentz on GLBSE:

sr. member
Activity: 336
Merit: 250
@TTBit: That graph is bloody brilliant! Netflix stock went to shit days after my site was announced.
What an hilarious financial shenanigan Cheesy

This project has indeed been a much bigger success than I had anticipated. Thanks to everyone who has used the service so far, or intends to do so in the future. And thanks too to the shareholders, who gave me that capital injection that I needed. You made a great investment! Wink
hero member
Activity: 955
Merit: 1002
Just used your service for the first time last night. Very slick!

Coincidence?


There is no such thing as coincidence. Smiley

So you are combining peer-to-peer digital file sharing with peer-to-peer digital currency. Why didn't anybody think of this before? Now that you have made it, it seems an obvious use of bitcoins. I guess it just took somebody with the imagination, drive, and expertise to think of it, go after it, and build it well. Good job!

I thought of it about 2 months ago, but as you say you need imagination, drive, and expertise. I also thought of the iphone 2 years before it came out.
legendary
Activity: 1137
Merit: 1001
Just used your service for the first time last night. Very slick!

Coincidence?

hero member
Activity: 560
Merit: 501
Sure!
I hereby place the above graphic into the public domain.

Very kind of you mate.
PM me your username on bitcointorrentz and I'll give you an extra 20% discount, if you like.
Thanks, I appreciate the offer. I feel that the price you have for the service provided is more than satisfactory, though!
sr. member
Activity: 336
Merit: 250
Just thought I'd post some of the google analytics stats for anyone who is interested:

Pages:
Jump to: