β¬ Download: macOS Apple Silicon / Intel (4.5 MB) β prebuilt, signed & notarized; open and drag to Applications.
A menu-bar world clock.
The tray shows your home city as an emoji β "π 4:45p" β updated every
second (tray.set each tick), and a left-click drops a small vibrancy
panel ("chrome": { "vibrancy": "popover" }) centred under the tray
icon (tray.position() gives the icon's rect; clamped to its screen)
listing every city's live time, day offset, and a day/night dot. It
dismisses itself on focus loss like a real popover (the page's window
blur), and while it's hidden the page stops redrawing entirely β the backend
alone keeps the tray ticking. Turn on cycling (βΆ in the panel, or the tray menu) and the menu
bar rotates through every city β "πΌ 4:45p" β "π‘ 8:45p" β β¦
The city list is yours to edit: οΌ opens a little form β pick any IANA
time zone (autocompleted from Intl.supportedValuesOf), give it a label and
its own emoji β and a hover β removes any row. The table persists in the
backend store.
One neat wrinkle: txiki.js has no Intl, so the WebKit page computes each
zone's DST-correct UTC offset and hands the backend a table β the frontend
knows the zones, the backend owns the tick.
Launches as a menu-bar agent ("activation": "accessory"), and the tray
menu's Open at Login uses app.launchAtLogin (SMAppService β shows up in
System Settings βΊ General βΊ Login Items; packaged builds only).
tinyjs dev # run with hot reload
tinyjs build # package dist/worldclock.app