An open API service indexing awesome lists of open source software.

https://github.com/toma-work125/v2-xbot

A multi panel, serverless (cloudflare worker) bot to order management & VPN Accounting
https://github.com/toma-work125/v2-xbot

hiddify hiddify-bot reality telegram-bot trojan v2ray x-ui

Last synced: 9 days ago
JSON representation

A multi panel, serverless (cloudflare worker) bot to order management & VPN Accounting

Awesome Lists containing this project

README

          

# v2-xBot

[![](https://img.shields.io/github/v/release/javadib/v2-xbot.svg)](https://github.com/javadib/v2-xbot/releases)
[![Downloads](https://img.shields.io/github/downloads/javadib/v2-xbot/total.svg)](#)
[![License](https://img.shields.io/badge/license-GPL%20V3-blue.svg?longCache=true)](https://www.gnu.org/licenses/gpl-3.0.en.html)

v2-xBot is multi panel, serverless (cloudflare worker) bot to order management & VPN Accounting system.
#

# Features
- [x] Add new order
- [x] Order history
- [x] Management
- Manage (CRUD) `Panels` in bot
- Manage (CRUD) `Servers` in bot
- Manage (CRUD) `Payments` methods in bot
- [x] Apps & link (for users)
- [x] Custom Welcome text
- [x] Seed data for `clientApps`
- [ ] User Profile
- [ ] Affiliate system
#

# Get Started
0) Create a cloudflare worker, KV namespace & bind to `db` variable
1) Go to worker `settings`, `variables` section, and add following variables:
- `adminId` : your Telegram Admin ID (get from [MyIdInfoBot](https://t.me/Myidinfobot)).
- `botToken` : your Telegram bot token.
- `tlgSupport` : your support Telegram username (Remember put `@` at the first).
3) Download [Latest Version](https://github.com/javadib/v2-xbot/releases/latest/download/dist.zip)
4) Extract `dist.zip` and replace whole `index.js` codes with default cloudflare worker code.
4) Open `YOUR_WORKER.worker.dev/check` to check all variables are `✅ OK`.
4) Open `YOUR_WORKER.worker.dev/seed` to save initial data.
5) To enable Auto-Backup, first set values in bot management section, then Go to worker, `Triggers` tab, `Cron Triggers` section, and add cron trigger.
5) Save and deploy worker and send a `GET ` request to `/webhook` path to register webhook of your bot. make sure you see `ok` in response.

#
![1](./docs/images/register-result.png)

6) Send message to bot with admin account and manage all you need.
7) Done!
#

#

**Buy Me a Coffee :**
- USDT (TRC20): `TBHBELagtDq9c5cmz4HVjcRcKNiXkxr8Ub`