A beautiful, minimal Pomodoro timer app built with React Native and Expo. Designed for focused productivity with a zen-inspired user interface.
- 🎯 Focus Timer: Traditional 25-minute Pomodoro sessions
- ☕ Smart Breaks: Automatic short (5min) and long (15min) breaks
- 📊 Session Tracking: Visual progress indicators for completed sessions
- ⚙️ Customizable: Adjust timer durations to fit your workflow
- 🎨 Zen Design: Minimal, distraction-free interface
- 📱 Cross-Platform: Works on iOS, Android, and Web
- 🔄 Auto-Progression: Seamless transitions between focus and break modes
- 🎉 Celebrations: Gentle animations when completing sessions
- Node.js (v18 or higher)
- npm or yarn
- Expo CLI
- iOS Simulator / Android Emulator (optional)
-
Clone the repository
git clone https://github.com/algorithm368/pomodoro_app.git cd pomodoro-app -
Install dependencies
npm install
-
Start the development server
npm start
-
Run on your device
- Scan the QR code with Expo Go app
- Or press
ifor iOS simulator - Or press
afor Android emulator - Or press
wfor web browser
- Choose your mode: Focus, Short Break, or Long Break
- Start the timer: Tap the start button to begin your session
- Stay focused: The timer counts down with a beautiful progress ring
- Take breaks: The app automatically suggests breaks after focus sessions
- Track progress: Visual dots show your completed Pomodoro sessions
- Tap the settings icon (three dots) in the top-right corner
- Adjust timer durations for each mode:
- Focus Time: Default 25 minutes
- Short Break: Default 5 minutes
- Long Break: Default 15 minutes
- Changes apply immediately to your workflow
- Work for 25 minutes (1 Pomodoro)
- Take a 5-minute short break
- Repeat steps 1-2 three more times
- Take a 15-30 minute long break
- Start the cycle again
The app follows a professional, modular architecture:
src/
├── components/ # Reusable UI components
│ ├── ModesSelector.tsx
│ ├── TimerDisplay.tsx
│ ├── TimerControls.tsx
│ ├── ProgressIndicator.tsx
│ ├── SettingsModal.tsx
│ └── index.ts
├── hooks/ # Custom React hooks
│ └── usePomodoro.ts # Main timer logic
├── types/ # TypeScript definitions
│ └── timer.ts
├── constants/ # App constants and theme
│ ├── timer.ts
│ ├── theme.ts
│ └── index.ts
├── utils/ # Utility functions
│ └── timer.ts
├── styles/ # Centralized styling
│ └── pomodoro.ts
└── index.ts # Main exports
- Framework: React Native with Expo
- Language: TypeScript
- Graphics: React Native SVG for progress circles
- Styling: Expo Linear Gradient for backgrounds
- Navigation: Expo Router
- Development: Hot reloading, TypeScript support
- Cross-Platform: iOS, Android, and Web support
react-native: ^0.79.5 - Core React Native frameworkexpo: ~53.0.20 - Expo SDK for development and deploymentexpo-linear-gradient: ^14.1.5 - Beautiful gradient backgroundsreact-native-svg: ^15.12.1 - SVG graphics for progress ringstypescript: ~5.8.3 - Type safety and better development experience
The app embraces a zen-inspired design with:
- Minimal Interface: Clean, distraction-free layout
- Subtle Animations: Gentle transitions and feedback
- Soft Colors: Calming color palette for focus
- Typography: Clean, readable fonts with proper spacing
- Responsive Design: Adapts beautifully to different screen sizes
npm start- Start the Expo development servernpm run android- Run on Android device/emulatornpm run ios- Run on iOS device/simulatornpm run web- Run in web browsernpm run lint- Run ESLint for code quality
/app- Main application screens and routing/src- Modular source code (components, hooks, etc.)/assets- Images, fonts, and static resources/constants- App-wide constants and configuration
-
Build for Android
expo build:android
-
Build for iOS
expo build:ios
-
Build for Web
expo build:web
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by the Pomodoro Technique® by Francesco Cirillo
- Zen design principles for mindful productivity
- React Native and Expo communities for excellent tools
If you have any questions or need help, please open an issue.
Happy focusing! 🍅✨