https://github.com/ipmartnetwork/ipmart-wgdasboard
A powerful Persian-ready dashboard for managing WireGuard VPN, with live system stats, QR codes, API access, Telegram integration, traffic/time limits, and full admin control.
https://github.com/ipmartnetwork/ipmart-wgdasboard
Last synced: about 2 months ago
JSON representation
A powerful Persian-ready dashboard for managing WireGuard VPN, with live system stats, QR codes, API access, Telegram integration, traffic/time limits, and full admin control.
- Host: GitHub
- URL: https://github.com/ipmartnetwork/ipmart-wgdasboard
- Owner: iPmartNetwork
- License: other
- Created: 2025-05-05T11:09:35.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-07T10:05:59.000Z (over 1 year ago)
- Last Synced: 2026-03-29T01:25:04.223Z (4 months ago)
- Language: Python
- Homepage: https://iPmart.network
- Size: 127 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# iPmart WGDashboard
یک داشبورد کامل و مدرن برای مدیریت WireGuard، طراحیشده برای محیطهای فارسی با امکانات قدرتمند مدیریتی و API.
---
## 🚀 ویژگیها
- 🎨 رابط کاربری فارسی و راستچین (RTL)
- 📦 بکاپگیری و بازیابی کانفیگ
- 🤖 ارسال پیام و فایل بکاپ به ربات تلگرام
- 👤 پنل کاربری اختصاصی با QR Code و دانلود فایل
- 📈 گراف زنده مصرف CPU, RAM, TX/RX
- 🧩 API REST با احراز هویت توکنی
- 🛠️ نصب آسان با systemd و اسکریپت آماده
---
## ⚙️ نصب سریع
```bash
git clone https://github.com/iPmartNetwork/iPmart-WGDasboard.git
cd iPmart-WGDashboard
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```
---
## 🖥️ اجرا
```bash
python run.py
```
یا با systemd:
```bash
sudo cp ipmart-dashboard.service /etc/systemd/system/
sudo systemctl daemon-reexec
sudo systemctl start ipmart-dashboard
sudo systemctl enable ipmart-dashboard
```
---
## 🔐 فایل `.env` نمونه
```
API_TOKEN=your_api_token
TELEGRAM_TOKEN=your_bot_token
TELEGRAM_CHAT_ID=your_chat_id
```
---
## 📡 API REST
| مسیر | متد | توضیح |
|------|-----|--------|
| `/api/peers` | GET | لیست کاربران |
| `/api/peer/add` | POST | افزودن کاربر |
| `/api/peer/delete` | POST | حذف کاربر |
هدر لازم:
```
Authorization: Bearer your_api_token
```
---
## 👤 دسترسی کاربر
- مسیر ورود: `/user/login`
- نمایش کانفیگ، QR و دانلود فایل
---
## 📈 گراف منابع
- آدرس JSON: `/system/stats`
- بروزرسانی لحظهای در داشبورد
---
## 🔗 مجوز
MIT