Spice up your day-to-day productivity with some free Thyme, courtesy of the team at Sourcegraph. Automatically track which applications you use and for how long.
- Simple CLI to track and analyze your application usage
- Detailed charts that let you profile how you spend your time
- Stores data locally, giving you full control and privacy
- Open-source, well-documented, and easily extensible
Thyme is a work in progress, so please report bugs! Want to see how it works? Dive into the source here.
Want to share what you've learned about your Thyme? Join the discussion on Twitter.
-
Record which applications you use every 30 seconds:
$ watch -n 30 thyme track -o thyme.json
An alternative to using
watch
is:$ while true; do thyme track -o thyme.json; sleep 30s; done;
-
Create charts showing application usage over time. In a new window:
$ thyme show -i thyme.json -w stats > thyme.html
-
Open
thyme.html
in your browser of choice to see the charts below.
- Install Go. (If you have Homebrew on macOS, you can also run
brew install go
.) - Run
$ go get -u github.com/sourcegraph/thyme/cmd/thyme
$ thyme dep
- Follow the instructions printed by
thyme dep
. - Verify
thyme
works with
$ thyme track
This should display JSON describing which applications are currently active, visible, and present on your system.
Note: Thyme currently supports Linux (using X-Windows) and macOS (via the AppleScript "System Events" API). Pull requests are welcome for Windows!
Thyme was designed for developers who want to investigate their application usage to make decisions that boost their day-to-day productivity.
It can also be for other purposes such as:
- Tracking billable hours and constructing timesheets
- Studying application usage behavior in a given population
There are many time tracking products and services on the market. Thyme differs from available offerings in the following ways:
-
Thyme does not intend to be a fully featured time management product or service. Thyme adopts the Unix philosophy of a command-line tool that does one thing well and plays nicely with other command-line tools.
-
Thyme does not require you to manually signal when you start or stop an activity. It automatically records which applications you use.
-
Thyme is open source and free of charge.
-
Thyme does not send data over the network. It stores the data it collects on local disk. It's up to you whether you want to share it or not.
The Thyme logo
by
Anthony Bossard is
licensed under
Creative Commons 3.0.