{"id":14070281,"url":"https://github.com/benjamonnguyen/obsidian-todotxt-codeblocks","last_synced_at":"2026-01-18T02:42:37.060Z","repository":{"id":184305473,"uuid":"671489278","full_name":"benjamonnguyen/obsidian-todotxt-codeblocks","owner":"benjamonnguyen","description":"Manage your tasks inside Obsidian codeblocks according to the Todo.txt specification.","archived":false,"fork":false,"pushed_at":"2024-10-20T06:04:08.000Z","size":18144,"stargazers_count":15,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-30T10:39:00.091Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/benjamonnguyen.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}},"created_at":"2023-07-27T12:40:14.000Z","updated_at":"2024-10-20T06:03:55.000Z","dependencies_parsed_at":"2023-08-19T09:23:17.886Z","dependency_job_id":"9fb3ae3b-52e5-4e1b-bcfb-287d3c03d42a","html_url":"https://github.com/benjamonnguyen/obsidian-todotxt-codeblocks","commit_stats":null,"previous_names":["benjamonnguyen/obsidian-todotxt-md","benjamonnguyen/obsidian-todotxt-codeblocks"],"tags_count":11,"template":false,"template_full_name":"obsidianmd/obsidian-sample-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamonnguyen%2Fobsidian-todotxt-codeblocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamonnguyen%2Fobsidian-todotxt-codeblocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamonnguyen%2Fobsidian-todotxt-codeblocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamonnguyen%2Fobsidian-todotxt-codeblocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benjamonnguyen","download_url":"https://codeload.github.com/benjamonnguyen/obsidian-todotxt-codeblocks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228102683,"owners_count":17869903,"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","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-13T07:07:37.747Z","updated_at":"2026-01-18T02:42:37.004Z","avatar_url":"https://github.com/benjamonnguyen.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/benjamonn"],"categories":["TypeScript"],"sub_categories":[],"readme":"# obsidian-todotxt-codeblocks\n\n## Description\nA codeblock alternative to mvgrimes's [obsidian-todotxt-plugin](https://github.com/mvgrimes/obsidian-todotxt-plugin) based on the [Todo.txt specs](https://github.com/todotxt/todo.txt).\n\nAdd your tasks to a `todotxt` codeblock to get started!\n\nLink your codeblock to an existing *.txt file to synchronize changes.\n\n\u003cimg src=\"assets/demo.gif\" /\u003e\n\n## Features\n- [x] **Sorting** (listed in order of priority)\n  - string[]\n    - `proj` (project)\n      - ex. \"sort:proj:Home,Work\"\n    - `ctx` (context)\n      - \"n/c\" = no context\n      - ex. \"sort:ctx:bug,feature,n/c,nice-to-have\"\n  - desc/asc (defaults to asc)\n    - `status`\n    - `prio` (priority)\n    - `completed` (completed date)\n    - `due` (due date extension)\n    - `created` (created date)\n    - ex. \"sort:status sort:created:desc\"\n  - `default` (ex. \"sort:default\")\n- **Live Preview**\n  - [x] Collapsible project groups\n  - [x] Edit, add, delete buttons\n  - [x] Render Markdown links\n- [x] **Autocompletion** for projects and contexts\n- [x] **Archive** completed tasks to `archive.txt` file\n  - [x] **Auto-archive** setting\n- [x] Configurable defaults\n\n**Commands**\n- [x] `Create new task in focused list`\n- [x] `New codeblock at cursor`\n\n**Extensions**\n  - [x] `due:` (Due date)\n  - [x] `rec:` (Recurrence frequency)\n\n**Language line options** (not yet implemented)\n  - [ ] `get:` Query for existing Todo.txt tasks and move to current codeblock\n  - [x] `src:` Link a *.txt file to the todotxt codeblock\n  - [ ] `filter:`\n\n## Extensions\n  - date formats\n    - \\\u003cYYYY-MM-DD\u003e (ex. 1996-08-06)\n    - \\\u003cMM-DD\u003e (ex. 08-06)\n    - \\\u003cn\u003e\u003c[dateUnit]\u003e (ex. 1w = 1 week from today)\n      - calculates date n number of dateUnits away\n      - dateUnits: d, w, m, y, b (business day)\n      - if only a number is provided, it will calculate **d**ays (ex. 0 = today, 1 = tomorrow, 7 = next week)\n    - \\\u003cdayOfWeek\u003e (ex. M = next Monday)\n      - calculates date for first upcoming dayOfWeek\n      - M, Tu, W, Th, F, Sa, Su\n    - dayOfWeek and dateUnits (except b) can be combined (dayOfWeek must come first)\n      - 1w2d = 9 days (1 **w**eek + 2 **d**ays)\n      - Su5d = first upcoming **Su**nday in 5 **d**ays\n    - if the `rec:` value is prefixed with a plus (ex. rec:+1w), the date is determined from the original due date rather than the completed date\n\n## Donations\nFeel free to support me if you enjoy the plugin!\n\n\u003ca href=\"https://www.buymeacoffee.com/benjamonn\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n\n## Acknowledgements\nThanks to hieuthi's [joplin-plugin-metis](https://github.com/hieuthi/joplin-plugin-metis) for the inspiration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjamonnguyen%2Fobsidian-todotxt-codeblocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjamonnguyen%2Fobsidian-todotxt-codeblocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjamonnguyen%2Fobsidian-todotxt-codeblocks/lists"}