hackatime-0.1.0 is not a library.
Hackatime Terminal Viewer
A Rust terminal app that signs into Hackatime with OAuth PKCE and prints a simple stats summary.
Install
- From crates.io:
cargo install hackatime - Then run:
hackatime
Commands
hackatimeshows the multi-range summary plus lifetime languageshackatime --currentshows the current project reporthackatime --todayshows today's total plus today's languageshackatime --weekshows this week's total plus this week's languageshackatime --monthshows this month's total plus this month's languageshackatime --yearshows this year's total plus this year's languageshackatime --lifetimeshows lifetime total plus lifetime languages
Current features
- Browser-based OAuth login using PKCE
- Reuses your saved access token on later runs so you do not log in each time
- Fetches your profile
- Prints a plain text stats summary and exits