Build a Pomodoro clock using Github actions!

aishikamidder05

Aishika Midder

Posted on September 16, 2020

Build a Pomodoro clock using Github actions!

My Workflow

My SMS Alert
Alt Text

My email Alert
Alt Text

Hey there, lovely people of the internet, this is my second post for Actions Hackathon. This time, I have built a pomodoro timer using python and implemented it using github actions. I made it keeping in mind the burnout we developers face after a certain point. 🐞

Just another normal day in our lives, when there is a huge task to complete or to finish a project or assignment on time, we end up thinking that we can drive straight through it but we get tired and exhausted. Most of us can stay focused on a task for at most 35-45 minutes, after that our mind starts wandering and you will never know where that 1 hour went missing ( give it back!!)

Alt Text

Here comes our saviour, drumrolls the Pomodoro technique! 🍅
The Pomodoro timer instills a sense of urgency where rather than feeling like you have endless time in the world to get things done, you know you only have 45 minutes to make as much progress on a task as possible. (It's only 45 mins, you can do it!)⏳
And breaks? You get a whole 15 minutes to chill after each 45 min session.

This technique has been extremely useful for me and I wanted to make it easy to use for the community as well. Github Actions enabled me to do the exact same and I made a beneficial use of it.

Alt Text

My timer implemented with the help of Github Actions sends me a notification every 45 minutes, when my work is over and every 15 minutes when my break gets over. I have used Twilio to send me the SMS on my mobile phone and Mailgun to send me the email alert.

Here's a look at my newly created Github action!

Alt Text

To use it for yourself, setup an account in Twilio and Mailgun. Just create the secret variables with the same names I have created and put your own information, like api keys, phone number, email etc. Set the secret variable IS_ACTIVATED to 0 to stop receiving any alerts and set it to 1 to turn on the pomodoro clock.

Submission Category:

Category 1: Wacky Wildcards
Category 2: Phone Friendly

Yaml File or Link to Code

pomodoro-clock

This project was built as a part of Github Actions Hackathon My DEV Post here

To use it for yourself

Setup an account in Twilio and Mailgun
Create the secret variables with the same names I have created
Just put your own information, like api keys, phone number, email etc.
Set the secret variable IS_ACTIVATED to 0 to stop receiving any alerts and set it to 1 to turn on the pomodoro clock.

After this hackathon ended, I have made this open for hacktoberfest especially for beginners.

Make sure to make valid pull requests for hacktoberfest or else your PR would be declared invalid.

I will merge your contributions if they are useful.




Hope you find my post useful. Thanks for reading till the end.
Adios! ^_^

💖 💪 🙅 🚩
aishikamidder05
Aishika Midder

Posted on September 16, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Releasing the funniest GitHub Action & Workflow
actionshackathon21 Releasing the funniest GitHub Action & Workflow

December 9, 2021

Build a Pomodoro clock using Github actions!
actionshackathon Build a Pomodoro clock using Github actions!

September 16, 2020

Issue Notifier
actionshackathon Issue Notifier

September 17, 2020

Submission for the actions hackathon
actionshackathon Submission for the actions hackathon

September 17, 2020

Submission for the actions hackathon
actionshackathon Submission for the actions hackathon

September 16, 2020