BitTroll listens to the BitTorrent Mainline DHT for torrent info hashes and then tries to resolve the torrent’s metadata (file names, torrent titles, file sizes, etc) to store for purposes of indexing/searching. BitTroll can serve a basic web UI, with basic search capability.

BitTroll was my second project in Python and I certainly wasn’t used to the global interpreter lock when developing this, nor had I any search experience. This project was done as an experiment.

Tech Stack

  • Python
  • libtorrent-rasterbar
  • Flask
  • MySQL
  • jQuery