Skip to main content

NGROK AUTO INSTALLER & MANAGER

Project description

NGROK Auto Installer & Manager

cool booy

๐Ÿ”ฐ SL Android Official โ„ข ๐Ÿ‡ฑ๐Ÿ‡ฐ

๐Ÿ’ป Developer: ๐ˆ๐Œ ๐‚๐Ž๐Ž๐‹ ๐๐Ž๐Ž๐˜ ๐“ข๐“ฑ๐“ช๐“ญ๐“ธ๐”€ ๐“š๐“ฒ๐“ท๐“ฐ

Telegram


Description:

This Python script is designed for Termux and Linux systems to automatically install Ngrok, manage Ngrok tokens, start tunnels, and update Ngrok. The script provides a user-friendly menu with a colored CLI interface for better usability.

Linux


๐Ÿ”— How to Get Your Ngrok Token

  1. Visit the official Ngrok website: (https://dashboard.ngrok.com)

  2. Sign up for a free account or log in if you already have one.

  3. After logging in, go to the "Auth" or "Your Authtoken" section.

  4. Copy your authtoken string.

  5. Paste this token into the Enter New Ngrok Token option in the script menu.

Note: The token is required to authenticate your tunnels and access free or paid Ngrok services.



๐Ÿ“ Main Menu Options & Effects

cool booy

1๏ธโƒฃ Install NGROK

  • Effect when selected:

    • Detects your system OS and CPU architecture.

    • Downloads the correct Ngrok binary for your device.

    • Extracts and makes the binary executable.

    • After this, you can run Ngrok tunnels (tcp or http) from the script.

  • Outcome: Ngrok becomes ready to use for creating tunnels without manual installation.



cool booy

2๏ธโƒฃ Ngrok Token Manager

  • Effect when selected:

    • Provides options to enter, view, or delete your Ngrok token.

1) Enter New Ngrok Token

  • Prompts for token input.

  • Validates the token via Ngrok CLI.

  • Saves the token internally for future tunnel usage.

  • Outcome: You can now create authenticated Ngrok tunnels.

2) View Saved Token

  • Displays the currently saved token.

  • Outcome: Confirms which token is active.

3) Delete Saved Token

  • Deletes the stored token.

  • Outcome: Script no longer has an active token; Ngrok tunnels won't work until a new token is set.



cool booy

3๏ธโƒฃ Ngrok Setup

  • Effect when selected:

    • Automatically sets the USER environment variable in shell sessions.
  • Outcome: Future scripts or commands using this variable run smoothly in Termux.



4๏ธโƒฃ Check Ngrok Version

  • Effect when selected:

    • Runs Ngrok to display its current version.
  • Outcome: You can verify which Ngrok version is installed.



5๏ธโƒฃ Update Ngrok

  • Effect when selected:

    • Detects system architecture.

    • Downloads the latest Ngrok binary.

    • Replaces the existing binary with the updated version.

  • Outcome: Always have the latest Ngrok features and fixes.



โšก Important Note Before Starting a Tunnel

โ€ข Before you start a TCP or HTTP tunnel using this script:

  1. Ensure the service you want to expose is running on your local machine.

    • For example:

      • If you want to start an HTTP tunnel on port 8080, make sure your web server is active on localhost:8080.

      • If you want to start a TCP tunnel on port 3306, ensure your database or service is listening on that port.

  2. Do not start a tunnel on a port that is already in use.

    • Ngrok cannot bind to a port that is occupied by another service.
  3. Check your firewall or security settings.

    • Make sure your firewall allows connections to the port you want to expose.
  4. Why this is important:

    • Ngrok tunnels only forward traffic to an active host port.

    • If the port is not active or the service is not running, the tunnel will appear to work but no traffic will reach your service.



6๏ธโƒฃ Start TCP Tunnel

  • Effect when selected:

    • Prompts for a local TCP port.

    • Opens a public TCP tunnel to that port.

  • Outcome: Any service on that port becomes accessible from the internet.



7๏ธโƒฃ Start HTTP Tunnel

  • Effect when selected:

    • Prompts for a local HTTP port.

    • Opens a public HTTP tunnel to that port.

  • Outcome: Local web servers or applications become accessible from the internet.



8๏ธโƒฃ Exit

  • Effect when selected:

    • Prints a goodbye message.

    • Ends the script.

  • Outcome: Script terminates safely and returns control to the terminal.



๐Ÿ“ฆ Requirements

This tool uses only Pythonโ€™s built-in modules:

  • os

  • platform

  • urllib.request

  • zipfile

  • sys

  • time

  • subprocess

โœ” No external pip modules are required.

โœ” Works on Python 3.8+ (recommended: 3.10+)

โšก install

pip install IM-COOL-BOOY-NGROK
IM-COOL-BOOY-NGROK

๐Ÿ“Œ License

MIT License ยฉ 2025 ๐ˆ๐Œ ๐‚๐Ž๐Ž๐‹ ๐๐Ž๐Ž๐˜ ๐“ข๐“ฑ๐“ช๐“ญ๐“ธ๐”€ ๐“š๐“ฒ๐“ท๐“ฐ

License

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

im_cool_booy_ngrok-1.1.1.tar.gz (159.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

im_cool_booy_ngrok-1.1.1-py3-none-any.whl (160.5 kB view details)

Uploaded Python 3

File details

Details for the file im_cool_booy_ngrok-1.1.1.tar.gz.

File metadata

  • Download URL: im_cool_booy_ngrok-1.1.1.tar.gz
  • Upload date:
  • Size: 159.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.12

File hashes

Hashes for im_cool_booy_ngrok-1.1.1.tar.gz
Algorithm Hash digest
SHA256 6b2a6197ad001153793d2ecbbb9179c1304045be67f10ef59a9d246159c6a7d2
MD5 6c1c320066716bc736c04bcada3b5a70
BLAKE2b-256 212a2ccee754b886ef42973dafbf012768c1a7a6159825d9f7318eeb6d57da3a

See more details on using hashes here.

File details

Details for the file im_cool_booy_ngrok-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for im_cool_booy_ngrok-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2597664cf92378278a8f78809bd8205a126588ac94b9110d12d15ff58a8b999
MD5 6f9357dbbfca13e58cf4317c74b51d97
BLAKE2b-256 ef7a14fbd184d69b6a396d92f34d8acad2d718751cbe72dee379fae1ef1bf99c

See more details on using hashes here.

Supported by

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