Reverse engineered prompt

GitHub

I want a Telegram bot for selling VPN accounts that basically runs the whole flow for me from one setup. Customers should be able to buy a plan, pay, and get their config created automatically, including a QR code and subscription link when that makes sense. It should also support trial accounts, renewals, extra volume purchases, wallet balance, discount or gift codes, referrals, cashback, and simple support or FAQ pages.

I also want a clean Telegram Mini App for users and a password protected web admin panel for me so I can manage products, users, payments, messages, admins, backups, and expiry reminders. It should work with common VPN panels like Marzban, Marzneshin, S UI, Hiddify, WireGuard dashboard, MikroTik, and IBSng, plus both manual card payment and online or crypto gateways.

Please make it installable on a fresh Ubuntu server with a domain and SSL, ideally through one simple install script with update and remove options too. Look up any current docs if you need to.

Have a live product UI? Try website reverse