timeglass / glass

Automated time tracking for Git repositories. [DEPRECATED]
Mozilla Public License 2.0
583 stars 27 forks source link

Timeglass

Timeglass Screenshot

Fully automated time tracking for Git repositories. It uses hooks and file monitoring to make sure you'll never forget to start or stop your timer ever again. It is written in Go and runs 100% on your own workstation: no internet or account registration required.

Features:

Currently Supported:

Getting Started

  1. Download and install the latest release using any one of your preferred methods:

    1. Automatic installers for 64bit OSX and Windows
    2. Manual installion with 64bit precompiled Binaries for OSX, Linux and Windows
    3. Manual installion by building from source for all other architectures

    Note: For Windows, the documentation assumes you're using Git through a bash-like CLI but nothing about the implementation prevents you from using another approach.

  2. Use your terminal to navigate to the repository that contains the project you would like to track and then initiate Timeglass:

    cd ~/my-git-project
    glass init

    NOTE: you'll have to run this once per clone

  3. The timer starts right away but will pause soon unless it detects file activity or the checkout of a branch:

    # see if the timer is running or paused:
    glass status
    
    # the timer keeps running while there is file activity
    echo "pretending to work..." > ./my_file.go
  4. Edit some files, get a coffee, and commit in order to register the time you spent:

    git add -A
    git commit -m "time flies when you're having fun"
  5. Verify that the time was indeed registered correctly by looking at your commit log:

    git log -n 1 --show-notes=time-spent

What's Next?

Now you know how to measure the time you are spending on each commit, you might want to learn more about...

And ofcourse, you'll always have the options to uninstall:

Roadmap, input welcome!

Known Issues

Contributors

in alphabetical order: