mafintosh / peer-wire-swarm

swarm implementation for bittorrent
MIT License
80 stars 18 forks source link

Add License File #3

Closed feross closed 11 years ago

feross commented 11 years ago

Preferably a permissive license like MIT :)

mafintosh commented 11 years ago

Done - thanks for pointing this out.

feross commented 11 years ago

No problem - great work on this module. How long did it take you to write it?

On Thursday, November 7, 2013, Mathias Buus wrote:

Done - thanks for pointing this out.

— Reply to this email directly or view it on GitHubhttps://github.com/mafintosh/peer-wire-swarm/issues/3#issuecomment-27951644 .

Feross Sent from mobile ☏

mafintosh commented 11 years ago

Thanks. The module itself is actually pretty lean since peer-wire-protocol does most of the heavy lifting, so it was actually really easy to write (<1 day).

feross commented 11 years ago

Nice, that's impressive. Less than 1 day is fast. Had you done BitTorrent stuff before?

How long did peer-wire-protocol take?

On Thursday, November 7, 2013, Mathias Buus wrote:

Thanks. The module itself is actually pretty lean since peer-wire-protocolhttps://github.com/mafintosh/peer-wire-protocoldoes most of the heavy lifting, so it was actually really easy to write (<1 day).

— Reply to this email directly or view it on GitHubhttps://github.com/mafintosh/peer-wire-swarm/issues/3#issuecomment-27952183 .

Feross Sent from mobile ☏

mafintosh commented 11 years ago

Not before doing peerflix. Bittorrent has some really nice documentation which makes it easy enough to implement. I don't remember how much time I spent on peer-wire-protocol but the first version of peerflix only took a couple of weekends to do. It has been interated on quite heavily since though :)

feross commented 11 years ago

Peerflix is brilliant. It's such an obvious idea and it's remarkable that it works so well. Before I knew much about BitTorrent I assumed that most clients didn't implement such a feature because there must be serious downsides from a protocol perspective (like other peers banning you for misbehaving and not fetching rarest-first). It's great that this is not a problem.

Have you seen my project WebTorrent (http://webtorrent.io)? It's pre-alpha and nothing works yet, but I think it'll work once we hash everything out.

mafintosh commented 11 years ago

That looks really awesome. Making this work in the browser could make it easy for "mainstream" users to use. Since "watching video" is usually was slower than "downloading video" on a modern internet connection you often end up seeding quite a lot which kinda helps mitigate the problem of fetching the parts in linear order. Can you interact with regular torrent clients using just WebRTC?

feross commented 11 years ago

No, you can't interact with regular clients using just WebRTC. See the readme section on interoperability: https://github.com/feross/webtorrent#interoperability-with-bittorrent