mack-a/v2ray-agent ? reverse-engineered prompt

Reverse engineered prompt

Build me a Linux one click install and management script for a VPS that sets up Xray core and sing box, with a simple menu to add and manage users, ports, and configs.

I want it to support common proxy protocols like VLESS, VMess, Trojan, Hysteria2, Tuic, and a few related options, and it should handle TLS certificates automatically so setup feels as hands off as possible. It should also be able to generate subscription links, and include a few basic routing and access controls like domain blocking and simple traffic rules for things like IPv6, Socks5, DNS, and reverse proxy style access.

Make it easy to run again later from the terminal to reopen the management menu. If you need to check current install steps or best practices, look up the latest docs online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab