{"id":26239885,"url":"https://github.com/gs256/worktracker","last_synced_at":"2026-04-13T07:36:38.953Z","repository":{"id":157983949,"uuid":"621512478","full_name":"gs256/worktracker","owner":"gs256","description":"A command line tool that calculates total time based on timestamps written in a simple human-readable format","archived":false,"fork":false,"pushed_at":"2025-08-24T08:52:39.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-01T00:58:27.776Z","etag":null,"topics":["calculator","cli","rust","time","timestamp","tracker","work","worktracker"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gs256.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-03-30T20:16:28.000Z","updated_at":"2025-08-24T08:39:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"33861d22-853f-4639-a57e-cd267a7b4190","html_url":"https://github.com/gs256/worktracker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gs256/worktracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gs256%2Fworktracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gs256%2Fworktracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gs256%2Fworktracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gs256%2Fworktracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gs256","download_url":"https://codeload.github.com/gs256/worktracker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gs256%2Fworktracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31744404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"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":["calculator","cli","rust","time","timestamp","tracker","work","worktracker"],"created_at":"2025-03-13T07:17:37.703Z","updated_at":"2026-04-13T07:36:38.933Z","avatar_url":"https://github.com/gs256.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# worktracker\n\nA command line tool that calculates total time based on timestamps written in a simple human-readable format. It can be used to track time spent on work or any other kinds of tasks.\n\n## How to use\n\nThe tool works in a similar way to `wc` and accepts input from stdin.\n\n`~/.log.txt`\n\n```\n1 10\n2 45\n\n11:23\n1:30\n\n13h 10m\n13h 50m\n```\n\n```console\n$ worktracker \u003c ~/.log.txt\n\n 1h 10m -  2h 45m =\u003e 1h 35m\n11h 23m -  1h 30m =\u003e 2h 7m\n13h 10m - 13h 50m =\u003e 40m\n\nTotal time: 4h 22m\n```\n\nYou can also run `worktracker` and type the timestamps manually or paste them into the terminal and press `ctrl+z` to simulate EOF.\n\n## Syntax\n\nThe tool works with both **12h** and **24h** time formats.\n\nSupported timestamp formats `11 20`, `11:20`, `11h 20m`.\n\n**TODO:** add support for timestamps without minutes (`11h`)\n\nThe timestamps should be written in pairs. The first one is **start**, the second one is **end**. Each pair should be separated by a newline.\n\nTimestamps with incorrect syntax are ignored.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgs256%2Fworktracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgs256%2Fworktracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgs256%2Fworktracker/lists"}