{"id":20231005,"url":"https://github.com/bewaremypower/protobuf-demo","last_synced_at":"2026-06-04T02:31:24.779Z","repository":{"id":109020434,"uuid":"385888264","full_name":"BewareMyPower/protobuf-demo","owner":"BewareMyPower","description":"Google protocol buffer demos","archived":false,"fork":false,"pushed_at":"2022-01-04T03:53:49.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T00:22:35.850Z","etag":null,"topics":["cpp","protocol-buffers"],"latest_commit_sha":null,"homepage":"","language":"CMake","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/BewareMyPower.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":"2021-07-14T09:43:23.000Z","updated_at":"2022-01-04T03:53:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"f04ddf1d-9f34-4473-953a-d15d751c551d","html_url":"https://github.com/BewareMyPower/protobuf-demo","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/BewareMyPower%2Fprotobuf-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BewareMyPower%2Fprotobuf-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BewareMyPower%2Fprotobuf-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BewareMyPower%2Fprotobuf-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BewareMyPower","download_url":"https://codeload.github.com/BewareMyPower/protobuf-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241677354,"owners_count":20001673,"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":["cpp","protocol-buffers"],"created_at":"2024-11-14T07:44:49.292Z","updated_at":"2026-06-04T02:31:24.731Z","avatar_url":"https://github.com/BewareMyPower.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# protobuf-demo\n\nExamples to use [protobuf](https://github.com/protocolbuffers/protobuf).\n\n## Install dependencies\n\nIt's recommended to use [vcpkg](https://github.com/microsoft/vcpkg) to install dependencies.\n\nTake MacOS 64-bit as example, you need to run:\n\n```bash\nvcpkg install --feature-flags=manifests --triplet x64-osx\n```\n\nChoose the correct triplet for your OS, see [here](https://github.com/microsoft/vcpkg/tree/master/triplets) for all available triplets.\n\n## Build examples\n\nIf you have installed dependencies using vcpkg, you can simply run:\n\n```bash\ncmake -B ./build -DVCPKG_TRIPLET=x64-osx\ncmake --build ./build\n```\n\nThen all executables will be generated under `build/` directory.\n\nOn MacOS, you can also run the wrapped scripts:\n\n```bash\n./scripts/configure-osx.sh\n./scripts/build-osx.sh\n```\n\n\u003e **NOTE**\n\u003e\n\u003e You must ensure the `VCPKG_TRIPLET` is the correct triplet for your OS. If you don't use vcpkg to install dependencies, you will need to specify `-DCMAKE_PREFIX_PATH` or ensure your dependencies are installed in system path.\n\n## Code format\n\nIf `clang-format` is installed, the code will be formatted automatically using `clang-format`.\n\nYou can also run following command to format the code manually.\n\n```bash\ncmake --build ./build --target format\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbewaremypower%2Fprotobuf-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbewaremypower%2Fprotobuf-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbewaremypower%2Fprotobuf-demo/lists"}