I’ve been maintaining a Year Remaining account on 𝕏 for a number of years, which does regular posts showing how much of the year is left by percentage. For example: 🛑🛑🛑🛑🛑🟢🟢🟢🟢🟢 45%

The code is written in Python and available on GitHub. Wanting to take this project further, I converted the code to PHP, and built it into a WordPress plugin. The remaining bar you see in the first paragraph is actually the plugin at work right here on the site, showing the percentage remaining as of today.

The Year Remaining plugin was launched to the WordPress Plugin directory on Feb 5, 2024. If you’d like to try it on your own site, search for “Year Remaining” in the plugin area, or download it from the directory here: https://wordpress.org/plugins/year-remaining/

The code for this plugin is available on GitHub under the GPL-3.0 license. Check it out on GitHub, clone the repository, and use or expand it in any way you like!