vernesong/OpenClash ? reverse-engineered prompt

Reverse engineered prompt

Build me an OpenWrt LuCI plugin called OpenClash that lets me manage a Mihomo Clash client from the router web interface.

I want a simple admin page where I can turn the service on and off, upload or edit a config, pick proxy nodes and rules, and see whether the connection is working. It should support the common proxy types mentioned in the project, like Shadowsocks, VMess, Trojan, and Snell, and make it easy to switch between different routing modes without touching the command line.

Please make it feel like a real router app, with clear status information, logs, and basic troubleshooting helpers. If you need current details about OpenWrt or Mihomo behavior, look up the latest docs online first.

Use the existing OpenWrt and LuCI style, keep it lightweight, and make sure it can be packaged or built as an OpenWrt app like a normal plugin.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab