Skip to content

jcolag/dash

Repository files navigation

dash

Dash may have an insipid name, but it's what I rely on to start my morning. It gathers a bunch of information that either informs me or amuses me, and presents it on a single page.

Please note that this probably isn't generally useful for most people, except maybe as inspiration to develop your own, or maybe as a project to rip apart for pieces to use elsewhere. For example, I run an unpublished script overnight that records (a first approximation of) how long I sleep and gives me a place to type anything that occurs to me if I wake up, among other things. I also have a blog and mailing list to update periodically, and I maintain my calendar in Thunderbird. You probably don't have all those details lined up the same way, if at all, and it wouldn't be smart to try to reinvent all of it just to use this.

As I write this, it includes the following:

  • Information about the day, including:
  • Notes that I may have written myself overnight, usually a comment if something woke me up in the middle of the night or I remember a dream
  • Voice of America's latest newscast, a five-minute news update, set to play at 1½x speed
  • Any blog post or newsletter issue that might be ready for publication for the day, along with some quick testing
  • A visualization of the hourly weather for the upcoming day, combining data from the National Weather Service and Open Weather Map
    • The reason for using two weather services is that my experience has been that the National Weather Service has the most accurate hourly weather for my area, but Open Weather Map supplies additional data that I want, even though it tends to be slightly less accurate on occasion and less stable in the long term.
    • It's probably worth mentioning that the precipitation numbers appear to all be variations of the quantitative precipitation forecast (QPF) value, the "expected amount of melted precipitation accumulated over a specified time period." In other words, when rain is expected, the QPF should be equivalent to the precipitation over the relevant time. If snow is expected, though, the actual totals will depend on how wet and packed the snow is.
  • Events from my calendar
  • A visualization of sleep data for the last stretch of days
  • Information on my "streaks" publishing changes to GitHub

In the future, I plan to add unread notifications from social media sites that might be worth knowing about early, overnight voicemail, and maybe job board searches.

The default styling uses the Solarized color palette and OpenMoji font for any emoji display. I adapted the background image from White Leather Pattern by Atle Mo, as archived from a time when the owners made the backgrounds available under the terms of the CC-BY-SA 3.0 license.

You might ask why this script just generates a static page, rather than running as a server. It's a legitimate question, since it does make some sense to just keep updating data and serve up the latest versions, especially if some service has a network outage. However, I only look at this information once a day, when I wake up, and the benefits don't outweigh the added overhead to keep everything updated. Or rather, that's how I feel about it now. I might change my mind down the road.

About

A morning "dashboard" generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published