Skip to content
Projets

À propos

Bot professionnel pour vendre des VPN

Systèmes et infrastructure

Comment ces chiffres sont mesurés

What you can do

  • Automated config creation for every purchase, with QR codes
  • Trial accounts, bulk purchase and On-Hold services
  • Renewal, extra volume, extra time and location change
  • Telegram Mini App

Progression mesurée des étoiles

in 24h
+2
in 7 days
+4
in 15 days
+5
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

🤖 Mirza Bot

A Telegram bot for selling VPN services, with fully automated config creation.

Telegram Channel Telegram Group Documentation

Stars Forks Issues License PHP 8.4.27+


📚 Contents


✨ Overview

Mirza Bot sells VPN subscriptions on Telegram and automates the whole flow: purchase, payment, config creation and service management.

It connects to your panels, creates configs automatically, accepts many payment methods, and comes with a Telegram Mini App for customers and a web admin panel for you.


📖 Documentation

The full manual is at mirzabot.com/docs: 61 pages in Persian (فارسی). Every menu is documented with the steps the bot asks for, what each field accepts, and the errors you can get.

Section What it covers
شروع (Getting started) Requirements, server and shared-host install, CLI, updating and removing
ساختار (Structure) Repository layout, database tables, which file does what
پنل‌ها (Panels) Adding each panel type, protocols and inbounds, manual configs, nodes
فروشگاه (Shop) Products, categories, trial accounts, On-Hold, bulk purchase, manual sale, renewals
پرداخت (Payments) Card-to-card, online and crypto gateways, wallet and refunds
مدیریت (Administration) Admin roles, feature switches, report channel, texts, forced join, web panel
رشد و بازاریابی (Growth) Referrals, cashback, discount and gift codes, lottery, reseller system
نگهداری (Operations) Cron jobs, backup and restore, security checklist, troubleshooting

🧩 Supported Panels

Marzban Pasarguard
Marzneshin 3x-ui (Sanaei)
Hiddify Rebecca
Nexora WGDashboard (WireGuard)
WG-Mate MikroTik
IBSng Mirza Agent
Manual sale

💳 Payment Gateways

Gateway Type
Card-to-card Manual (receipt + admin approval)
Variza Automated card-to-card
AbanGateway Automated card-to-card
Zarinpal Online gateway
Aqayepardakht Online gateway
IranPay Online gateway
NOWPayments Crypto
Plisio Crypto
CubePay Crypto
Offline crypto Manual (admin approval)
Telegram Stars Telegram

⚙️ Features

Sales

  • Automated config creation for every purchase, with QR codes
  • Trial accounts, bulk purchase and On-Hold services
  • Renewal, extra volume, extra time and location change

Customers

  • Telegram Mini App
  • Wallet, purchase history and service management
  • Support, FAQ and tutorials
  • Phone verification and forced channel join

Growth

  • Referrals, cashback, discount and gift codes
  • Lottery and wheel of fortune
  • Agent / reseller system with their own bots

Administration

  • Web admin panel in four languages
  • Multiple admins with roles
  • Editable bot texts and username formats
  • Automatic backups, expiry reminders and reports

🚀 Installation

Requirements

Server A clean Ubuntu 22.04 / 24.04 / 26.04 or Debian 12 / 13
Domain A domain pointed to the server's IP
Stack PHP 8.5.12+ (or 8.4.27+), Apache, MySQL / MariaDB and SSL, installed by the script

💡 Start from a fresh server with no web server, database or panel on it.

Install, update, remove

Run this as root:

curl -o install.sh -L https://raw.githubusercontent.com/mahdiMGF2/mirzabot/main/install.sh && bash install.sh

After the first install, open the same menu any time with mirza:

1) Install          4) Update PHP       7) Migrate Free → Pro
2) Update           5) Renew SSL        8) Help
3) Remove           6) Backup database  9) Import database
                                        0) Exit

💻 Command Line

The menu items can also run directly, which is handy for scripts.

Command What it does
mirza install Install the bot
mirza update Update the bot
mirza remove Remove the bot and its services
mirza update-php Upgrade PHP to the required version
mirza renew Renew the SSL certificate
mirza backup Back up the database and send it to Telegram
mirza import Import a database from an SQL file (beta)
mirza migrate Migrate Free → Pro
Option Description
--token Telegram bot token
--admin Admin chat ID
--domain Domain, e.g. bot.example.com
--db-user / --db-pass Database username and password
--version A specific release, e.g. 0.9.1
--channel release, beta or auto
-h, --help Show help
mirza install --token 123:ABC --admin 111 --domain bot.example.com --version 0.9.1
mirza update --channel release

💎 Free vs. Pro

Free Pro
Automated sales and config creation ✅ ✅
Trial accounts, wallet and service management ✅ ✅
All supported panels and payment gateways ✅ ✅
Advanced customization and analytics — ✅
Extra management modules — ✅

📌 How to buy Pro: see on Telegram


🌍 Languages

The bot and the web panel are fully translated into:

🇮🇷 Persian (فارسی) · 🇬🇧 English · 🇷🇺 Russian (Русский) · 🇨🇳 Chinese (中文)


💵 Support the Project

If Mirza Bot helps your business, you can support its development with a crypto donation:

Donate

👥 Contributors


📖 Documentation · 💬 Channel · 👥 Group · ⭐ Star on GitHub

Explorer des projets similaires

Chargement…