A lightweight alarm, timer, and world clock app built with Squint (ClojureScript compiler), Reagami (Hiccup-style React renderer), and Bulma CSS.
Runs entirely in the browser — no server, no build step. Just open index.html.
- ⏰ Alarm — Set an alarm for any time of day. Rings when the clock hits the target.
- ⏱ Timer — Countdown timer with configurable minutes/seconds. Start, stop, and reset.
- 🌍 World Clock — Live clock for multiple timezones. Shows time and date, auto-updates every second.
- 🎨 Clean UI — Tabbed interface styled with Bulma and JuliaMono font.
Clone the repo and open index.html in your browser:
git clone git@github.com:sanchosiesta/squintclock.git
cd squintclock
open index.html # or just drag the file into your browserNo npm, no bundler, no server required. Squint compiles the ClojureScript source at runtime via an ES module import.
sanchosiesta.github.io/squintclock
The entire app is a single self-contained page:
| File | Purpose |
|---|---|
index.html |
HTML host, inline Squint ClojureScript source, Bulma CSS, compilation boot script |
app.cljs |
Standalone ClojureScript source file (for reference / REPL development) |
At page load, the inline <script type="text/plain" id="squint-src"> block is compiled by
Squint running in the browser and the resulting JS is
evaluated as an ES module.
- Squint — ClojureScript → JavaScript compiler
- Reagami — React wrapper for Hiccup-style syntax
- Bulma 1.0 — CSS framework
- JuliaMono — Monospace typeface
MIT