{"id":19909629,"url":"https://github.com/zigaowang/to-do","last_synced_at":"2025-09-19T01:33:01.897Z","repository":{"id":246638433,"uuid":"821723101","full_name":"ZigaoWang/to-do","owner":"ZigaoWang","description":"A Command Line Interface To-Do List","archived":false,"fork":false,"pushed_at":"2024-06-30T09:36:54.000Z","size":55,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-12T21:16:09.791Z","etag":null,"topics":["cli","python","to-do","todo-list","todolist"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ZigaoWang.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":"2024-06-29T08:52:13.000Z","updated_at":"2024-10-13T06:54:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc91a23f-0028-4a4a-994f-74012803df29","html_url":"https://github.com/ZigaoWang/to-do","commit_stats":null,"previous_names":["zigaowang/to-do"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZigaoWang%2Fto-do","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZigaoWang%2Fto-do/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZigaoWang%2Fto-do/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZigaoWang%2Fto-do/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZigaoWang","download_url":"https://codeload.github.com/ZigaoWang/to-do/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233543332,"owners_count":18691796,"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":["cli","python","to-do","todo-list","todolist"],"created_at":"2024-11-12T21:16:13.104Z","updated_at":"2025-09-19T01:32:56.559Z","avatar_url":"https://github.com/ZigaoWang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Command Line Interface To-Do List\n\nA simple and user-friendly command-line to-do list application that helps you manage your tasks efficiently. This project is created by 💜 from Zigao Wang and is licensed under the MIT License.\n\n## Features\n\n- **Add tasks** with optional categories and priorities.\n- **Mark tasks as complete.**\n- **Edit existing tasks.**\n- **Delete tasks.**\n- **Clear all tasks.**\n- **Search tasks** by keyword.\n- **Prioritize tasks** with three levels: high, medium, low.\n- **Export tasks** to a PDF file.\n- **Help menu** for detailed instructions on using each feature.\n\n## Installation\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/ZigaoWang/to-do.git\n    cd to-do\n    ```\n\n2. Create a virtual environment and activate it:\n    ```bash\n    python -m venv .venv\n    source .venv/bin/activate  # On Windows use `.venv\\Scripts\\activate`\n    ```\n\n3. Install the required dependencies:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Normal Version (Interactive Script)\n\n### Usage\n\n1. Run the application:\n    ```bash\n    python todo_script.py\n    ```\n\n2. Follow the on-screen instructions to manage your tasks. Use the help menu for detailed usage of each feature by pressing '0'.\n\n### Menu Options\n\n- **1. ➕ Add task**: Add a new task. Optionally, set a category and priority.\n- **2. ✔️ Complete task**: Mark a task as complete by entering its number.\n- **3. ✏️ Edit task**: Modify the description of an existing task by entering its number.\n- **4. ❌ Delete task**: Remove a task by entering its number.\n- **5. 🗑️ Clear all tasks**: Remove all tasks from the list.\n- **6. 🔍 Search task**: Look for tasks containing a specific keyword.\n- **7. ⭐ Prioritize task**: Assign a priority (high, medium, low) to a task by entering its number.\n- **10. 📄 Export to PDF**: Export tasks to a PDF file.\n- **11. 🚪 Exit**: Close the application.\n- **0. 🆘 Help**: Display detailed instructions for each feature.\n\n### Help Menu\n\nThe help menu provides detailed instructions on how to use each feature. It can be accessed at any time by selecting option '0' from the main menu.\n\n### Example\n\nAfter running the application, you'll see the main menu:\n\n```plaintext\n1.  ➕ Add task          6.  🔍 Search task\n2.  ✔️  Complete task    7.  ⭐ Prioritize task\n3.  ✏️  Edit task        10. 📄 Export to PDF\n4.  ❌ Delete task       11. 🚪 Exit\n5.  🗑️  Clear all tasks  0.  🆘 Help\n--------------------------------------------------\nChoose an option (0-11):\n```\n\n## CLI Version\n\n### Installation\n\n1. Install the CLI tool:\n    ```bash\n    pip install --editable .\n    ```\n\n### Usage\n\nAfter installation, you can use the `todo` command to manage your to-do list:\n\n- **Add a task**:\n  ```bash\n  todo add --task \"Buy groceries\" --priority high\n  ```\n\n- **View tasks**:\n  ```bash\n  todo view\n  ```\n\n- **Complete a task**:\n  ```bash\n  todo complete 1\n  ```\n\n- **Delete a task**:\n  ```bash\n  todo delete 2\n  ```\n\n- **Clear all tasks**:\n  ```bash\n  todo clear\n  ```\n\n- **Search for tasks**:\n  ```bash\n  todo search --keyword \"groceries\"\n  ```\n\n- **Prioritize a task**:\n  ```bash\n  todo prioritize 1 --priority medium\n  ```\n\n- **Export tasks to a PDF**:\n  ```bash\n  todo export --filename tasks.pdf\n  ```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## Contact\n\nFor any inquiries, please contact Zigao Wang at [a@zigao.wang].","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigaowang%2Fto-do","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzigaowang%2Fto-do","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigaowang%2Fto-do/lists"}