Frogodoro is a Pomodoro Technique timer that pairs focused work sessions with a friendly hopping frog, lo-fi background music, and a handful of relaxing scenes to work in front of. Work in focused bursts, take short and long breaks, and (optionally) sign in to track your stats across sessions.
- Pomodoro timer — configurable focus, short break, and long break durations
- Animated frog companion — idles and hops along as your session runs
- Lo-fi background music — separate tracks for focus and break modes, with mute control
- Selectable backgrounds — river landscape, koi pond, vivarium, sunset lake, waterfall, and desert scenes
- Auto-start — optionally auto-start the next break or pomodoro when a session ends
- Account sync (Firebase) — sign up / log in to save your settings and background choice across devices
- Stats tracking — sessions completed, total focus minutes, current streak, and longest streak
- Local persistence — timer settings and background persist via
localStorageeven when signed out
| Layer | Technology |
|---|---|
| Framework | React 19 (with the React Compiler) |
| Build tool | Vite 7 |
| Styling | Tailwind CSS 4 |
| Timer UI | react-circular-progressbar |
| Audio | use-sound |
| Auth & data | Firebase (Authentication + Firestore) |
| Linting | ESLint 9 |
| CI | GitHub Actions (lint + build on push/PR to main) with Dependabot |
- Node.js 20 or later
- npm (bundled with Node.js)
- A Firebase project, if you want account sync and stats to work
git clone https://github.com/NGHades/frogodoro.git
cd frogodoro
npm installFrogodoro uses Firebase for authentication and storing user settings/stats. Create a .env file in the project root (or configure src/components/firebaseConfig.js directly) with your Firebase project credentials:
VITE_FIREBASE_API_KEY=your_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
VITE_FIREBASE_APP_ID=your_app_idThe app still works without Firebase configured — the timer and background selection just fall back to
localStorage, and account/stats features will be unavailable.
npm run devThen open the printed local URL (typically http://localhost:5173) in your browser.
npm run build # Production build to dist/
npm run preview # Preview the production build locally
npm run lint # Run ESLintfrogodoro/
├── public/ # Static assets (favicon, etc.)
├── src/
│ ├── assets/ # Backgrounds, frog sprites, and music
│ ├── components/ # Timer, Settings, buttons, auth UI, Firebase config
│ ├── context/ # Auth and background React contexts
│ ├── services/ # Firestore read/write helpers
│ ├── App.jsx # App shell, background picker, marketing sections
│ └── main.jsx # Entry point
└── vite.config.js
See tasks.md for in-progress and planned work, including:
- Spotify player integration
- Additional auth improvements
- Inspired by Pomotroid
- Frog sprites: "Casual Frog Traveler" and "Toxic Frog" asset packs
No license has been specified for this project yet.




