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
- Rust 1.70+
- Telegram Bot API token
- Remnawave API access credentials
- Environment variables configured (see setup)
Installation & Setup ๐ฆ
1. Clone repository
git clone https://github.com/LineGM/glebus_vpn_bot.git
cd glebus_vpn_bot2. Build project
cargo build --release2. 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_botOn this page
Languages
Rust96.1%Dockerfile3.9%
Contributors
The Unlicense
Created December 2, 2024
Updated August 12, 2025