13 releases
Uses new Rust 2024
| 0.3.1 | Sep 17, 2025 |
|---|---|
| 0.3.0 | Aug 23, 2025 |
| 0.2.2 | Aug 13, 2025 |
| 0.1.7 | Aug 6, 2025 |
| 0.1.1 | Jul 29, 2025 |
#290 in Command-line interface
1,002 downloads per month
36KB
880 lines
Fokus
Learning Rust by building a TUI Pomodoro timer.
Critiques welcome.
Installation
cargo install fokus
Usage
A Simple Pomodoro TUI Built With Rust
Usage: fokus [OPTIONS]
Options:
-w, --working-time <WORKING_TIME> [default: 25]
-b, --break-time <BREAK_TIME> [default: 5]
-l, --long-break-time <LONG_BREAK_TIME> [default: 15]
-s, --sessions-until-break-time <SESSIONS_UNTIL_BREAK_TIME> [default: 2]
-h, --help Print help
-V, --version Print version
TODO
- Store statistics
- View sessions per day in UI
- Fix skip session panicking
- Fix session counter not working every nth time
Notification enhancements are out of scope for this project.
- [ ] Set current terminal identifier for notifications (WIP)
- [ ] Notification clicking takes you to window
- [ ] Notification actions
- Need to figure out how to async wait notification but still run the main thread
Dependencies
~18–55MB
~813K SLoC