{"id":15509820,"url":"https://github.com/smortex/wtr","last_synced_at":"2026-01-20T05:01:48.936Z","repository":{"id":159611336,"uuid":"634736211","full_name":"smortex/wtr","owner":"smortex","description":"A time tracking daemon to mesure the time you spend working on different projects.","archived":false,"fork":false,"pushed_at":"2026-01-03T01:20:04.000Z","size":272,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-05T16:38:48.442Z","etag":null,"topics":["time","tracker"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smortex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-01T03:40:28.000Z","updated_at":"2026-01-02T22:38:51.000Z","dependencies_parsed_at":"2024-12-20T07:24:14.965Z","dependency_job_id":"48e96a6b-ef76-4b1a-bae1-0a7ced8e85d6","html_url":"https://github.com/smortex/wtr","commit_stats":{"total_commits":118,"total_committers":1,"mean_commits":118.0,"dds":0.0,"last_synced_commit":"bdef46f00a005a261c186fced5cfa9281c59f373"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smortex/wtr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fwtr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fwtr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fwtr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fwtr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smortex","download_url":"https://codeload.github.com/smortex/wtr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fwtr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28596087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["time","tracker"],"created_at":"2024-10-02T09:44:11.774Z","updated_at":"2026-01-20T05:01:48.920Z","avatar_url":"https://github.com/smortex.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Work Time Recorder\n\nA time tracking daemon to measure the time you spend working on different projects.\n\n## Goals\n\n* No user interaction to start / stop working on a project: I can't format my mind to add toil actions when I have something to do, so no \"start\" and \"stop\" buttons;\n* Ability to work on multiple projects in parallel: I contribute to a lot of Free Software as a part of my day-to-day work, I want to track the time I spend on each of them;\n* Ability to nest projects one inside another: one organization I am working for may own multiple projects, I want to track both the time spent working for this organization and on each project.\n\n## How it works\n\nThe daemon `wtrd(1)` regularly walk through the user processes and check their working directory.  These working directories are compared to projects roots: if any process' working directory is in a project root, this project is considered active.\n\n## Usage\n\nAssuming the following directory tree for the user `~coyote` who wants to track the time spent on 3 projects, `A`, `B` and `C`, while also tracking the time spent for their employer `ACME` who owns the `A` and `B` projects:\n\n```\n~coyote\n|-\u003e ACME\n|   |-\u003e A\n|   `-\u003e B\n`-\u003e C\n```\n\nThis user can create / edit their `wtrd(1)` configuration file with:\n\n```sh-session\ncoyote@home ~ $ wtr edit\n```\n\nThis will bring their editor where they can describe their hierarchy using ini-style syntax where each project's \"friendly name\" is a section containing a single `root` key with the path to the directory to consider the root of the project:\n\n```ini\n[A]\nroot=~/ACME/A\n\n[B]\nroot=~/ACME/B\n\n[C]\nroot=~/C\n\n[ACME]\nroot=~/ACME\n```\n\nThey then start the `wtrd(1)` daemon, and can use `wtr(1)` to query information on what is going on and generate reports.\n\n```sh-session\ncoyote@home ~ $ wtr --help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmortex%2Fwtr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmortex%2Fwtr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmortex%2Fwtr/lists"}