All Projects → webtorrent → Bittorrent Peerid

webtorrent / Bittorrent Peerid

Licence: mit
Map a BitTorrent peer ID to a human-readable client name and version

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Bittorrent Peerid

Webtorrent Hybrid
WebTorrent (with WebRTC support in Node.js)
Stars: ✭ 422 (+797.87%)
Mutual labels:  torrent, bittorrent, webtorrent
ut pex
Implementation of ut_pex bittorrent protocol (PEX) for webtorrent
Stars: ✭ 54 (+14.89%)
Mutual labels:  torrent, bittorrent, webtorrent
Torrentpier
Main project repository
Stars: ✭ 166 (+253.19%)
Mutual labels:  torrent, bittorrent, webtorrent
Webtorrent
⚡️ Streaming torrent client for the web
Stars: ✭ 25,554 (+54270.21%)
Mutual labels:  torrent, bittorrent, webtorrent
Bittorrent Dht
🕸 Simple, robust, BitTorrent DHT implementation
Stars: ✭ 1,004 (+2036.17%)
Mutual labels:  torrent, bittorrent, webtorrent
Wt Tracker
High-performance WebTorrent tracker
Stars: ✭ 144 (+206.38%)
Mutual labels:  torrent, bittorrent, webtorrent
Magnet Uri
Parse a magnet URI and return an object of keys/values
Stars: ✭ 183 (+289.36%)
Mutual labels:  torrent, bittorrent, webtorrent
Bittorrent Tracker
🌊 Simple, robust, BitTorrent tracker (client & server) implementation
Stars: ✭ 1,184 (+2419.15%)
Mutual labels:  torrent, bittorrent, webtorrent
Diffy
🎞️💓🍿 Love streaming - It's always best to watch a movie together ! 🤗
Stars: ✭ 37 (-21.28%)
Mutual labels:  torrent, bittorrent, webtorrent
parse-torrent-file
DEPRECATED: Parse a .torrent file and return an object of keys/values
Stars: ✭ 62 (+31.91%)
Mutual labels:  torrent, bittorrent, webtorrent
Torrent Discovery
Discover BitTorrent and WebTorrent peers
Stars: ✭ 177 (+276.6%)
Mutual labels:  torrent, bittorrent, webtorrent
Bittorrent Protocol
Simple, robust, BitTorrent peer wire protocol implementation
Stars: ✭ 279 (+493.62%)
Mutual labels:  torrent, bittorrent, webtorrent
CheckWebPeer
Check WebRTC peers of torrents.
Stars: ✭ 19 (-59.57%)
Mutual labels:  torrent, bittorrent, webtorrent
Create Torrent
Create .torrent files
Stars: ✭ 264 (+461.7%)
Mutual labels:  torrent, bittorrent, webtorrent
Parse Torrent
Parse a torrent identifier (magnet uri, .torrent file, info hash)
Stars: ✭ 325 (+591.49%)
Mutual labels:  torrent, bittorrent, webtorrent
Planktos
Serving websites over bittorrent
Stars: ✭ 481 (+923.4%)
Mutual labels:  bittorrent, webtorrent
Live Torrent
Torrent Web Client
Stars: ✭ 546 (+1061.7%)
Mutual labels:  torrent, webtorrent
Javatorrent
BitTorrent Protocol implementation in Java
Stars: ✭ 43 (-8.51%)
Mutual labels:  torrent, bittorrent
Radarr
A fork of Sonarr to work with movies à la Couchpotato.
Stars: ✭ 5,707 (+12042.55%)
Mutual labels:  torrent, bittorrent
P2p Media Loader
An open-source engine for P2P streaming of live and on demand video directly in a web browser HTML page
Stars: ✭ 822 (+1648.94%)
Mutual labels:  bittorrent, webtorrent

bittorrent-peerid travis npm downloads javascript style guide

Map a BitTorrent peer ID to a human-readable client name and version

Also works in the browser with browserify!

This module is used by WebTorrent.

install

npm install bittorrent-peerid

usage

const peerid = require('bittorrent-peerid')
const parsed = peerid('-AZ2200-6wfG2wk6wWLc')

console.log(parsed.client, parsed.version)

The parsed peerid object looks like this:

{
  client: 'Vuze',
  version: '2.2.0.0'
}

bittorrent-peerid can parse peer ids encoded in the following formats:

  • a 20-byte Buffer
  • a 40-character hex string
  • an arbitrarily-sized human-readable utf8 string (must decode to a 20-byte Buffer)

If an unknown peer id is passed in, the returned client will be unknown.

todo

  • Support known Azureus-style clients.
  • Support known Shadow-style clients.
  • Support known Mainline-style clients.
  • Support known Custom-style clients.
  • Recognize BitComet/Lord/Spirit spoofing.
  • Full support for client version parsing.
  • Full support for customized client version schemes.
  • Support unknown clients that conform to either the Azureus or Shadow-style conventions.

credit

This module is based heavily on the BTPeerIDByteDecoderDefinitions class from Azureus (Vuze). Related resources include:

license

MIT. Copyright (c) Travis Fischer and WebTorrent, LLC.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].