Skip to main content

Bot Integrations with various platforms to send latest ngork links

Project description

Ng-Bot

Ngrok Bot (Ng-Bot) publishes updated ngrok URLs to telegram chat ids and restricts other users to access the bot or on discord using webhook url.

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 file

    NGROK_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

ng_bot-1.0.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

ng_bot-1.0.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file ng_bot-1.0.1.tar.gz.

File metadata

  • Download URL: ng_bot-1.0.1.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

Hashes for ng_bot-1.0.1.tar.gz
Algorithm Hash digest
SHA256 50c923a9b72517311ca882101a7b6a2d3f8895e7c66f91293850ab86de4eb7a3
MD5 2b14b64fbc9506b02481c452d48bb740
BLAKE2b-256 c2572712724447e26cbbcb26297635446d142be238842f7868963349e5c366b5

See more details on using hashes here.

File details

Details for the file ng_bot-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: ng_bot-1.0.1-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

Hashes for ng_bot-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59379bf92991b21e632d4c69b0678759561a6c30f5a50d45c0e28e4f8b68b7e2
MD5 4ecd7b06430d366697ad88d4c5efa6d8
BLAKE2b-256 111fc4ee072e588fe4fc185a1f824b6af64b868b50f242c607fa80af53c016b1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page