hzrd149 on Nostr: Doing a little house cleaning today on my "Projects" directory and found this Its a ...
Doing a little house cleaning today on my "Projects" directory and found this
https://github.com/hzrd149/hyper-http-proxyIts a HTTP Proxy server for #hyperdht #holepunch.
This would be really cool to finish, because it would allow almost any app to start talking to hyper servers without needing to integrate hyperdht directly. similar to how #tor and #i2p proxies work :)
Unfortunately it has a bug, I wasn't able to get the built-in nodejs socket to connect to the hyperdht socket
This was a learning project for me so I don't really know what I'm doing with sockets and pipes. which is why I never got it working
The bug is here
https://github.com/hzrd149/hyper-http-proxy/blob/master/src/agent.ts#L21-L63Anyways, I don't have time right now to finish this. So if your someone who wants to play with #holepunch or knows a lot about Nodejs then maybe this is a good project to start with?
If no one wants to do it for free (understandable) I'm willing to pay 100k sats to the first person who fixes this project or creates a HTTP proxy that fits these requirements
- Runs on linux and takes less than 3-4 commands to setup
- Runs in docker (needed for start9 and Umbrel)
- Able to proxy HTTP requests to a holesail server
- Easiest way to test this is using "curl <hyper pubkey>.hyper --proxy
http://localhost:3128";
- (optional) http auth for the proxy
Reply here or send me a DM if you need more details
Published at
2024-08-12 15:15:03Event JSON
{
"id": "c11e495082cd481257f5f32094cfc3463f73a0ae3638f69f36f6bec6e6fb1f81",
"pubkey": "266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"created_at": 1723475703,
"kind": 1,
"tags": [
[
"t",
"hyperdht"
],
[
"t",
"holepunch"
],
[
"t",
"tor"
],
[
"t",
"i2p"
]
],
"content": "Doing a little house cleaning today on my \"Projects\" directory and found this\nhttps://github.com/hzrd149/hyper-http-proxy\n\nIts a HTTP Proxy server for #hyperdht #holepunch. \nThis would be really cool to finish, because it would allow almost any app to start talking to hyper servers without needing to integrate hyperdht directly. similar to how #tor and #i2p proxies work :)\n\nUnfortunately it has a bug, I wasn't able to get the built-in nodejs socket to connect to the hyperdht socket\nThis was a learning project for me so I don't really know what I'm doing with sockets and pipes. which is why I never got it working\nThe bug is here https://github.com/hzrd149/hyper-http-proxy/blob/master/src/agent.ts#L21-L63\n\nAnyways, I don't have time right now to finish this. So if your someone who wants to play with #holepunch or knows a lot about Nodejs then maybe this is a good project to start with?\n\nIf no one wants to do it for free (understandable) I'm willing to pay 100k sats to the first person who fixes this project or creates a HTTP proxy that fits these requirements\n- Runs on linux and takes less than 3-4 commands to setup\n- Runs in docker (needed for start9 and Umbrel)\n- Able to proxy HTTP requests to a holesail server\n - Easiest way to test this is using \"curl \u003chyper pubkey\u003e.hyper --proxy http://localhost:3128\"\n- (optional) http auth for the proxy\n\nReply here or send me a DM if you need more details",
"sig": "a7af330327322f77e1c2c6f0e8d744d29cf8980ad58a309b410d92ce9f759b1f6c654432389978d514bef51971f422a7eb3a2ee5ab3d4b31bb1430b48dd2e16f"
}