Skip to content

Telegram notifications of your Google contacts birthdays

Notifications You must be signed in to change notification settings

sdelquin/notibday

Repository files navigation

Notibday

Notibday comes from Notification of Birthday.

It allows you to send notifications via #Telegram to a concrete user with information about the birthdays of the contacts you have stored in Gmail.

Development

$ pipenv install
$ vi .env    # set the corresponing values
...

Launch the app:

$ pipenv run python main.py

VIP file

When obtaining next birthdays a vip.dat file can be filled in with those very important people who we want to be aware of their birthdays from.

The structure of this file is as simple as writing the whole name (and surname) of the person at each line.

Telegram Bot

It will be also necessary to create a Telegram Bot using BotFather. You will get an identifier (token) for your bot. Write this token into de configuration file.

You will need a user identifier of Telegram in order to the messages be delivered only to you. You can use this bot.

Google Calendar API

Here you can enable the Google Calendar API and obtain a credentials.json which will be located at root of the project.

Cron

Obviously you can run the project when you want, but in my case, I have set up the running of the program twice a day with crontab:

30 7 * * * ~/notibday/run.sh
0 17 * * * ~/notibday/run.sh

About

Telegram notifications of your Google contacts birthdays

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published