10 views, 10 modes, 10 songs, 10 themes. Day theme in the day, night theme at night. Moon phase gating. And a Night Shift that only exists midnight to 4am. Local clock, local only, no server.
🌕 Loading moon…
10 Views — how time looks
--:--:--
—
—
It is —
Word clock · no digits allowed
Binary · each column is one digit · top is 8, then 4, 2, 1
—
—
0
0
:
0
0
:
0
0
Flip clock · airport style
How much of today is already gone
☀️
Sun path · 6am to 6pm, then moon
--:--
—
60 dots = 60 minutes · filled = minutes past the hour
10 Modes — what the clock does
Clock mode
You are in clock mode. Pick a view above. The clock is always running, even when you are in another mode.
Stopwatch
00:00.0
Timer
Set minutes, hit start. Chimes when done.
05:00
Pomodoro · 25 focus / 5 break
25:00 · Focus
Cycle 1 of 4
World Clock · 10 cities
Alarm
Set a time. It will chime and flash when your local clock hits it. Keep this tab open.
No alarm set.
Metronome
100 BPM
Tick is a soft woodblock, not a harsh beep.
Moon Phase
🌕
Illumination—
🌙 Night Shift is locked
The pawnshop and the radio only open midnight to 4am, local time. That is the rule. Come back when it is dark.
—
🌙 Night Shift — Open
You are here between midnight and 4am. The shop is open. The radio is on. This content does not exist in the daytime.
🏪 Pawnshop — Night Only
• Brass key, no label — $7 • Radio that only gets one station — $22 • Notebook, last page torn out — $4 • Moon chart, hand-drawn — $11
📻 Radio — Night Shift FM
Now playing: Night Shift Anthem Next: Lullaby, then Rain Piano Request line is open, but nobody answers.
💬 Night Note
If you are up, you are not alone. The clock is the only one who knows. Leave a note for the next night owl in the hash? Copy the URL, it is still just a clock.
Breathe · 4-7-8
Breathe
Inhale 4, hold 7, exhale 8. The clock will keep time.
10 Songs — tiny generative songs
Each song is a few notes, played with piano / music box. Tap play, it plays once. No files, all WebAudio.
10 Themes — day theme in the day, night theme at night
Auto is ON: creme 6am–6pm, night 6pm–6am
BACKEND · TEMPLATE · PROPOSED · NOT CONNECTED
Backend, clock Backend, Template
Right now clock.html is local only. Moon math is in-browser. Night gating is local clock. Proposed backend only if you ever want shared night rooms.
01 / Gating + moon
GET /api/clock/now -> server time (so gating cannot be faked by changing local clock)
GET /api/moon?date=YYYY-MM-DD -> phase, illumination, next full
POST /api/nightshift/join { hour } -> only 0-4 allowed, else 403
// Day theme 6-18, night theme 18-6, moon phase changes night brightness