Here is a very early demo of running a p2p-news-app in a web browser.

It leverages hyperswarm-dht-relay in a similar fashion to nostr relays.

Hopefully this will soon be a lot more mature :-)

https://youtu.be/79pv95Yk8qE?si=SAP9zo-o3bS4xhQX&t=493

Reply to this note

Please Login to reply.

Discussion

🤖 Tracking strings detected and removed!

🔗 Clean URL(s):

https://youtu.be/79pv95Yk8qE?t=493

❌ Removed parts:

si=SAP9zo-o3bS4xhQX&

why not iroh

why iroh?

dat started in 2013 and is way more mature and in many ways better.

whats the feature you like with iroh that you even ask this question?

with iroh you cant build this anyway.

imho iroh is the new IPFS.

IPFS went nowhere... lets see how it goes for iroh? ...woupdnt count on anything.

Its just the same old hype that happened to IPFS too

because it doesn't need nodejs

that's the only reason I'm asking

the p2p app above is all about embracing javascript. iroh is rust.

there is a dat implementation im rust too but it is javascript by choice. what needs to be fast can and is implemented in C and can be rust too, but this is about building apps and making it easy - the example above is just the start

im general, p2p wont work if its not a thing the masses can use and program in just lile they coupd build html/css websites in school.

p2p is something we all need to be able to participate in

that's a point

but I thought you couldn't use hyperswarm in the browser

that is correct.

The app here uses a hyperswarm-dht-relay and connects to it via web socket.

It is essentially the same principle as in Nostr, but the crucial difference is that you CAN run your relay on localhost and it works, making it true p2p even though you use a browser.

now granted, once you are willling to run on localhost you could also use a native app.

But that is the point - from nostr style download nothing and just use it, it is a gradual transition towards self sovereignity when a user is ready.