{"id":37176957,"url":"https://github.com/sudhir0302/todo_cli","last_synced_at":"2026-01-14T20:38:35.455Z","repository":{"id":305258167,"uuid":"1022241208","full_name":"Sudhir0302/todo_cli","owner":"Sudhir0302","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-19T03:43:06.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-19T07:11:57.898Z","etag":null,"topics":["cli-tool","golang","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Sudhir0302.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":"2025-07-18T17:40:25.000Z","updated_at":"2025-07-19T03:34:40.000Z","dependencies_parsed_at":"2025-07-19T07:22:10.647Z","dependency_job_id":null,"html_url":"https://github.com/Sudhir0302/todo_cli","commit_stats":null,"previous_names":["sudhir0302/todo_cli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Sudhir0302/todo_cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sudhir0302%2Ftodo_cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sudhir0302%2Ftodo_cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sudhir0302%2Ftodo_cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sudhir0302%2Ftodo_cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sudhir0302","download_url":"https://codeload.github.com/Sudhir0302/todo_cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sudhir0302%2Ftodo_cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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-tool","golang","sqlite"],"created_at":"2026-01-14T20:38:34.652Z","updated_at":"2026-01-14T20:38:35.449Z","avatar_url":"https://github.com/Sudhir0302.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Todo CLI\n\nA command-line to-do application built with **Go** and **SQLite** for managing tasks. This application allows you to add, update, delete, and view tasks directly from the terminal. It uses an SQLite database to store the tasks persistently.\n\n## Features\n\n* Add a new task.\n* View all tasks.\n* Update task status (mark as complete).\n* Delete a task.\n* Clear the terminal screen.\n* Exit the application.\n\n## Prerequisites\n\nBefore running the application, make sure you have the following installed on your system:\n\n* [Go](https://golang.org/dl/) (version 1.16 or later)\n* [SQLite](https://www.sqlite.org/download.html) (SQLite is included via the `modernc.org/sqlite` package for Go, but you may want the SQLite CLI for manual database management)\n\n## Installation\n\n### 1. Clone the repository:\n\n```bash\ngit clone https://github.com/yourusername/todo_cli.git\ncd todo_cli\n```\n\n### 2. Install Go dependencies:\n\n```bash\ngo mod tidy\n```\n\n### 3. Run the application:\n\n```bash\ngo run main.go\n```\n\nThe app will automatically connect to an SQLite database (`todo_cli.db`) and create a `todo` table to store your tasks.\n\n## Usage\n\nOnce the application is running, you will be presented with the following options:\n\n* **View all tasks**: Displays a list of all tasks in the database.\n* **Add a new task**: Allows you to add a new task to the list.\n* **Update task status**: Marks a specific task as completed.\n* **Delete a task**: Removes a task from the list.\n* **Clear terminal**: Clears the terminal screen.\n* **Exit**: Exits the application.\n\n### Example:\n\n```bash\nEnter a number to continue: 1 - view todos, 2-add, 3-update, 4-delete, 5-clear, 6-exit\n```\n\n### Commands:\n\n* **1**: View all tasks.\n* **2**: Add a new task.\n* **3**: Update a task (mark as completed).\n* **4**: Delete a task.\n* **5**: Clear the terminal screen.\n* **6**: Exit the application.\n\n### Example Interaction:\n\n```bash\nEnter a number to continue: 1 - view todos, 2-add, 3-update, 4-delete, 5-clear, 6-exit\n2\nEnter a task to add: Buy groceries\nsuccess\n\nEnter a number to continue: 1 - view todos, 2-add, 3-update, 4-delete, 5-clear, 6-exit\n1\nTodo's:\n{1 Buy groceries false}\n```\n\n## How It Works\n\n* The tasks are stored in an SQLite database (`todo_cli.db`).\n* A `todo` table is created with columns for `id`, `task`, and `status`.\n* The status column indicates whether the task is completed (`true`) or pending (`false`).\n\n## Contributing\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature-name`).\n3. Make your changes.\n4. Commit your changes (`git commit -am 'Add new feature'`).\n5. Push to the branch (`git push origin feature-name`).\n6. Open a Pull Request.\n\n## Go Reference\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/Sudhir0302/todo_cli.svg)](https://pkg.go.dev/github.com/Sudhir0302/todo_cli)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudhir0302%2Ftodo_cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudhir0302%2Ftodo_cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudhir0302%2Ftodo_cli/lists"}