Bot Integrations with various platforms to send latest ngork links
Project description
Tele-Ng-Bot
Telegram Ngrok Bot (Tele-Ng-Bot) publishes updated ngrok URLs to telegram chat ids and restricts other users to access the bot.
Note
: This bot may be used for malicious purposes too. Its upto users how they use this tool/bot. Author is not responsible for user's action in any manner.
Installation
-
Clone repo
git clone --depth=1 https://github.com/dmdhrumilmistry/ng_bot.git
-
Change directory
cd ng_bot
-
Install requirements
python3 -m pip install -r requirements.txt
Usage
-
Create Ngrok account
-
Complete Sign Up process
-
Add new AUTH TOKEN from dashboard
-
Store variables in
.env
fileNGROK_AUTH_TOKEN='your_auth_token' TELE_BOT_TOKEN='telegram_bot_token' ALLOWED_USER_IDS=tele_user_id1, tele_user_id2, tele_user_id3 DISCORD_WEBHOOK_URL='webhook-url'
Above variables can also be stored in environment variables
-
Start application
# for telegram python3 -m ng_bot --http 8080 --tcp 22 4444 --platform telegram # for discord python3 -m ng_bot --tcp 22 --platform discord
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ng_bot-1.0.0.tar.gz
.
File metadata
- Download URL: ng_bot-1.0.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01864c61d8585414f614ef36d604dc5bc799d88536bcb2c2b98611140b5f5ee3 |
|
MD5 | 9ed28c48943073c92b76e4776a0452de |
|
BLAKE2b-256 | 47d120e4c40aff932f2fd1c8b24ad4b79c714f9a96d37e0bfb8ce47131ebffab |
File details
Details for the file ng_bot-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: ng_bot-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 059fa4d2e14976b13c2c0127e91649900fe45430a66da3d55795e0f4c3e3179c |
|
MD5 | d85d0858e3a4f7516d25370e7e5c49b7 |
|
BLAKE2b-256 | 754df9e4d03223b1d35d577237b53e2f037259eaeaa82071c16e90c0401bd2bc |