Abodx9/A-tunnel — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small Python tool called atunnel that lets me share a local development server with someone on the internet using Cloudflare Quick Tunnels.

I want it to feel really simple. If I have a site running on localhost port 8080, I should be able to run atunnel with a port option and it prints a public trycloudflare URL that I can copy and send to someone. No login, no config setup, fast startup, and it should stop cleanly when I press Ctrl+C.

Please make it work both as a command line tool and as a small Python API, so I can use a Tunnel object in a with block and read the public_url from it.

Keep the package minimal and easy to install with pip or uv. Add a clear README with install steps, usage examples, and a warning that this is only for local development and should not be used for sensitive apps or production. Look up the current Cloudflare Quick Tunnels docs if you need to.

Want more depth? Deep Reverse