{"id":34100376,"url":"https://github.com/pschmitt/tdc","last_synced_at":"2025-12-30T16:17:18.744Z","repository":{"id":274535141,"uuid":"923226050","full_name":"pschmitt/tdc","owner":"pschmitt","description":"✅ Todoist CLI, powered by rich","archived":false,"fork":false,"pushed_at":"2025-11-14T12:56:23.000Z","size":400,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-14T14:35:58.720Z","etag":null,"topics":["cli","rich","todoist","todoist-cli"],"latest_commit_sha":null,"homepage":"","language":"Python","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/pschmitt.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},"funding":{"github":["pschmitt"],"custom":["https://www.paypal.com/paypalme/pppschmitt"]}},"created_at":"2025-01-27T21:10:49.000Z","updated_at":"2025-11-14T12:56:26.000Z","dependencies_parsed_at":"2025-01-27T22:32:03.433Z","dependency_job_id":"bd8cb086-a1e4-4824-bef0-9047e1e4ddcd","html_url":"https://github.com/pschmitt/tdc","commit_stats":null,"previous_names":["pschmitt/tdc"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/pschmitt/tdc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschmitt%2Ftdc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschmitt%2Ftdc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschmitt%2Ftdc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschmitt%2Ftdc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pschmitt","download_url":"https://codeload.github.com/pschmitt/tdc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschmitt%2Ftdc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27731959,"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-12-14T02:00:11.348Z","response_time":56,"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":["cli","rich","todoist","todoist-cli"],"created_at":"2025-12-14T16:57:24.813Z","updated_at":"2025-12-14T16:57:25.488Z","avatar_url":"https://github.com/pschmitt.png","language":"Python","funding_links":["https://github.com/sponsors/pschmitt","https://www.paypal.com/paypalme/pppschmitt"],"categories":[],"sub_categories":[],"readme":"# ✅ tdc: CLI for Todoist\n\n`tdc` is a lightweight Python command-line interface for interacting with [Todoist](https://todoist.com/).\n\nPowered by:\n- [todoist-api-python](https://pypi.org/project/todoist-api-python/) (the official Todoist API client)\n- [rich](https://pypi.org/project/rich) for colorful terminal output\n\n## Features\n\n- **List tasks** (with optional filters for project/section)\n- **Create tasks** (with optional priority, due date, reminders, etc.)\n- **Mark tasks as done**\n- **List projects** or create new ones\n- **List sections** in a project\n- **Hide subtasks** by default (use `--subtasks` to show them)\n- **Strip emojis** with `--strip-emojis` (helpful if emoji characters disrupt your terminal or table layout)\n- **Partial matching** on project and section names (e.g., `--project \"MyProj\"` matches `\"MyProject\"`)\n\n## Installation\n\n```shell\nuv tool install git+https://github.com/pschmitt/tdc\n```\n\n## Usage\n\nAll commands require an API key.\n\nSee https://todoist.com/help/articles/find-your-api-token-Jpzx9IIlB\n\n### Show Help\n\n```\ntdc --help\n```\n\n### List Tasks\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e task list\n```\n\n- **Filter by project** (partial match):\n  ```\n  tdc --api-key \u003cYOUR_API_KEY\u003e task list --project \"Work\"\n  ```\n- **Filter by section**:\n  ```\n  tdc --api-key \u003cYOUR_API_KEY\u003e task list --project \"Work\" --section \"Urgent\"\n  ```\n- **Show IDs**:\n  ```\n  tdc --api-key \u003cYOUR_API_KEY\u003e task list --ids\n  ```\n- **Include subtasks**:\n  ```\n  tdc --api-key \u003cYOUR_API_KEY\u003e task list --subtasks\n  ```\n- **Apply a Todoist filter (optionally alongside a project)**:\n  ```\n  tdc --api-key \u003cYOUR_API_KEY\u003e task list --project \"Work\" --filter \"assigned to: me\"\n  ```\n- **Filter by task title using a simple regex (case-insensitive)**:\n  ```\n  tdc --api-key \u003cYOUR_API_KEY\u003e task list \"test\"\n  ```\n- **Combine Todoist filters with the simple regex filter**:\n  ```\n  tdc --api-key \u003cYOUR_API_KEY\u003e task list --filter \"assigned to: me\" test\n  ```\n\n### Create a Task\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e task create \"Brush teeth\" \\\n  --priority 4 \\\n  --due \"today 11pm\" \\\n  --reminder \"today 10pm\" \\\n  --project \"Daily Routines\" \\\n  --section \"Night\"\n```\n\n### Mark a Task as Done\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e task done \"Brush teeth\"\n```\n\n(Optional) Limit to a project:\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e task done \"Brush teeth\" --project \"Daily Routines\"\n```\n\n### Delete a Task\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e task delete \"Brush teeth\"\n```\n\n(Optional) Delete multiple tasks in one command:\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e task delete \"Brush teeth\" \"Wash face\"\n```\n\n(Optional) Combine with a project and Todoist filter for extra safety:\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e task delete \"Brush\" --project \"Daily Routines\" --filter \"assigned to: me\"\n```\n\n(Optional) Add a simple regex (case-insensitive) to limit candidate matches when deleting:\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e task delete --pattern nightly\n```\n\n### List / Create Projects\n\n**List Projects**:\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e project list\n```\n\n(Use `--ids` to see project IDs.)\n\n**Create a Project**:\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e project create \"MyNewProject\"\n```\n\n**Clear a Project** (delete all tasks, optionally all sections):\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e project clear \"MyNewProject\"\n```\n\nAdd `--section` (with no value) to also delete every section in the project:\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e project clear \"MyNewProject\" --section\n```\n\n### List Sections\n\nTo list sections in a given project (partial match), use:\n\n```\ntdc --api-key \u003cYOUR_API_KEY\u003e section --project \"MyNewProject\"\n```\n\n(Again, `--ids` is available to show section IDs.)\n\n## License\n\nGPL-3.0 - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpschmitt%2Ftdc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpschmitt%2Ftdc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpschmitt%2Ftdc/lists"}