mafintosh / torrent-stream

The low level streaming torrent engine that peerflix uses
MIT License
1.94k stars 227 forks source link

Partial seeding #217

Open detarkende opened 4 months ago

detarkende commented 4 months ago

Hi, I'm trying to use torrent-stream as the base of a seedbox-like application.

I create a stream to one of the files, and everything is deselected - therefore only the actually watched part is downloaded. I would like to be a good swarm citizen and seed what I can, but I noticed that the upload event doesn't fire.

I have read that seeding isn't well supported with torrent-stream, but I don't exactly understand what would have to change in the code to achieve seeding - in particular partial seeding, since in most cases, I don't actually download the complete torrent data.

Could you help me with navigate this?

Thanks in advance :)