{"id":23460766,"url":"https://github.com/mrvandalo/taskwarrior-hooks","last_synced_at":"2025-10-09T05:12:17.891Z","repository":{"id":57669307,"uuid":"230608061","full_name":"mrVanDalo/taskwarrior-hooks","owner":"mrVanDalo","description":"A collection of taskwarrior hooks written in rust (because of speed)","archived":false,"fork":false,"pushed_at":"2025-04-04T19:24:18.000Z","size":84,"stargazers_count":19,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-06T00:35:20.258Z","etag":null,"topics":["hooks","rust","taskwarrior"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrVanDalo.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}},"created_at":"2019-12-28T12:37:02.000Z","updated_at":"2025-09-02T01:32:59.000Z","dependencies_parsed_at":"2025-04-14T05:51:33.009Z","dependency_job_id":"056518bb-6c63-43f9-9354-6b8e5bae9acd","html_url":"https://github.com/mrVanDalo/taskwarrior-hooks","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mrVanDalo/taskwarrior-hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrVanDalo%2Ftaskwarrior-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrVanDalo%2Ftaskwarrior-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrVanDalo%2Ftaskwarrior-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrVanDalo%2Ftaskwarrior-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrVanDalo","download_url":"https://codeload.github.com/mrVanDalo/taskwarrior-hooks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrVanDalo%2Ftaskwarrior-hooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000741,"owners_count":26082933,"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-10-09T02:00:07.460Z","response_time":59,"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":["hooks","rust","taskwarrior"],"created_at":"2024-12-24T07:25:54.086Z","updated_at":"2025-10-09T05:12:17.869Z","avatar_url":"https://github.com/mrVanDalo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to install\n\nto install all binaries in `~/.cargo/bin` run.\n\n```\ncargo install --path .\n```\n\n# Executables\n\n* [scheduled-recur](#scheduled-recur) reschedule tasks instead of completing them.\n* [auto-tagger](#auto-tagger) extract tags from description for convenience .\n\n## scheduled-recur\n\nReschedule tasks, instead of completing them.\nTask will be rescheduled `today + (given duration)`.\n\n### setup\n\nAdd this UDA to your `~/.taskrc`.\n\n```\n# scheduled_recur\nuda.scheduled_recur.type=duration\nuda.scheduled_recur.label=Scheduled Recurance\n# END scheduled_recur\n```\n\nand this hook to `~/.task/hooks/on-modify.scheduled-recur.sh`\n\n```sh\n#!/usr/bin/env bash\n~/.cargo/bin/scheduled-recur\n```\n\n### use\n\nDuration are set using\n[ISO8601](https://en.wikipedia.org/wiki/ISO_8601#Durations).\nFor example : `scheduled_recur:P1D` or `scheduled_recur:P1DT8H`\n\n## auto-tagger \n\nAutomatic adds tags by parsing the description.\nThe description string will be split in words and the\nmatching must be exact, no regular expressions supported (yet?).\n\n### setup\n\nYou have to define a configuration file `tag-map.json`,\nhere is an example :\n\n```\n[\n  {\n    \"name\": \"buy\",\n    \"keywords\": [\"buy\" \"shopping\" \"shop\" ]\n  },\n  {\n    \"name\": \"bug\",\n    \"keywords\": [\"fix\", \"bug\"]\n  }\n]\n```\n\n\n#### on-add \n\nTo use for on-add \n\n```sh\n#!/usr/bin/env bash\n~/.cargo/bin/auto-tagger \u003cpath/to/tag-map.json\u003e\n```\n\n#### on-modify\n\nto use for on-modify (just drop the original line)\n\n```sh\n#!/usr/bin/env bash\nread original_line\n~/.cargo/bin/auto-tagger \u003cpath/to/tag-map.json\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrvandalo%2Ftaskwarrior-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrvandalo%2Ftaskwarrior-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrvandalo%2Ftaskwarrior-hooks/lists"}