Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.
/ stopwatch Public archive

Tool for tracking time spent on individual tasks

License

Notifications You must be signed in to change notification settings

msepp/stopwatch

Repository files navigation

Stopwatch

A simple software for tracking time spent on different tasks.

Uses go-astilectron for Golang/Electron binding.

Features

  • Add tasks, grouped into named groups.
  • Start & Stop timer per task.
  • History of last used tasks for easy switching.
  • Edit groups & task details.
  • Get a table of time used per cost code for a group.
  • Ability to choose database to work with (cli option)

TODO

  • Deletion of tasks & groups
  • Editing of recorded time to fix mishaps (eg. forgot to stop task).
    • Already in the CLI (see dumper).

Screenshots

Group view Group view Group view

Requirements

  • You should have Go installed and set up.
  • Uses Makefiles for build automation, so you should have make installed.
  • wget is required for automatically downloading vendored packages
  • asar is used for bundling UI resources
    • npm install -g asar
  • angular-cli for UI scaffolding.
  • go-bindata is used for packing binary files into executable.
    • go get -u github.com/lestrrat/go-bindata/...
  • go-homedir
    • go get -u github.com/mitchellh/go-homedir
  • go-astilectron
    • go get -u github.com/asticode/go-astilectron
  • Windows builds tested using git bash.

Building

Make sure you have the requirements installed and run the following commands:

go get -u github.com/msepp/stopwatch/...
cd $GOPATH/src/github.com/msepp/stopwatch
make

This will build the sample for your OS/Arch, if supported.

Building non-host targets happens with make stopwatch-GOOS-ARCH[.exe], where GOOS, ARCH should be replaced with target values.