jriggins / situation-clock

LED-style Situation Room wall clock formatted for iPads

Home Page:http://ben.balter.com/situation-clock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Situation Clock

LED-style situation room clock formatted for iPads. Live example

situation clock screenshot

Forked from schacon/situation-clock, which states:

If you want to build a Situation Room, you'll need some sweet red clocks in the walls... something like this:

GitHub situation room

Features

  • That red/green, LED-style text you'd expect
  • Displays current time and location name
  • It's a webpage, so it works in your tablet's browser
  • Hosted on GitHub Pages
  • EPOCH/unix time format support

This modified version does a few things:

  • Full, native timezone support
  • Ability to have multiple clocks per iPad
  • Clock(s) dynamically resize to fill screen
  • App-ified so it can be saved to the iOS home screen
  • Jekyllification
  • CoffeeScript and Bower ALL THE THINGS
  • Tooling for easily running locally

Usage

  1. Get an iPad, and fire up Safari
  2. Visit ben.balter.com/situation-clock in Safari, or fork this repository and open the GitHub Pages published version of your fork
  3. Click the share button
  4. Clock add to home screen
  5. Give your situation clock a name
  6. Open the newly created shortcut
  7. (optional) use Velcro or similar to mount to the wall

Note: You can also pass a URL parameter of location, e.g., ?location="ZULU" to set a clock via the URL. The clock will default to the system timezone.

Adding/modifying a clock

Clocks are stored in the YAML frontmatter of index.html. To add/modify a clock, simply follow the format of "label": timezone. Example:

---
clocks:
  "Washington DC": America/New_York
  "San Francisco": America/Los_Angeles
  "EPOCH": EPOCH
---

Developing

  1. Establish your development environment by running script/bootstrap
  2. Spin up a local version by running script/server
  3. Visit localhost:4000 in your favorite browser

Contributing

  1. Fork the project
  2. Create a new, descriptively named feature branch
  3. Make your changes
  4. Submit a pull request

About

LED-style Situation Room wall clock formatted for iPads

http://ben.balter.com/situation-clock

License:MIT License


Languages

Language:TypeScript 48.5%Language:Shell 16.4%Language:HTML 15.6%Language:CSS 9.8%Language:JavaScript 8.7%Language:Ruby 0.9%