Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/koushikphy/telejobreminder

A Telegram bot that keeps track of your computer jobs.
https://github.com/koushikphy/telejobreminder

bots database flask flask-application heroku heroku-deployment postgresql telegram telegram-bot telegram-bots

Last synced: 28 days ago
JSON representation

A Telegram bot that keeps track of your computer jobs.

Awesome Lists containing this project

README

        


Job Reminder Bot


A Telegram bot that keeps track of your computer jobs.



https://user-images.githubusercontent.com/43264301/202856466-bc857542-e334-4ea2-910e-a1a8d62a0656.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](https://github.com/Koushikphy/TeleJobReminder/blob/main/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](https://github.com/Koushikphy/TeleJobReminder/blob/main/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](https://github.com/Koushikphy/TeleJobReminder/blob/main/telebot) script with the middle host server details.

### 👍Useful Links:
- [Telegram Bots: An introduction for developers.](https://core.telegram.org/bots)
- [Getting Started with Heroku.](https://devcenter.heroku.com/)