{"id":49914254,"url":"https://github.com/canreader/todocli","last_synced_at":"2026-05-16T15:03:02.435Z","repository":{"id":324285487,"uuid":"1096701775","full_name":"CanReader/TodoCLI","owner":"CanReader","description":"A fast and lightweight Rust-based CLI to-do manager with persistent SQLite storage.","archived":false,"fork":false,"pushed_at":"2025-11-14T20:54:51.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-14T22:20:09.526Z","etag":null,"topics":["cli","productivity","rust","sqllite","task-manager","terminal","todo","todoapp","todolist"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/CanReader.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}},"created_at":"2025-11-14T20:22:50.000Z","updated_at":"2025-11-14T20:54:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/CanReader/TodoCLI","commit_stats":null,"previous_names":["canreader/todocli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CanReader/TodoCLI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CanReader%2FTodoCLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CanReader%2FTodoCLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CanReader%2FTodoCLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CanReader%2FTodoCLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CanReader","download_url":"https://codeload.github.com/CanReader/TodoCLI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CanReader%2FTodoCLI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33107564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["cli","productivity","rust","sqllite","task-manager","terminal","todo","todoapp","todolist"],"created_at":"2026-05-16T15:03:01.410Z","updated_at":"2026-05-16T15:03:02.429Z","avatar_url":"https://github.com/CanReader.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ToDoCLI 📝\n\nA simple, cross-platform, terminal-based to-do manager written in Rust, backed by SQLite.  \nKeep your tasks organized directly from the command line with colored, readable output and persistent storage.\n\n## ✨ Features\n\n- **Lightning Fast**: Built with Rust for maximum performance\n- **Persistent Storage**: Uses SQLite database to keep your tasks safe\n- **Simple Interface**: Clean and intuitive command-line interface\n- **Color-Coded Output**: Visual status indicators for better task management\n- **Cross-Platform**: Works on Linux, macOS, and Windows\n- **Sort \u0026 Filter**: Organize tasks by status or ID\n- **Fully Tested**: Comprehensive test suite ensuring reliability\n\n## 📦 Installation\n\n### Prerequisites\n\n- Rust 1.70 or higher\n- Cargo (comes with Rust)\n\n### Build from Source\n\n```bash\n# Clone the repository\ngit clone https://github.com/CanReader/todocli.git\ncd todocli\n\n# Build the project\ncargo build --release\n\n# The binary will be available at target/release/todo\n```\n\n### Install Globally\n\n```bash\ncargo install --path .\n```\n\n## 🚀 Usage\n\n### Basic Commands\n\n#### Add a Task\n```bash\ntodo add \"Buy groceries\"\ntodo add \"Finish project documentation\"\n```\n\n#### List All Tasks\n```bash\ntodo list\n```\n\n#### Toggle Task Status\n```bash\ntodo toggle 1\n```\n\n#### Remove a Task\n```bash\ntodo rm 3\n```\n\n#### Sort Tasks by Status\n```bash\ntodo sort\n```\n\n#### Reset Database\n```bash\ntodo reset\n```\n*Note: This command will ask for confirmation before deleting all tasks.*\n\n#### Show Help\n```bash\ntodo help\n```\n\n## 📋 Command Reference\n\n| Command | Description | Example |\n|---------|-------------|---------|\n| `add [TASK]` | Add a new task | `todo add \"Write documentation\"` |\n| `list` | Display all tasks sorted by ID | `todo list` |\n| `toggle [ID]` | Toggle task status (Done/Pending) | `todo toggle 2` |\n| `rm [ID]` | Remove a specific task | `todo rm 5` |\n| `sort` | Display tasks sorted by status | `todo sort` |\n| `reset` | Delete all tasks (with confirmation) | `todo reset` |\n| `help` | Show available commands | `todo help` |\n\n## 🎨 Output Example\n\n```\nTODO List (sorted by id):\n   1 | Buy groceries                                Pending  2024-01-15 10:30:00\n   2 | Finish project documentation                 Done     2024-01-15 11:45:00\n   3 | Call dentist                                 Pending  2024-01-15 14:20:00\n```\n\n## 🗄️ Database Location\n\nToDoCLI stores its database in your home directory:\n\n- **Linux/macOS**: `~/todo_db/todo.sqlite`\n- **Windows**: `%USERPROFILE%\\todo_db\\todo.sqlite`\n\nThe database and directory are created automatically on first use.\n\n## 🛠️ Technologies Used\n\n- **Rust**: Core programming language\n- **rusqlite**: SQLite database interface\n- **console**: Terminal styling and colors\n- **dialoguer**: Interactive CLI prompts\n- **lazy_static**: Static initialization for tests\n\n## 🧪 Running Tests\n\n```bash\ncargo test\n```\n\nThe project includes comprehensive unit tests covering:\n- Adding tasks\n- Listing tasks\n- Toggling task status\n- Removing tasks\n- Sorting tasks\n- Database reset functionality\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## 🌟 Acknowledgments\n\n- Built with ❤️ using Rust\n- Inspired by the need for a simple, fast task manager\n\n---\n\n**Happy Task Managing! 📝✅**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanreader%2Ftodocli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcanreader%2Ftodocli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanreader%2Ftodocli/lists"}