Skip to content

About

πŸ… An aesthetic, customizable Pomodoro timer with smooth anime.js motion and optional three.js backgrounds. Tasks, stats, ambient sounds, offline PWA β€” all saved locally.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

58 Commits

Folders and files

Repository files navigation

πŸ… pomo

An aesthetic, customizable Pomodoro timer with smooth anime.js motion. It has tasks, streaks, stats and keyboard shortcuts, and everything stays in your browser.

Open the app β†’

pomo on desktop: a glowing progress ring counting down a focus session, with today's task list beside it Β  pomo on a phone

Features

  • A timer that doesn't drift. It counts from a saved end time, so background tabs, sleep and reloads don't throw it off. A session that finishes while the page is closed still counts.
  • Tasks. A "Today" list with pomodoro estimates, an estimated finish time, and focus time tracked against whichever task you're working on.
  • Markdown in and out. Paste a Markdown checklist to add many tasks at once (- [ ] Write report πŸ…3). Copy your tasks or today's log as Markdown, or download a session log for any period.
  • Honest sessions. Following Cirillo's rule that a pomodoro is indivisible, stopping early abandons it, but your focused minutes still count toward today. Past the halfway mark you can still count it.
  • Progress. A daily streak, a daily goal, per-mode counts, and a 7-day focus chart.
  • Optional extras: strict mode (no pausing), interruption tracking (internal/external, with notes saved for later), and focus mode, which hides everything but the timer.
  • Clock faces. The classic ring, a tomato kitchen timer, a Tamagotchi whose pixel pet grows as you complete pomodoros, an hourglass, a plant buddy that grows and blooms through a session, a robot pet, a retro handheld, a potion flask that brews during focus, Tetris, a squishy blob pet, a spaceship orbiting a planet, or a hamster wheel. The pop-out mini timer shows the same face.
  • Living backgrounds. Soft CSS color blobs, or three.js scenes (fireflies, aurora, rain) that follow your theme, calm down on breaks and pulse when a session ends. three.js only loads if you pick one.
  • Quotes (optional). A quote under the timer, a new one each session: 100 well-sourced lines from scientists, philosophers and writers (kept in src/content/quotes.md), or your own.
  • Make it yours. Five themes, per-mode colors, interval presets (25/5/15 Β· 50/10/20 Β· 90/15/30), alarm sounds, and an optional tick.
  • Stays with you. A pop-out mini timer that floats above other windows (Chrome/Edge), a full-screen button, progress in the tab icon, and the screen stays awake while a session runs.
  • Works with multiple tabs. Open tabs stay in sync, and only one of them rings.
  • Ambient sound. Optional rain, brown noise, pink noise or vinyl crackle while you focus (generated in code, no audio files).
  • Alarms on phones. On iPhone the alarm can ring even with the silent switch on (Safari 17+).
  • Installable and offline. Install it from the address bar (or Add to Home Screen) and it works without a connection. Updates wait until you choose to reload.
  • Your data stays local. No account, no server, no tracking. Export a JSON backup to move between browsers.
  • Touch friendly. On phones, tap the timer to start/pause, swipe to switch modes, hold to restart. Optional vibration.
  • Accessible. Full keyboard control, screen-reader labels, and it respects "reduce motion".

Keyboard shortcuts

Press ? in the app to see them all, or ⌘/Ctrl + K for the command palette: search every action, or type things like start 50m focus, 10m break, set focus to 45m or add task Write report πŸ…3.

Key Action
⌘/Ctrl + K Command palette
Space Start / pause
R / S Restart / skip session
1 2 3 Focus / short break / long break
T / N Show tasks / new task
↑ ↓ Enter X E Del Move between tasks, make current, done, edit, delete
Alt + ↑/↓ Reorder a task
G Progress, streak & goal
F Focus mode
+ / βˆ’ Add / remove a minute
P Pop out a mini timer (Chrome, Edge)
I Log an interruption (when tracking is on)
M Mute
, Settings
Esc Close any panel or dialog

Links, automation & AI agents

Link actions run one action on top of your saved settings, so they work from bookmarks, launchers (Raycast, Alfred, Apple Shortcuts) or anything that opens a URL:

Link Does
?do=start Start (or resume) the current session
?do=start&mode=focus&min=50&task=Write+report Start a one-off 50-minute focus on a task (added if new). mode is focus, short or long
?do=pause Β· ?do=skip Β· ?do=reset Pause, skip or restart
?do=add-task&task=Email+Sam&estimate=2 Add a task

For example, https://parmsam.github.io/pomotimer2/?do=start&mode=focus. The installed app's icon menu has the same shortcuts. If a link would abandon a focus session in progress, the app asks first.

Scripting API. Agents and scripts driving the page in a browser (Playwright, DevTools, Claude in Chrome and so on) can call window.pomo instead of clicking around. pomo.help() lists everything; the main calls are pomo.state(), pomo.start({ mode, minutes, task }), pomo.pause(), pomo.tasks(), pomo.addTask(title), and pomo.run(...), which runs any command-palette action (pomo.run('start 50m focus')). An agent outside the browser can't reach your timer, because your data never leaves the browser. A short description for LLMs is at llms.txt.

Privacy

pomo is a static site on GitHub Pages. Settings, tasks and history are saved in your browser's localStorage and never sent anywhere. Clearing site data removes them, so use Settings β†’ Data β†’ Export backup if you want a copy.

Development

Requires Node 22+.

npm install
npm run dev        # http://localhost:5173/pomotimer2/
npm run build      # typecheck + production build to dist/
npm run check      # typecheck + unit tests + end-to-end tests
Stack Vite + TypeScript (no UI framework), anime.js v4, three.js (lazy-loaded scenes), Web Audio for synthesized alarms
Unit tests Vitest (src/**/*.test.ts), with fake timers for time-based logic
E2E tests Playwright on Chromium, WebKit and a mobile viewport (e2e/), plus an offline check against the production build
CI / deploy Every push runs the tests; pushes to main deploy to GitHub Pages only if they pass

The plan and roadmap live in PLAN.md, and conventions for contributors (human or AI) in AGENTS.md.

Roadmap

All planned phases are done. Ideas on the backburner are listed in PLAN.md.

Credits

License

MIT Β© 2026 Sam Parmar

About

πŸ… An aesthetic, customizable Pomodoro timer with smooth anime.js motion and optional three.js backgrounds. Tasks, stats, ambient sounds, offline PWA β€” all saved locally.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages