GitHunt
LI

LineGM/glebus_vpn_bot

GlebusVPN service telegram bot

GlebusVPN Bot ๐Ÿค–

Telegram bot for managing VPN connections to GlebusVPN.

A Rust-based Telegram bot for managing VPN subscriptions via the Remnawave API. The bot allows users to create, view, recreate, and delete their VPN subscriptions directly from Telegram.

Features

  • ๐Ÿš€ Create new VPN subscriptions
  • ๐Ÿ”‘ View existing subscription links
  • ๐Ÿ”„ Regenerate subscription links
  • โŒ Delete subscriptions
  • โ„น๏ธ View detailed user/profile information
  • ๐Ÿ“Š Monitor traffic usage
  • ๐Ÿ“ Comprehensive error handling

Requirements

  1. Rust 1.70+
  2. Telegram Bot API token
  3. Remnawave API access credentials
  4. Environment variables configured (see setup)

Installation & Setup ๐Ÿ“ฆ

1. Clone repository

git clone https://github.com/LineGM/glebus_vpn_bot.git
cd glebus_vpn_bot

2. Build project

cargo build --release

2. Create .env file

Create .env file in the project root directory (same level as Cargo.toml) with:

TELOXIDE_TOKEN=your_telegram_bot_token
PANEL_BASE_URL=https://your.panel.url
REMNAWAVE_API_TOKEN=your_remnawave_api_token

When running the compiled binary directly, place .env in the same directory as the executable:

/target/release/

โ”œโ”€โ”€ glebus_vpn_bot # Binary

โ””โ”€โ”€ .env # Environment file

3. Run:

# Cargo
cargo run --release

# Binary directly
cd target/release
./glebus_vpn_bot

Languages

Rust96.1%Dockerfile3.9%

Contributors

The Unlicense
Created December 2, 2024
Updated August 12, 2025