||1 year ago|
|.env.example||1 year ago|
|.gitignore||1 year ago|
|README.md||1 year ago|
|app.py||1 year ago|
|requirements.txt||1 year ago|
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?
- 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.examplefile with your own credentials.
cp .env.example .env
- Install your dependencies.
pip3 install -r requirements.txt
- Run it!
- (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
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.