The preference seems to be for Nostr-related services to use things like DVM so everything stays in WebSocket world.
IMO, the Nostr protocol specs over-index on WebSocket technology. There's no reason we can't create HTTP APIs for querying relays. In fact, that's something I'm intending to work on, in the future.
Just some classic HTTP would be quick and easy for some things for sure. Websockets are neat, but sometimes its unnecessary.
WebSocket requires clients to be that much "heavier" just to play in the Nostr space. An API that's basically an HTTP skin for the actual WebSocket messaging would allow client devs to build lightweight clients with more familiar technologies.
Thread collapsed
Thread collapsed
Agree. Working on a closed-source client and I am essentially adding a REST API between the client and relays.
Why did Nostr make all these bad design decisions.....
Thread collapsed
Thread collapsed