btc is an implementation of a subset of the BitTorrent protocol to allow us to download torrents. It is mainly written for learning purposes.
python main.py <path to torrent file>
bencode.pycontains code for parsing torrent filestracker.pyimplements the tracker protocolpeers.pyimplements the peer protocoloracle.pycoordinates among the different threads we create (for downloading different pieces)
- The downloads proceed real slow. For example, downloading a one GB file took us five and a half hours. Fix This.
- Currently we support UDP trackers only. Add support for HTTP trackers.