https://github.com/hadiazt/connect-vpn
Telegram Bot For Managing Panel Status/Users/IPs In 3x-ui Panel
https://github.com/hadiazt/connect-vpn
3x-ui bot telegraf telegrafjs telegram-bot
Last synced: 11 months ago
JSON representation
Telegram Bot For Managing Panel Status/Users/IPs In 3x-ui Panel
- Host: GitHub
- URL: https://github.com/hadiazt/connect-vpn
- Owner: hadiazt
- Created: 2023-09-02T13:06:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-13T10:51:28.000Z (over 2 years ago)
- Last Synced: 2025-04-07T11:22:47.333Z (about 1 year ago)
- Topics: 3x-ui, bot, telegraf, telegrafjs, telegram-bot
- Language: TypeScript
- Homepage:
- Size: 82 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# An Telegram Bot For Connect-VPN Written With Telegraf.js
For Managing Panel Status/Users/IPs In [3x-ui](https://github.com/MHSanaei/3x-ui) Panel
- [API Postman Export](https://google.com/)
- [Panel](#panel)
- [Test Server](#test-server)
- [Installing Node.js Vx.x.x](#installing-nodejs)
- [Running](#running)
## Installing Node.js
```
sudo apt update && sudo apt upgrade
```
```
wget https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh
bash install.sh
```
```
source ~/.bashrc
```
```
nvm -v
0.39.1
```
```
nvm list-remote
.......
v17.7.0
v17.7.1
v17.7.2
v17.8.0
v17.9.0
v18.0.0
```
```
nvm install v18
```
```
nvm install node
```
```
node -v
v18.0.0
```
```
nvm use 18
```
```
nvm alias default 18
```
## Running
set your data in config.json
install net tools
`sudo apt-get install net-tools`
install pm2 as global
`npm install -g pm2`
got to bot dir and run
`npm install`
`npm run build`
`pm2 start`