Skip to content

MikaelSmith/torrent_client

Repository files navigation

torrent_client

A simple Ruby BitTorrent client based on libtorrent-rasterbar

Setup

Requires Boost and libtorrent. On Mac OS X these can be setup with Homebrew

brew install boost libtorrent-rasterbar

Usage

# Returns true if the torrent payload is complete on-disk, false otherwise.
TorrentClient.verify '<file>.torrent' '<destination_dir>'

# Downloads the torrent payload to the destination_dir. Returns when complete.
TorrentClient.download '<file>.torrent' '<destination_dir>'

About

A simple Ruby BitTorrent client based on libtorrent-rasterbar

Resources

License

Stars

Watchers

Forks

Packages

No packages published