Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

⏳ SquintClock — Time Tools

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.

✨ Features

  • ⏰ 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.

🚀 Quick Start

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 browser

No npm, no bundler, no server required. Squint compiles the ClojureScript source at runtime via an ES module import.

🌐 Live Demo

sanchosiesta.github.io/squintclock

🧱 How It Works

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.

🛠 Tech Stack

  • Squint — ClojureScript → JavaScript compiler
  • Reagami — React wrapper for Hiccup-style syntax
  • Bulma 1.0 — CSS framework
  • JuliaMono — Monospace typeface

📄 License

MIT

About

squintclock

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages