Picture of Michael Lee
:wave: Hey hey, I'm Michael Lee and this is my site about being a developer, being a dad and making side projects.

Open sourced @year_left my Twitter bot

Written on September 10, 2017

A few months ago, I created a little Twitter bot called @year_left. It was a fun little project that I completed in a couple of nights. I should’ve open sourced this from the start. It was probably due to imposter syndrome that I didn’t. But tonight I decided to open source it and have placed it up on GitHub for all to take a peak at what makes it work.

Aside from the code, I’ve got a cron job running daily on a Digital Ocean droplet that actually runs the code. The simple logic that triggers the code to actually tweet is if the percent is changed from the previous days. Nothing too complex. If you’ve ever wondered what makes @year_left tick or what a simple Twitter bot looks like, head on over to the source and have a peek.

Thanks for taking the time to read this article. I'd love to stay in touch and share more tips on programming and design and side projects. Sign up and I'll send you my articles straight to your email.