Torrra is an open-source BitTorrent client and library focused on simplicity, performance, and extensibility for developers and self-hosted enthusiasts. It provides a command-line interface (CLI) and API that make it easy to add torrenting functionality to applications or automate downloads within scripts and workflows. The core of Torrra is built with modern asynchronous I/O and efficient resource handling, allowing it to manage multiple active torrents, peer connections, and swarm interactions without wasting CPU or memory. Users can add, pause, prioritize, and remove torrents dynamically, while the client intelligently manages piece selection, peer discovery, and bandwidth allocation to optimize download throughput. Torrra also includes hooks for event monitoring and status reporting, enabling third-party tools to visualize torrent progress or integrate with home automation dashboards.
Features
- Command-line torrent management interface
- Asynchronous and efficient peer connection handling
- Real-time torrent status reporting and hooks
- Add, pause, prioritize, and remove torrents dynamically
- API support for integration into apps/scripts
- Modular design for extensibility