GitHub

GitHub Pages MIT License HTML5 Zero Dependencies

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 (Space to toggle, R to 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
Loading

The timer follows the classic Pomodoro Technique:

  1. Work for 25 minutes (Focus)
  2. Take a 5 minute short break
  3. Repeat 3 more times
  4. After the 4th focus session, take a 15 minute long break
  5. 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

  1. Fork or copy this repository
  2. Push to https://github.com/soumendrak/pomodoro
  3. In the repo Settings โ†’ Pages, select main branch and / (root) folder
  4. Visit https://soumendrak.github.io/pomodoro/

Keyboard Shortcuts

Key Action
Space Start / Pause
R Reset

License

Licensed under the MIT License.

Read the original on github.com โ†—