A simple, customisable digital clock-style Pomodoro timer designed for Notion embeds, the web and macOS.
- Customisable focus and break durations
- Vintage 60s-inspired colour palette
- Sound effects for session transitions and controls
- Keyboard shortcuts for quick control
- Responsive and embeddable
- Saves preferences using localStorage
git clone https://github.com/markslorach/pomodoro.git
cd pomodoro
pnpm installTo start the web app in development mode -
pnpm devTo build the web app for production -
pnpm buildTo preview the production build locally -
pnpm previewDeveloping and building the timer as a native macOS application requires Tauri. This wraps the app in a lightweight desktop shell.
- Rust
- Xcode Command Line Tools
To run the macOS app in development mode -
pnpm tauri devTo create a production build of the macOS app -
pnpm tauri buildThis will generate a .app bundle in the src-tauri/target/release/bundle/macos/ directory.
After building, a window will open allowing you to install the app directly into your Applications folder.
You can embed the timer directly into your Notion pages using the following URL -
Embed URL: https://pomodoro.markslorach.com/
- In Notion, type "/embed" and select the "Embed" block.
- Paste the URL above into the embed block.
- Resize the embed block as needed for the best fit.
| Shortcut | Action |
|---|---|
| Space | Start/Pause timer |
| R | Reset timer |
| F | Switch to focus mode |
| B | Switch to break mode |
| S | Toggle settings panel |
| C | Toggle colour palette |
| Esc | Close settings/colour palette |
- React 19
- TypeScript
- Tailwind CSS
- shadcn/ui
- Vite
- Tauri

