A small greeter for Telegram. It runs just before I wake up and tells me relevant information for my day
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Roger Gonzalez dfb57dfe52 Added coronavirus information 3 months ago
.env.example Initial commit 3 months ago
.gitignore Initial commit 3 months ago
README.md Added README 3 months ago
app.py Added coronavirus information 3 months ago
requirements.txt Initial commit 3 months ago

README.md

Telegram greeter

A small greeter I did for Telegram, that runs before I wake up and informs me of relevant information for the day

What do you need?

  • python3 and pip3
  • A Telegram APP (talk to @BotFather for that).
  • A way to run cronjobs.
  • The 'es-ES' locale. You can change your locale on the code

How to use it?

  • Create a local copy of the .env.example file with your own credentials.
cp .env.example .env
  • Install your dependencies.
pip3 install -r requirements.txt
  • Run it!
./app.py
  • (Optional) Set a cronjob.
crontab -e
...
# Run the script every day at 6AM
0 6 * * * /usr/bin/python3 my/script/location/app.py >> my/script/location/log.txt

License

The files and scripts in this repository are licensed under the MIT License, which is a very permissive license allowing you to use, modify, copy, distribute, sell, give away, etc. the software. In other words, do what you want with it. The only requirement with the MIT License is that the license and copyright notice must be provided with the software.