Live data from Hacker News

Show HN: I wrote a BitTorrent Client from scratch

github.com

1–10 of 68 posts

Re: Show HN: I wrote a BitTorrent Client from scratch

#2
This is cool! I’ve been thinking about something like this as well. How hard was it, and do you have a sense for how “complete” it is? Does it handle DHT and Magnet and all the crazy NAT traversal stuff?

I’m guessing the main obstacle for me has always been that I’m not sure what the complete list of features is to have a client that will just work for the majority of torrents in the wild. It seems like there are dozens of protocols associated with torrenting and I don’t even know what the full list is much less what each does.

Re: Show HN: I wrote a BitTorrent Client from scratch

#3

This is cool! I’ve been thinking about something like this as well. How hard was it, and do you have a sense for how “complete” it is? Does it handle DHT and Magnet and all the crazy NAT traversal stuff? I’m guessing the main obstacle for me has always been that I’m not sure what the complete list of features is to have a client that will just work for the majority of torrents in the wild. It seems like there are doz…

it was challenging for sure. Took me almost a month to get acquainted with the protocol, how bencoding works etc, build a mental model and then eventually writing code.

Magnet and DHT are yet to be added.

Re: Show HN: I wrote a BitTorrent Client from scratch

#6
Excellent, looks clean and simple.

Suggestion: Add a simple usage one liner in the README on how to actually download a .torrent file with it.

  ./go-torrent My-Linux-Distro-Wink-ISO.torrent
Suggestion: Bonus points if you add torrent.ParseFromUrl

Everyone should do this for their own spiritual journey.

Re: Show HN: I wrote a BitTorrent Client from scratch

#7
post #6

Excellent, looks clean and simple. Suggestion: Add a simple usage one liner in the README on how to actually download a .torrent file with it. ./go-torrent My-Linux-Distro-Wink-ISO.torrent Suggestion: Bonus points if you add torrent.ParseFromUrl Everyone should do this for their own spiritual journey.

thanks for the suggestion, appreciate it.
Post reply on HN