{"id":13571074,"url":"https://github.com/sourcegraph/thyme","last_synced_at":"2025-09-28T23:31:51.000Z","repository":{"id":47798927,"uuid":"65177522","full_name":"sourcegraph/thyme","owner":"sourcegraph","description":"Automatically track which applications you use and for how long.","archived":true,"fork":false,"pushed_at":"2021-10-22T02:33:09.000Z","size":353,"stargazers_count":2241,"open_issues_count":36,"forks_count":82,"subscribers_count":107,"default_branch":"master","last_synced_at":"2025-09-16T17:53:41.805Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sourcegraph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-08T06:15:10.000Z","updated_at":"2025-09-15T18:34:39.000Z","dependencies_parsed_at":"2022-09-10T08:51:40.573Z","dependency_job_id":null,"html_url":"https://github.com/sourcegraph/thyme","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/sourcegraph/thyme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fthyme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fthyme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fthyme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fthyme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourcegraph","download_url":"https://codeload.github.com/sourcegraph/thyme/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fthyme/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275866598,"owners_count":25542752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T14:00:58.168Z","updated_at":"2025-09-28T23:31:50.665Z","avatar_url":"https://github.com/sourcegraph.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# \u003cimg alt=\"logo\" src=\"/assets/images/thyme.png\" height=\"40\"\u003e Thyme\n\nSpice up your day-to-day productivity with some free Thyme, courtesy\nof the team at [Sourcegraph](https://sourcegraph.com) (the\n[best way to read and explore code](https://sourcegraph.com/github.com/sourcegraph/thyme/-/def/GoPackage/github.com/sourcegraph/thyme/-/Snapshot)).\nAutomatically track which applications you use and for how long.\n\n- Simple CLI to track and analyze your application usage\n- Detailed charts that let you profile how you spend your time\n- Stores data locally, giving you full control and privacy\n- [Open-source](https://sourcegraph.com/github.com/sourcegraph/thyme/-/def/GoPackage/github.com/sourcegraph/thyme/cmd/thyme/-/main.go/TrackCmd/Execute), [well-documented](https://godoc.org/github.com/sourcegraph/thyme), and easily extensible\n\nThyme is a work in progress, so please report bugs! Want to see how it works? [Dive into the source here.](https://sourcegraph.com/github.com/sourcegraph/thyme/-/def/GoPackage/github.com/sourcegraph/thyme/cmd/thyme/-/main.go/TrackCmd/Execute)\n\nWant to share what you've learned about your Thyme? Join the discussion on [Twitter](https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fsourcegraph%2Fthyme\u0026original_referer=https%3A%2F%2Fgithub.com).\n\n## Features\n\n### Simple CLI\n\n1. Record which applications you use every 30 seconds:\n   ```\n   $ while true; do thyme track -o thyme.json; sleep 30s; done;\n   ```\n\n2. Create charts showing application usage over time. In a new window:\n   ```\n   $ thyme show -i thyme.json -w stats \u003e thyme.html\n   ```\n\n3. Open `thyme.html` in your browser of choice to see the charts\n   below.\n\n### Application usage timeline\n\n![Application usage timeline](/assets/images/app_coarse.png)\n\n### Detailed application window timeline\n\n![Application usage timeline](/assets/images/app_fine.png)\n\n### Aggregate time usage by app\n\n![Application usage timeline](/assets/images/agg.png)\n\n\n## Dependencies\n\nThyme's dependencies vary by system. See `thyme dep` (mentioned in the installation instructions below).\n\n## Install\n\n1. [Install Go](https://golang.org/dl/) (if you have Homebrew on macOS, you can also run `brew install go`) and run\n   ```\n   $ go get -u github.com/sourcegraph/thyme/cmd/thyme\n   ```\n   Alternatively, if you don't want to install Go, just download the `thyme` binary [here](https://github.com/sourcegraph/thyme/releases).\n\n1. Follow the instructions printed by `thyme dep`.\n   ```\n   $ thyme dep\n   ```\n\n1. Verify `thyme` works with\n   ```\n   $ thyme track\n   ```\n   This should display JSON describing which applications are currently active, visible, and present on your system.\n\nThyme currently supports Linux, macOS, and Windows.\n\n## Usage for Other Shells\n##### Windows Powershell\n   ```\n   \u003e for(1){thyme track -o thyme.json; Start-Sleep -s 5}\n   \u003e thyme show -i thyme.json -w stats | Out-File -e utf8 thyme.html\n   ```\n##### Windows DOS Command Line\n   ```\n   \u003e for /L %n in (0) do @(thyme track -o thyme.json \u0026\u0026 timeout /t 5 /nobreak)\n   \u003e thyme show -i thyme.json -w stats \u003e thyme.html\n   ```\n\n## Use cases\n\nThyme was designed for developers who want to investigate their\napplication usage to make decisions that boost their day-to-day\nproductivity.\n\nIt can also be for other purposes such as:\n\n- Tracking billable hours and constructing timesheets\n- Studying application usage behavior in a given population\n\n## How is Thyme different from other time trackers?\n\nThere are many time tracking products and services on the market.\nThyme differs from available offerings in the following ways:\n\n- Thyme does not intend to be a fully featured time management product\n  or service. Thyme adopts the Unix philosophy of a command-line tool\n  that does one thing well and plays nicely with other command-line\n  tools.\n\n- Thyme does not require you to manually signal when you start or stop\n  an activity. It automatically records which applications you use.\n\n- Thyme is open source and free of charge.\n\n- Thyme does not send data over the network. It stores the data it\n  collects on local disk. It's up to you whether you want to share it\n  or not.\n\n## Attribution\n\nThe [Thyme logo](https://thenounproject.com/term/thyme/356887/)\n\u003cimg alt=\"logo\" src=\"/assets/images/thyme.png\" height=\"40\"\u003e by\n[Anthony Bossard](https://thenounproject.com/le101edaltonien/) is\nlicensed under\n[Creative Commons 3.0](https://creativecommons.org/licenses/by/3.0/us/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcegraph%2Fthyme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourcegraph%2Fthyme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcegraph%2Fthyme/lists"}