yuvrajmodz/NitroExpose ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python command line tool that makes it really easy to expose a local app port on a domain or subdomain with just one command.

I want it to work on Ubuntu or Debian servers, with root or sudo access, and it should ask for a domain or subdomain plus a local port like 8000, then set everything up automatically. It should configure the web server, handle SSL with Let’s Encrypt, and show clear progress so the whole setup feels fast and simple. If the user does not already have a domain, it would be nice if the tool can also offer a free subdomain option that works the same way.

Please include a clean install and usage flow, a way to remove an existing domain setup, and a version check command. Make the experience friendly for people running Flask, FastAPI, Node apps, or similar local services. If you need to check current docs online while building it, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab