frphank's avatar
frphank 1 year ago
> Imagine future browsers ( #browstr ) allowing you to enter http://<some-nprofile>.nostr/… and it would simply send the http request and receive the response via nostr events! Just like .onion sites but without the slowness of TOR. Brave does that with IPFS. You just go ipfs://<hash> ...

Replies (3)

Interesting. What does the hash represent? How does it bypass the home NAT? I also think is an interesting project for large traffic. But for #IoT devices, http-over-nostr would be the best. All kind of Arduino/ESP32 projects can easily connect to websockets, so they could serve simple “websites” for configuration and operation.
It bypasses NAT by using a message bus instead of direct p2p communication. A Nostr relay is that middleman and you probably want to run your own relay, so that needs to be accessible past the NAT (could be hosted on a VPS, or you could spam someone else's relay).
frphank's avatar
frphank 1 year ago
The hash is the hash of the data you're requesting. You have to be running a local IPFS node or Brave will run one for you.