Why Nostr? What is Njump?
2024-01-05 12:06:35

CXPLAY on Nostr: 很早之前就看到有对 Nostr 通讯使用协议的争论. 虽然 nips ...

很早之前就看到有对 Nostr 通讯使用协议的争论. 虽然 nips 中的设计默认都是 WebSocket, 但是看起来实践后也有很多人想在某些使用场景下使用 HTTP.
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
Author Public Key
npub1gd8e0xfkylc7v8c5a6hkpj4gelwwcy99jt90lqjseqjj2t253s2s6ch58h