{"id":18687756,"url":"https://github.com/marcos-venicius/grpc-todo-list-cli","last_synced_at":"2025-04-12T05:28:22.958Z","repository":{"id":135444461,"uuid":"609570566","full_name":"marcos-venicius/grpc-todo-list-cli","owner":"marcos-venicius","description":"Your todo list as a command line application!","archived":false,"fork":false,"pushed_at":"2023-06-06T11:59:21.000Z","size":13207,"stargazers_count":3,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T00:51:19.778Z","etag":null,"topics":["cli","csharp","grpc","open-source","todo-list"],"latest_commit_sha":null,"homepage":"","language":"C#","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/marcos-venicius.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-03-04T15:24:43.000Z","updated_at":"2023-06-05T22:02:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe413e7d-3185-428e-a221-8ea12df9845e","html_url":"https://github.com/marcos-venicius/grpc-todo-list-cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcos-venicius%2Fgrpc-todo-list-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcos-venicius%2Fgrpc-todo-list-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcos-venicius%2Fgrpc-todo-list-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcos-venicius%2Fgrpc-todo-list-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcos-venicius","download_url":"https://codeload.github.com/marcos-venicius/grpc-todo-list-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248521779,"owners_count":21118151,"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","csharp","grpc","open-source","todo-list"],"created_at":"2024-11-07T10:34:01.236Z","updated_at":"2025-04-12T05:28:22.948Z","avatar_url":"https://github.com/marcos-venicius.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003egRPC Todo List CLI\u003c/h1\u003e\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ci\u003e\n    Your todo list as a command line application!\n  \u003c/i\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \n  [![Test GrpcTodo.Server](https://github.com/marcos-venicius/grpc-todo-list-cli/actions/workflows/test-server.yml/badge.svg)](https://github.com/marcos-venicius/grpc-todo-list-cli/actions/workflows/test-server.yml)\n  \n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./docs/images/structure.png\"\u003e\n\u003c/div\u003e\n\n## Demonstration \n\n![image](https://github.com/marcos-venicius/grpc-todo-list-cli/assets/94018427/cdcb2b0e-5dc3-474c-8b8c-502d7b292e7a)\n\nA simple grpc todo list on live. your todo list as CLI.\n\ncreate, list, complete, uncomplete, your tasks in your terminal and more...\n\n## How to run on your machine?\n\n- you need to install [.NET 7](https://dotnet.microsoft.com/en-us/download/dotnet/7.0)\n- you need to have [Docker](https://www.docker.com/) installed (latest version)\n\nbuild project to generate the proto files as c# classes\n\n```bash\ndotnet build\n```\n\nup all docker containers\n\n```bash\ndocker compose up -d\n```\n\nrun the server to accept the connections\n\n```bash\ncd GrpcTodo.Server\n```\n\n```bash\ndotnet run -lp https\n```\n\n## Proto VSCode Extension help\n\nsettings.json\n\n```json\n{\n  \"protoc\": {\n    \"options\": [\"--proto_path=GrpcTodo.SharedKernel/Protos\"]\n  }\n}\n```\n\n## How to server tests?\n\n- run script [test-server.win.ps1](./test-server.win.ps1) for windows **(tested)**\n- run script [test-server.unix](./test-server.unix) for unix **(not tested)**\n\nin any of this scripts if you want to run specific class tests.\n\njust add the class test name after the script name\n\n## Available CLI commands\n\nNow the CLI creates some default `aliases`\n\n- `logout` alias to: `account logout`\n- `login` alias to: `account login`\n- `signup` alias to: `account create`\n\nyou can add your own aliases on config file manually\n\nto create a new aliase go to `C:\\Users\\\u003cyour_user\u003e\\.gl\\configs`\n\nadd a new alias to update your token for example:\n\n```shell\n@alias ut=account token update\n```\n\nyour config file should be like:\n\n![config file example](./docs/images/config-file-example.png \"config file example\")\n\nnow in your CLI you have this alias enabled, use:\n\n```shell\ngl ut\n```\n\nthis alias will execute the `account token update` command.\n\nto see all available commands type:\n\n```shell\ngl --help\n```\n\n![Available commands](https://user-images.githubusercontent.com/94018427/230500687-ff73463c-1ed1-4ae0-8af7-efc0dde6ef45.png \"Available commands\")\n\n- account\n  - create `create new account`\n  - login `make login`\n  - logout `make logout. signout from your account`\n  - token\n    - update `hard update your auth token. generate a new one`\n- alias\n  - create `create new alias`\n  - remove `remove an existing alias`\n  - list `list all available aliases`\n- task\n  - create `create a new task`\n  - complete `complete a task`\n  - uncomplete `uncomplete a task`\n  - list `list all tasks`\n  - delete `delete a task`\n\n**if a command is green, this are implemented. if is red, are not**\n\n## How to use the CLI in DEV\n\n```bash\ncd ./GrpcTodo.CLI\n```\n\n```bash\ndotnet run \u003ccommand\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcos-venicius%2Fgrpc-todo-list-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcos-venicius%2Fgrpc-todo-list-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcos-venicius%2Fgrpc-todo-list-cli/lists"}