bittorrent-dht is a Node.js implementation of the BitTorrent Mainline Distributed Hash Table (DHT) protocol, enabling decentralized peer discovery for BitTorrent clients. This module allows users to announce and lookup peers for specific torrents without the need for trackers. It’s lightweight, fast, and well-suited for building custom torrent clients, browser-based peers, or decentralized apps. This project powers part of WebTorrent and is maintained with performance and minimalism in mind.

Features

  • Implements BitTorrent Mainline DHT in Node.js
  • Lightweight peer discovery for torrents
  • Supports announce and lookup operations
  • Event-driven API for building custom clients
  • Works in conjunction with WebTorrent
  • Minimal external dependencies
  • Compatible with magnet links and info hashes
  • Supports IPv4 and IPv6 networking

Project Samples

Project Activity

See All Activity >

Categories

BitTorrent

License

MIT License

Follow BitTorrent DHT

BitTorrent DHT Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BitTorrent DHT!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript BitTorrent Client

Registered

2025-04-09