Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 20 days 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-13T10:51:28.000Z (12 months ago)
- Last Synced: 2024-01-13T19:29:39.062Z (12 months ago)
- Topics: 3x-ui, bot, telegraf, telegrafjs, telegram-bot
- Language: TypeScript
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- 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`