it's very simple to also serve regular HTTP over the same socket, the websocket connections start the same as normal HTTP requests, with an upgrade header, which initiates the websocket handshake

https://mleku.realy.lol will return you a little message that i set to include the NIP-11 information (which all the clients don't seem to update very often btw)

Reply to this note

Please Login to reply.

Discussion

i should also add that both khatru and relayer ( https://github.com/fiatjaf ) have got little slots to let you put arbitrary web handlers in them to do such things as the http server you need for RSS documents, really you just need another process running that fields the updates and rewrides the static files that the webserver can serve)

i haven't done this terribly much with my fork of all this but i made it do some basic things, thanks to your nostrudel relay page showing the content of the normal https socket i put something in there