Torrent X

A BitTorrent client that allows downloads using a single-file torrent or magnet links

View the Project on GitHub kpraveenkumar19/torrent-X

Torrent-X icon Torrent X

TorrentX is a BitTorrent client written in Java. It implements the core of the BitTorrent protocol, allowing downloads using a single-file torrent. It also supports magnet links and saves the result to your Downloads folder.

Table of Contents

Features

Installation

brew tap kpraveenkumar19/torrentx
brew install torrentx

Usage

After installing (via Homebrew) the commands are available globally:

download <torrent_file>
magnet_download <magnet_link>

download using torrent file

Downloads a single-file torrent referenced by <torrent_file>.

Examples:

download sample.torrent

Important:

download using magnet file

Downloads via a magnet link. A tracker URL must be present in the magnet (the tr parameter), and the infohash must be provided via xt=urn:btih:<infohash>.

Examples:

magnet_download "magnet:?xt=urn:btih:<infohash>&tr=https%3A%2F%2Ftracker.example.org%2Fannounce"

Limitations

Resources

Contributing

Contributions are welcome! To propose changes:

  1. Fork the repository and create a feature branch
  2. Make your changes
  3. Open a Pull Request with a clear description and examples