Skip to content

mr-mmh/3x-ui-telegram-bot

Repository files navigation

🚀 mmhbot: 3x-ui Telegram Sales Bot

TypeScript Bun Telegram 3x-ui

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.

✨ Features

  • 🤖 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.

🛠️ Tech Stack

  • Runtime: Bun
  • Language: TypeScript
  • Bot Framework: grammY
  • API Target: 3x-ui (Sanaei version)

(Prerequisites)

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.

🚀 Installation & Setup

  1. Clone the repository:
   git clone https://github.com/[Your-Username]/[Repository-Name].git
   cd [Repository-Name]

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors