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.
Please Login to reply.
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.
Yes 🙌