4 karma · joined Oct 27, 2020 (6y ago) · 2 submissions
comment 10mo ago · link · parent
The key difference is the approach: it uses a Service Worker as an embedded HTTP server in the browser. This means files are loaded on-demand rather than requiring full downloads upfront. The SW intercepts fetch requests and streams chunks directly from the torrent swarm.
Live demos using some PeerWeb demo sites:
- Chess: https://gate.distribyted.com/?tid=1e14b1ba7fcd03e5f165d53ed8...
- Functionality test page: https://gate.distribyted.com/?tid=90c020bd252639622a14895a0f...
Code: https://github.com/distribyted/gate
Caveat: This is a proof of concept, so stability varies and it works best on Chromium-based browsers.
comment 5y ago · link · parent
It's pretty fun to work on it and implement new use cases. Right now it supports FUSE mounts, but I'm thinking to make it work as a WebDAV server too.
Also, I'm working on several demos, like SQLite compatibility, similar to https://github.com/lmatteis/torrent-net, or CSV analysis using Jupyter notebooks for huge datasets like https://ghtorrent.org/