Miguel8pp/proxyff ? reverse-engineered prompt

Reverse engineered prompt

Build me a small JavaScript proxy tool that I can run from the command line.

I want it to take incoming requests and forward them through another proxy or endpoint, with simple configuration from the code or environment variables. Keep it easy to start, easy to change, and include basic logging so I can see what’s happening when a request goes through.

If it makes sense, add a few helpful defaults and clear error handling so it doesn’t crash on bad input. Make the main logic live in the existing JavaScript file and keep the project simple to run with Node. If you need to check current docs for anything networking related, go ahead and look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab