├── LICENSE.md
├── README.md
├── bars.html
├── favicon.ico
├── img
├── ss-bars.png
└── ss-default.png
└── index.html
/LICENSE.md:
--------------------------------------------------------------------------------
1 | Copyright 2020 Robert McGuire
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of
4 | this software and associated documentation files (the "Software"), to deal in
5 | the Software without restriction, including without limitation the rights to
6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7 | the Software, and to permit persons to whom the Software is furnished to do so,
8 | subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 1440-clock
2 |
3 | > Minimalist clocks that visualize the 1,440 precious minutes each of us has
4 | > in a day
5 |
6 | ## About
7 |
8 | I wanted a simple visualization of the 1,440 precious minutes each of us has in
9 | a day. By default, these clocks show you a visual countdown of the minutes you
10 | have remaining before midnight.
11 |
12 | ## Usage
13 |
14 | There are two clocks available:
15 |
16 | - **Default:** https://robatron.github.io/1440-clock/
17 | - **Bars:** https://robatron.github.io/1440-clock/bars
18 |
19 | To configure these clocks you can use the following query parameters:
20 |
21 | - `dh` - Number of hours to display
22 | - `hw` - Hide words in the UI, display only the clock
23 | - `sh` - Starting hour
24 | - `sm` - Starting minute
25 |
26 | ### Examples
27 |
28 | Default clock, 8-hour workday, from 07:15 to 15:15:
29 |
30 | - https://robatron.github.io/1440-clock/?dh=8&sh=7&sm=15
31 |
32 | Bars clock, 8-hour workday, from 06:00 to 21:00:
33 |
34 | - https://robatron.github.io/1440-clock/bars?dh=15&sh=6
35 |
36 | ## Screenshots
37 |
38 | Default clock example:
39 |
40 |
41 |
42 | "Bars" clock example:
43 |
44 |
45 |
--------------------------------------------------------------------------------
/bars.html:
--------------------------------------------------------------------------------
1 |
2 |
38 | This is a minimal clock that (by default) visualizes each of the 39 | precious 1,440 minutes each of us has in a day. 40 |
41 |42 | This clock can be configured with query parameters. Here are a 43 | few examples. Bookmark your own configuration! 44 |
45 |72 | See the 73 | 74 | source code 75 | 76 | for more details. 77 |
78 |