Why Nostr? What is Njump?
2024-08-12 15:15:03

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-proxy

Its 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-L63

Anyways, 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
Author Public Key
npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr