qmetrics.net

libtorrent

Feature-complete C++ BitTorrent protocol library

libtorrent screenshot

libtorrent implements the BitTorrent protocol and common extensions in C++ for servers and embedded use. It emphasizes efficiency, documented APIs, and bindings for several languages.

Overview

libtorrent is an open-source C++ library that implements the BitTorrent protocol together with most widely used extensions, intended for real-world clients and backend systems. Main project goals are efficiency, memory frugality, and an API that is straightforward to integrate.

The library is configurable for both server-class machines and constrained embedded devices. It ships with a simple reference BitTorrent client that shows typical API usage. Build instructions and tuning guides are published on libtorrent.org, with Python bindings documented separately.

Documented extensions and subsystems include uTP, DHT features (security and store extensions), multi-tracker support, HTTP seeding, streaming-oriented APIs, and UDP tracker protocol support. Language bindings are listed for Python, Java, Go, and Node.js.

libtorrent is distributed under a BSD-style license that allows proprietary use if credit and license text are included. A security audit (2020) and fuzzing notes appear in project documentation.

Key features

  • BitTorrent protocol implementation
  • Popular protocol extensions
  • uTP and DHT support
  • HTTP seed and multi-tracker
  • Python and other language bindings
  • Simple reference client included
  • Server and embedded configuration
  • Documented C++ API

Use cases

  • Custom BitTorrent clients
  • Embedded torrent downloaders
  • Backend content distribution
  • Research on peer-to-peer protocols
  • Python apps via bindings

Tags

Similar software

Netty

Event-driven Java framework for protocol servers and clients

Netty is an asynchronous, event-driven network stack for building maintainable high-performance protocol servers and clients in Java.

★ 35.1k⟳ todayApache-2.0

Tokio

Rust runtime for reliable asynchronous network applications

Tokio is an event-driven, non-blocking I/O platform for asynchronous Rust programs. It supplies scheduling, timers, async TCP and UDP, and building blocks for network services.

★ 33.8k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

libuv

Cross-platform asynchronous I/O support library

libuv is a multi-platform library centered on non-blocking I/O. Node.js and several other runtimes embed it for networking and event handling.

★ 27.4k⟳ 3 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Ws

Node.js WebSocket client and server library

The ws package implements WebSocket client and server roles for Node.js. It is not for browser runtimes; front ends should use the native WebSocket API or an isomorphic wrapper.

★ 22.8k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

WebRTC

Pure Go WebRTC stack for real-time media

Pion WebRTC implements the WebRTC API in Go without cgo, enabling peer connections, media, data channels, and ICE across servers, desktops, mobile, and WebAssembly targets.

★ 16.9k⟳ 3 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Workflow

C++ async networking and parallel workflow engine

Sogou C++ Workflow is an enterprise-style C++ engine for HTTP servers, async clients, DAG workflows, and parallel compute used in Sogou’s online backends.

★ 14.4k⟳ 2 days agoApache-2.0