BirthdaySMS is a Python appication that sends you SMS reminders for the birthdays you configure.
- Docker and Docker Compose installed on your machine (https://docs.docker.com/get-docker/).
- A Twilio account with credits and an active phone number (https://www.twilio.com/try-twilio).
Nota bene: Twilio offers a free trial with a $15.50 credit, which is enough to send 100 SMS messages in France.
-
Clone and navigate to the repository.
git clone https://github.com/dtamien/BirthdaySMS && cd BirthdaySMS
-
Set the birthdays you want to be reminded of in the configs/birthdays.csv file. For instance:
month,day,year,name 02,24,2005,Mathias 08,30,2000,Damien 11,20,2002,Raphaël
-
Update the configs/credentials.env file with your personal phone number and Twilio account information. For instance:
PERSONAL_PHONE_NUMBER=+33689XXXXXX TWILIO_ACCOUNT_SID=AC9109XXXXXXXXXXXXXXXXXXXXXXXXXXXX TWILIO_AUTH_TOKEN=49e813XXXXXXXXXXXXXXXXXXXXXXXXXX TWILIO_PHONE_NUMBER=+13343XXXXXX
-
Build the Docker image and start a container based on it.
docker compose -f docker/docker-compose.yml up -d
You should now receive reminders for the birthdays you configured.
-
To check the logs of the application, either print the logs of the running container:
docker logs -f birthdaysms
or restart a new container, not in detached mode:
docker compose -f docker/docker-compose.yml up
-
If you were to update the code, you'd have to rebuild the Docker image:
docker compose -f docker/docker-compose.yml up --build -d
This project is released under a custom license. For full terms and conditions, please refer to the LICENSE file.