Skip to content

pedrohenriquebr/ngrok-automation

Repository files navigation

Ngrok Automation

It's a hack to automate ngrok with telegram bot in python.

Overview

image

Prerequisites

Guide

Install requirements modules.

$ python3 -m pip install -r requirements.txt

Start the telegram bot daemon.

$ python3 daemon.py start
$ <PID>

Email notification

If you want to send email with notification, open telegram_bot.py, change the line 79 and add True, as follow:

79    msg  = service.start(update.message.text.lower(),True)

Verify if put your email credentials in the .env