Skip to content

This is a public mirror of the Popcon Time Community Edition repository. All pull requests are ignored. This repository may recieve forced updates.

Notifications You must be signed in to change notification settings

PTCE-Public/torrent-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

torrent-tracker

What is it?

torrent-tracker is an implementation of both the UDP and HTTP tracker protocol's that the BitTorrent protocol use to exchange information on peers. The library supports compact peer lists as well as some UDP tracker extensions.

This library was originally written by jduncanator for his swarm-tracker library.

Is this a fork of node-tracker?

Yes. XeonCore is nowhere to be found and node-tracker is no longer maintained.

How to use it?

A really simple example:

var Tracker = require('torrent-tracker')
var test1 = new Tracker('udp://tracker.openbittorrent.com:80/announce')
var test2 = new Tracker('udp://open.demonii.com:1337/announce')
var test3 = new Tracker('udp://tracker.istole.it:80/announce')
var test4 = new Tracker('http://tracker.ex.ua/announce')
test1.scrape(['5ead8155bb9ced9d36f3196b120e897c61b2af49','8a943f9c60ca01698cb213faf6e489e469246121'], function(err, msg) { console.log(msg); })
test2.scrape(['5ead8155bb9ced9d36f3196b120e897c61b2af49','8a943f9c60ca01698cb213faf6e489e469246121'], function(err, msg) { console.log(msg); })
test3.scrape(['5ead8155bb9ced9d36f3196b120e897c61b2af49','8a943f9c60ca01698cb213faf6e489e469246121'], function(err, msg) { console.log(msg); })
test4.scrape(['5ead8155bb9ced9d36f3196b120e897c61b2af49','8a943f9c60ca01698cb213faf6e489e469246121'], function(err, msg) { console.log(msg); })

About

This is a public mirror of the Popcon Time Community Edition repository. All pull requests are ignored. This repository may recieve forced updates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published