Skip to content

juniensis/timesink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timesink

Track how much terminal time you've sunk into your projects. Current only tested on Linux 6.15.8-arch1-2 with Bash and Zsh.

Installation

cargo install --git "https://github.com/juniensis/timesink.git"

After installing, run "timesink install" to create the needed files, install the shell hook, and optionally enable the systemd service, If you're not using systemd, you'll have to setup your own way of running the daemon, just run the executable (~/.cargo/bin/timesink) with the daemon argument in any headless way you like.

Usage

Usage: timesink [COMMAND] [OPTIONS]

Commands:

  • install - Install timesink.
  • usage/help - Show this message.
  • clean - Remove all files timesink has made.
  • daemon - Run the timesink daemon.
  • restore [PATH] - Load data from a file. (file format: [PATH]:[NAME]:[SECONDS]\n)
  • untrack [PATH] - Untrack the given path.
  • sync [?PATH] - Sync data to the default timesink.sunk file, or a given path.
  • sunk [?PATH] - Display the time sunk in either the given sink or all sinks.
  • track [PATH] [?NAME] - Track the given path with an optional specified name.

About

A terminal time tracker.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages