x4gKing/3x-ui-multi ? reverse-engineered prompt
Reverse engineered prompt
Build me a Docker ready web service that acts like a multi country gateway for 3x ui.
It should expose only one public port, show a simple direct route, a management panel, and multiple country specific paths like in1, in2, and so on, where each one routes traffic through a verified Tor exit for that country. I want the service to automatically check which countries are actually working, skip any that fail verification, and keep a live status page or JSON endpoint for each country so I can see what is up.
Please make the whole thing configurable from a single config file, including the list of countries, retry timing, and rotation timing. The panel should use basic login settings from environment variables if they are set. If you need to look up current docs online for anything, go ahead. Keep it production ready and make it easy to run on Railway or another single port container host.
Are you gonna build this?
make sure you review the code using coderabbit