A simple rust script for calculating how long I've been working
Find a file
2025-04-20 22:18:34 +09:00
src Bug Fix: Count time from now if the end time is before now 2024-12-27 09:36:49 +09:00
.envrc Add direnv and better support for Darwin 2023-07-11 17:12:55 +09:00
.gitignore Create a script for quickly calculating how long I've been working 2023-07-05 17:05:58 +09:00
Cargo.lock Bug Fix: Count time from now if the end time is before now 2024-12-27 09:36:49 +09:00
Cargo.toml Bug Fix: Count time from now if the end time is before now 2024-12-27 09:36:49 +09:00
README.md Update README.md 2025-04-20 22:18:34 +09:00
shell.nix Add direnv and better support for Darwin 2023-07-11 17:12:55 +09:00

time-track

A simple CLI tool for tracking how much time you have left to work. I find myself stressing about whether I'm hitting 8 real hours, so this little tool helps me avoid wasting time calculating when my work day will end.

Simply enter times, one per line and send an EOF character when you're done. The first lines opens a span of work and the next line closes it so that you can build up working time be clocking in and out. Finally, you can send additional arguments to the program to configure how long you intend to work (the default is 8 hours).

 time-track
Working for 8 hours
Input times one per line. Send an EOF character to finish inputting...
8:30
9:30
11:15
12:30
13:16
18:20
19:30
20:11 # Send an EOF
Exactly done