Global Feed Post Login
Replying to Avatar Yonle

We all know that connections to #nostr relays are mostly done via websocket.

And then i got an idea: How about i create a way to communicate with Nostr relays via HTTP instead?

You see, We have QUIC already, And we know that most social media apps were using HTTP to communicate. But we are using websocket. So what's wrong with it? As a mobile data user, I am struggling to solve the high bandwidth problem.

So there we go, an prototype nhttp (Nostr over HTTP). It got basic stuff already: REQ, and event publishing

https://github.com/Yonle/nhttp

Avatar
rodant 2y ago

It makes sense to me, thanks for trying this. Websockets is just one possibility IMO, for some use cases other protocols can be a better choice. I'm looking forward to the new possibilities we'll create.

Reply to this note

Please Login to reply.

Discussion

No replies yet.