rh8888/valhallabot ? reverse-engineered prompt
Reverse engineered prompt
Build me a self hosted Telegram based management tool for subscription panels, with a web app and a backend API.
I want admins to be able to manage panels, agents, and users from Telegram, create and update subscriptions, rotate access tokens, set quotas, and see when someone has reached their limit. There should also be a single subscription link page for users that can show plain text configs or a simple web portal in Persian when opened in a browser.
Please include a REST API with interactive docs, plus a background worker that keeps usage in sync with the connected panels and automatically disables accounts when limits are exceeded. It should be easy to run with Docker Compose and MySQL, with one setup script that asks for the bot token, admin IDs, public URL, and database password. If you need to check current docs for the panel APIs or deployment details, look them up online and make it work cleanly.
Are you gonna build this?
make sure you review the code using coderabbit