20 stable releases (4 major)
Uses new Rust 2024
| new 5.0.1 | Mar 16, 2026 |
|---|---|
| 4.0.0 | Mar 13, 2026 |
| 3.0.0 | Mar 13, 2026 |
| 2.0.3 | Feb 15, 2026 |
| 1.2.11 | Feb 12, 2026 |
#80 in Date and time
18KB
234 lines
focusmini
Focusmini is a compact Pomodoro CLI that alternates between work and break intervals while playing a short beep pattern on each transition.
- compact codebase
- minimal dependencies (uses
rodiofor audio cues) - zero unsafe code, test coverage: https://szilvasipeter.github.io/focusmini/coverage/index.html
Install
Install the prebuilt binary with cargo-binstall command:
cargo binstall focusmini
Or build from the source:
cargo install focusmini
Usage
Run the focusmini with the default values or change them with options:
Usage: focusmini [OPTIONS]
Options:
-w, --work <work_minutes> Work interval length in minutes [default: 60]
-b, --break <break_minutes> Break interval length in minutes [default: 10]
Commands
The table summary of the just commands:
| Just Command | Description |
|---|---|
just build |
Build the release binary and strip it. |
just run |
Build and execute the release binary. |
just lint |
Run Clippy in release mode against all targets with clippy::all. |
just test |
Run tests with the fast-tick feature in release mode. |
just cov |
Run test coverage with cargo tarpaulin command. |
just sec |
Run cargo audit, cargo deny check, cargo geiger and cargo +nightly udeps --release. |
Dependencies
~2–33MB
~442K SLoC