{"id":19457699,"url":"https://github.com/luncliff/grpc-worknote","last_synced_at":"2025-04-25T05:31:23.737Z","repository":{"id":91300226,"uuid":"213935154","full_name":"luncliff/grpc-worknote","owner":"luncliff","description":"personal experiments with grpc(v1.25+) for C++","archived":true,"fork":false,"pushed_at":"2022-10-21T04:52:15.000Z","size":80,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T00:52:04.151Z","etag":null,"topics":["cmake","codegen","cpp","cpp20","grpc","korean"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luncliff.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-10-09T14:06:21.000Z","updated_at":"2023-07-08T04:15:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e9c5a8f-7df4-46af-8020-c9fb7003f0b7","html_url":"https://github.com/luncliff/grpc-worknote","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luncliff%2Fgrpc-worknote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luncliff%2Fgrpc-worknote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luncliff%2Fgrpc-worknote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luncliff%2Fgrpc-worknote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luncliff","download_url":"https://codeload.github.com/luncliff/grpc-worknote/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250760794,"owners_count":21482869,"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":["cmake","codegen","cpp","cpp20","grpc","korean"],"created_at":"2024-11-10T17:23:31.716Z","updated_at":"2025-04-25T05:31:23.732Z","avatar_url":"https://github.com/luncliff.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n### References\n\n* https://grpc.io\n\n## How To\n\n### Build\n\nSimply run with the CMake. Its version must be **3.14 or later**.\n\n```cmake\ncmake_minimum_required(VERSION 3.14)\n```\n\n#### VcPkg\n\nThe project requires [VcPkg](https://github.com/microsoft/vcpkg). Expects 2019.08 release or later\n\n```console\n$ vcpkg install --triplet x64-windows grpc catch2 ms-gsl\n```\n\nAfter the installation, run CMake with the `CMAKE_TOOLCHAIN_FILE`.\n\n```console\n$ cd /code/build\n$ cmake .. -DCMAKE_TOOLCHAIN_FILE=\"/vcpkg/scripts/buildsystem/vcpkg.cmake\"\n$ cmake --build . --config debug\n```\n\n### Code generation for gRPC \n\nThere are several **CMake targets** to support code generations. Each can be used like the following\n\n```console\n$ cd /code/build\n$ cmake --build . --target generate_grpc_files_cpp\n```\n\nCurrent codegen target list:\n* `codegen_cpp`\n* `codegen_python`\n* `codegen_nodejs`\n* `codegen_csharp`\n* `codegen_go`\n\nEspecially, Go requires additional setup to acquire code generator.\n\n```sh\nexport GOPATH=$(pwd)\ngo get github.com/golang/protobuf/protoc-gen-go\n```\n\nOr, for PowerShell, \n\n```ps1\n$env:GOPATH=Get-Location\ngo get github.com/golang/protobuf/protoc-gen-go\n```\n\nBy doing this, 'bin/' folder will contain 'protoc-gen-go' executable.\n\n### Test\n\nCTest is enabled\n\n\u003e TBA\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluncliff%2Fgrpc-worknote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluncliff%2Fgrpc-worknote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluncliff%2Fgrpc-worknote/lists"}