A blazingly fast and fully automated Telegram bot for selling and managing VPN configurations, built on top of the 3x-ui (Sanaei) panel API. Powered by Bun and TypeScript for maximum performance and type safety.
- 🤖 Automated Sales: Users can buy VPN configs directly via Telegram.
- ⚡ Ultra Fast: Built with Bun runtime for quick API requests and bot responses.
- 🔗 Smart Subscriptions: Automatically generates and delivers Subscription Links (subId) to users.
- 📊 Usage Tracking: Users can check their remaining bandwidth (TotalGB) and expiration date.
- 🛠️ Admin Dashboard: In-bot admin panel to check active users, server status, and manual configuration generation.
- 💳 Payment Integration: (Add your supported payment gateways here, e.g., Crypto, Local Banks).
- 🔄 Auto-Renewal: Reminds users before their service expires.
- Runtime: Bun
- Language: TypeScript
- Bot Framework:
grammY - API Target: 3x-ui (Sanaei version)
Before you begin, ensure you have met the following requirements:
- A server running the 3x-ui (Sanaei) panel.
- Bun installed on your machine/server (
curl -fsSL https://bun.sh/install | bash). - A Telegram Bot Token from @BotFather.
- Clone the repository:
git clone https://github.com/[Your-Username]/[Repository-Name].git
cd [Repository-Name]