Hacker Newsnew | past | comments | ask | show | jobs | submit | ajnavarro's commentslogin

I built something similar a while back: Distribyted Gate: it turns any magnet link into a browsable webpage.

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.


A torrent client that exposes torrent content as files: https://github.com/distribyted/distribyted

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/


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

Search: