Open James-E-A opened 3 years ago
It looks like dat-js, “A pure JavaScript browser-friendly api for using dat”, had this functionality; but it's been archived, "superseded" by hyper-sdk… so I'm really hoping that this newer edition of the software hasn't destroyed that functionality.
I gravitated towards DAT because it looked technically superior to IPFS, which looked technically superior to BitTorrent, for doing peer-to-peer file transfer.
However, I'm currently writing a pure webapp (runs in the browser from only static files on the server-side), and I see that https://github.com/webtorrent/webtorrent makes it possible to use BitTorrent for this…
Can the DAT protocol be used in the same use-case? Or does it currently require browser-based clients to have a nontrivial "buddy server" to proxy connections and whatnot?