Skip to content

Koushikphy/TeleJobReminder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Job Reminder Bot

A Telegram bot that keeps track of your computer jobs.

out.mp4

Telegram bots are an extremely handy tool to send automated notifications/messages directly to the phone. It's completely free, easy to set up, and you can send any kind of message, including documents, pictures, videos etc. Here, I have made a bot to keep track of my long-running computer jobs so that it can send me a notification when the job finishes/fails.

🚀 Getting Started:

  • Open the Telegram bot at https://t.me/JobReminderBot and press start to get started. Wait for the admin to authorize you.
  • Download the telebot script (only written for bash atm), make it executable and keep it in your PATH.
  • Submit your job with the shell script as
    telebot -u USER_ID -n JOB_Name -j JOB_Command
    

⚒ Setting Optional Middlehost:

If you are working in an isolated shell that can not communicate with the bot server (i.e., internet) directly, you can run the middlehost.py. It creates an HTTP route that transfers the network communications to and from the client-side to the bot server running on the cloud. In that case, you need to change the bot server address in the telebot script with the middle host server details.

👍Useful Links: