A minimal, polished Pomodoro timer โ built as a single HTML file with zero dependencies. Deployable instantly on GitHub Pages or any static host.
Live โ soumendrak.github.io/pomodoro
Features
- โฑ Focus / Short Break / Long Break modes (25 min / 5 min / 15 min)
- ๐จ Dark theme with orange accent, smooth animations, and SVG ring countdown
- โถ๏ธ Start, Pause, Reset โ plus keyboard shortcuts (
Spaceto toggle,Rto reset) - ๐ Auto-cycling through the classic Pomodoro sequence
- ๐ Audio beep at session end (Web Audio API oscillator โ no external files)
- ๐ Session counter โ pomodoros this cycle and lifetime total
- ๐ฑ Fully responsive โ works on mobile and desktop
- ๐งน Zero dependencies โ no frameworks, no CDN links, no build step
- ๐ Ready for GitHub Pages โ just push and enable
How It Works
flowchart TD
Start(( )) --> Focus[Focus 25min]
Focus -->|Session Complete| ShortBreak[Short Break 5min]
ShortBreak --> Focus
Focus -->|4th cycle| LongBreak[Long Break 15min]
LongBreak --> Focus
Focus -->|Auto-start| SB[Next break or focus]
SB --> Focus
The timer follows the classic Pomodoro Technique:
- Work for 25 minutes (Focus)
- Take a 5 minute short break
- Repeat 3 more times
- After the 4th focus session, take a 15 minute long break
- Repeat the cycle
Sessions auto-advance with an audible beep and optional desktop notification.
Getting Started
Local
Just open index.html in any modern browser:
open index.html
GitHub Pages
- Fork or copy this repository
- Push to
https://github.com/soumendrak/pomodoro - In the repo Settings โ Pages, select
mainbranch and/ (root)folder - Visit
https://soumendrak.github.io/pomodoro/
Keyboard Shortcuts
| Key | Action |
|---|---|
Space |
Start / Pause |
R |
Reset |
License
Licensed under the MIT License.