#time #track #productivity #cli #freelance

bin+lib timetrack

Automatically track how you are spending your time by watching the file system

5 releases

0.2.3 Sep 3, 2018
0.2.2 Sep 3, 2018
0.2.1 Sep 1, 2018
0.2.0 Aug 30, 2018
0.1.0 Aug 23, 2018

#46 in Date and time

Download history 11/week @ 2018-08-23 15/week @ 2018-08-30 47/week @ 2018-09-06 52/week @ 2018-09-13 9/week @ 2018-09-20 10/week @ 2018-09-27 19/week @ 2018-10-04 3/week @ 2018-10-11 107/week @ 2018-10-18 1/week @ 2018-10-25 1/week @ 2018-11-01 74/week @ 2018-11-08

20 downloads per month

MIT/Apache

40KB
1K SLoC

TimeTrack Build Status

TimeTrack watches the file system to automatically track how much time you are spending on each of your projects.

screenshot

Setup

Install

TimeTrack requires Rust in order to build/install. If you need to install Rust, follow these instructions. Once you have Rust installed, TimeTrack can be installed by running the command below:

cargo install timetrack

Configure tracking path(s)

By default, TimeTrack is configured to watch your home directory. You will likely want to reconfigure TimeTrack to watch whichever directory you use to store your projects. After installing TimeTrack, run timetrack config to find the User configuration file. Edit that file to configure TimeTrack to watch the appropriate directory (or directories if you have multiple, note that at this time TimeTrack does not support watching directories which are nested within one another). As an example, the full contents of my TimeTrack configuration file are track_paths = ["/Users/josh/Projects"]. After editing the configuration file, run timetrack config again to confirm the Tracking paths are displayed correctly.

Automatic startup

The timetrack track command starts TimeTrack in tracking mode. This should be running any time you want to track time. While you can manually start/stop this process, it is recommended that you configure your system to start this process automatically on startup. The specific steps to do this will depend on your OS. On OSX you can use timetrack schedule after TimeTrack has been installed to configure it to start tracking every time the current use logs in.

Use

    # to start time tracking
    timetrack track
    
    # to see the results
    timetrack
    
    # to clear the tracking history
    timetrack clear
    
    # to view the configuration
    timetrack config
    
    # to configure TimeTrack to start tracking every time the current user logs in 
    # currently only supported on OSX
    timetrack schedule
    
    # to disable TimeTrack from starting every time the current user logs in 
    # currently only supported on OSX
    timetrack unschedule

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~7MB
~110K SLoC