Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thank you. TIL: twilio runs a turn service:

https://www.twilio.com/stun-turn

Via https://github.com/webtorrent/instant.io/blob/master/README....

"Copy secret/index-sample.js to secret/index.js and set the Twilio API key if you want a NAT traversal service (to help peers connect when behind a firewall)."

Are there any open source variants that combines browser p2p and a "permanent" seed server?

I'd like to self-host a solution that let you upload (preferably via webtorrent) and share a file from a browser, but then let the server cache/host the file (preferably with http seeding support) - as well as give you a shareable magic link for classic torrent clients and a http url for browser download.

As far as I can tell, most solution ion are either browser p2p only, or server to browser (download only)?



> I'd like to self-host a solution that let you upload... from a browser, but then let the server cache/host the file... as well as give you a shareable magic link for torrent clients... and a http url for browser download.

Not self-hosting or open-source, but: One could upload objects to S3 and generate a .torrent file to download it from a BitTorrent client or download it via HTTP. Both these features are available at no extra cost (except for the bandwidth, of course).

Unfortunately, S3 has stopped supporting .torrent downloads from newer regions (post 2016). Also, the per-torrent object size is limited to 5GiB, plus enabling public and anonymous access to the torrent-able object is required, which is understandable but might be not feasible for most use-cases.

https://docs.aws.amazon.com/AmazonS3/latest/dev/S3TorrentRet...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: