Silly countdown to spring with jQuery

I hate winter. I need up-to-date data every couple of days telling me exactly how much more of winter I have to endure. I don’t trust foreign and/or unproven sources for this knowledge, I had to create something myself.

Here’s what I used:

Allocate a folder or something, example change to it, and download the plugin:

Make sure you have jQuery, too.

Create a file with the contents below:

Navigate to where you configured your web server to serve this, e.g., . You should see the countdown exactly as shown in the first picture.

But wait, I don’t want to use a web browser…

Oh, of course you don’t. Scrape your site via the CLI. Yes, you could just use a one-liner to calculate the days remaining, but that doesn’t sound very fun to me.

If you’re on a Mac, and using Homebrew, grab PhantomJS from homebrew/cask.

Also, install w3m for later.

Create a local file .

And create wrapper script to call it at

Finally, run it:

➜ ~

➜ ~


Hopefully, one day a countdown to something will be desperately needed, and you’ll be prepared.

Mistakes? Did I miss anything? Let me know.

I work in tech. Occasionally write about tech.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store