blenderskool / blaze

⚡ File sharing progressive web app built using WebTorrent and WebSockets
https://blaze.now.sh/
MIT License
2.26k stars 278 forks source link

Upgrade to webtorrent v2 #175

Open ddelange opened 1 month ago

ddelange commented 1 month ago

Main advantage of webtorrent v2: it uses local storage as opposed to keeping the complete files in memory.

This is more scalable in terms of file size, and allows users to upload entire folders (with nested structure) to a receiver-specified local folder. Currently blaze is limited to a flat list of files going to the browser downloads.

Started the discussion here: https://github.com/blenderskool/blaze/pull/174#discussion_r1701773132

Potential implementation elaborated here: https://github.com/webtorrent/webtorrent/issues/2849

ddelange commented 1 month ago

@blenderskool do you wish to track the 'entire folder upload' / 'receiver selects download destination' feature in a separate issue?