Go blog.jse.li

Building a BitTorrent client from the ground up in Go  ↦

What is the complete path between visiting thepiratebay and sublimating an mp3 file from thin air? In this post, we’ll implement enough of the BitTorrent protocol to download Debian.

It isn’t a full-fledged client (no magnet links, no multi-file torrents, no seeding), but that makes it an excellent candidate for reading and learning. Here’s the resulting source code.


Discussion

Sign in or Join to comment or subscribe

0:00 / 0:00