| Crates.io | focuz |
| lib.rs | focuz |
| version | 0.0.1 |
| created_at | 2025-09-04 07:17:31.471983+00 |
| updated_at | 2025-09-04 07:17:31.471983+00 |
| description | Lightweight Beautiful Terminal Pomodoro Timer |
| homepage | |
| repository | https://github.com/shiyasmohd/focuz |
| max_upload_size | |
| id | 1823787 |
| size | 521,456 |

cargo install focuz
# Run a timer for specific duration
focuz <duration>
focuz 10s # 10 seconds timer
focuz 5m # 5 minutes timer
focuz 2h # 2 hours timer
focuz 90 # 90 seconds (no suffix defaults to seconds)
s or no suffix - seconds (e.g., 30s or 30)m - minutes (e.g., 5m)h - hours (e.g., 2h)| Key | Action |
|---|---|
q or Esc |
Quit the timer |
Ctrl+C |
Force quit |
# Clone the repository
git clone https://github.com/shiyasmohd/focuz.git
cd focuz
# Build the project
cargo build --release
# Run directly
cargo run -- 5m
# Run all tests
cargo test
# Run with output
cargo test -- --nocapture
focuz/
โโโ src/
โ โโโ main.rs # Entry point
โ โโโ cli/ # Command-line interface
โ โ โโโ mod.rs
โ โ โโโ cli.rs # CLI parsing and duration handling
โ โโโ timer/ # Timer functionality
โ โโโ mod.rs
โ โโโ timer.rs # Core timer logic
โ โโโ display.rs # ASCII art display
โ โโโ sound.rs # Audio notifications
โโโ sounds/ # Audio files
โ โโโ start.wav
โ โโโ end.mp3
โโโ Cargo.toml
โโโ README.md
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.