Girino Vey! on Nostr: I had an idea, please say if it makes sense: We could use Nostr as a proxy for HTTP ...
I had an idea, please say if it makes sense:
We could use Nostr as a proxy for HTTP connections to help people behind national firewalls access "forbidden" content.
How would it work (all events gift wrapped):
1- the browser makes a request to the local proxy.
2- the local proxy sends an event requesting a specific HTTP request (ex: GET
https://google.com) to the server.
3- the server executes the request and responds with one (or more, split randomly by size so we are not filtered) events with a short retention period, containing the responses. The response events are numbered so we can reorder them
4- the local proxy reads all the responses and reassemble them, then sends the result to the local browser.
might needs more polishing, but what to you think? Useful? doable?
#nostr #asknostr #nip #protocol #proposal
Published at
2025-02-13 15:10:29Event JSON
{
"id": "6cb8edd2360e89026d9d9051d0a130d7e66ebdab0d8d3252fb086670b1f8675e",
"pubkey": "3ffac3a6c859eaaa8cdddb2c7002a6e10b33efeb92d025b14ead6f8a2d656657",
"created_at": 1739459429,
"kind": 1,
"tags": [
[
"t",
"nostr"
],
[
"t",
"asknostr"
],
[
"t",
"nip"
],
[
"t",
"protocol"
],
[
"t",
"proposal"
]
],
"content": "I had an idea, please say if it makes sense:\n\nWe could use Nostr as a proxy for HTTP connections to help people behind national firewalls access \"forbidden\" content.\n\nHow would it work (all events gift wrapped):\n\n1- the browser makes a request to the local proxy.\n2- the local proxy sends an event requesting a specific HTTP request (ex: GET https://google.com) to the server.\n3- the server executes the request and responds with one (or more, split randomly by size so we are not filtered) events with a short retention period, containing the responses. The response events are numbered so we can reorder them\n4- the local proxy reads all the responses and reassemble them, then sends the result to the local browser.\n\n\nmight needs more polishing, but what to you think? Useful? doable? \n\n#nostr #asknostr #nip #protocol #proposal\n\n",
"sig": "ca90966b2fe5764f345909e5d11921ba4ef5881d66626a4e89ca3654980377983a306fb8be2abe149322eb4d40a2043402bfcb2e5f9761ae8dd54eae07e65dd0"
}