{"id":30102279,"url":"https://github.com/zhuagenborn/brpc-project-template","last_synced_at":"2025-10-16T00:02:09.399Z","repository":{"id":304381181,"uuid":"1018565294","full_name":"Zhuagenborn/bRPC-Project-Template","owner":"Zhuagenborn","description":"🏗️ A C++ bRPC project template built with CMake and GitHub Actions.（使用CMake和GitHub Actions的C++ bRPC项目构建模板。）","archived":false,"fork":false,"pushed_at":"2025-07-12T17:29:46.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-12T19:28:32.337Z","etag":null,"topics":["brpc","cmake"],"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/Zhuagenborn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-12T14:35:12.000Z","updated_at":"2025-07-12T17:30:29.000Z","dependencies_parsed_at":"2025-07-12T19:28:34.836Z","dependency_job_id":"ecf8c525-7064-4a23-9cba-43bf1c65b7e1","html_url":"https://github.com/Zhuagenborn/bRPC-Project-Template","commit_stats":null,"previous_names":["zhuagenborn/brpc-project-template"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Zhuagenborn/bRPC-Project-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhuagenborn%2FbRPC-Project-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhuagenborn%2FbRPC-Project-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhuagenborn%2FbRPC-Project-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhuagenborn%2FbRPC-Project-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zhuagenborn","download_url":"https://codeload.github.com/Zhuagenborn/bRPC-Project-Template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhuagenborn%2FbRPC-Project-Template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269631157,"owners_count":24450142,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["brpc","cmake"],"created_at":"2025-08-09T19:58:10.404Z","updated_at":"2025-10-16T00:02:09.360Z","avatar_url":"https://github.com/Zhuagenborn.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# *C++* *bRPC* Project Template\n\n![C++](docs/badges/C++.svg)\n[![CMake](docs/badges/Made-with-CMake.svg)](https://cmake.org)\n[![GitHub Actions](docs/badges/Made-with-GitHub-Actions.svg)](https://github.com/features/actions)\n![Linux](docs/badges/Linux.svg)\n\n## Introduction\n\nA *C++* *bRPC* project template on [*Ubuntu*](https://ubuntu.com) built with:\n\n- [*bRPC*](https://brpc.apache.org)\n- [*CMake*](https://cmake.org)\n- [*GitHub Actions*](https://github.com/features/actions)\n\n## Getting Started\n\n### Prerequisites\n\n- Install *CMake*.\n\n### Building *bRPC*\n\nInstall dependencies.\n\n```bash\nsudo apt-get install -y libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev\n```\n\nClone and build *bRPC*.\n\n```bash\ngit clone https://github.com/apache/brpc.git\ncd brpc\nsh config_brpc.sh --headers=/usr/include --libs=/usr/lib\nmake\n```\n\n### Building the Echo Service\n\nGo to the project folder and run:\n\n```bash\nmkdir -p build\ncd build\ncmake -DBRPC_INSTALL_DIR=\u003cbrpc-path\u003e ..\ncmake --build .\n```\n\n`\u003cbrpc-path\u003e` is the output directory of `brpc` (i.e., `brpc/output`), where `include` and `lib` folders are located.\n\n## Structure\n\n```console\n.\n├── .clang-format\n├── .gitignore\n├── CITATION.cff\n├── client\n│   ├── client.cpp\n│   └── CMakeLists.txt\n├── CMakeLists.txt\n├── .github\n│   └── workflows\n│       └── cmake.yaml\n├── docs\n│   └── badges\n│       ├── C++.svg\n│       ├── Linux.svg\n│       ├── Made-with-CMake.svg\n│       └── Made-with-GitHub-Actions.svg\n├── LICENSE\n├── proto\n│   ├── echo.proto\n│   └── msg.proto\n├── README.md\n└── server\n    ├── CMakeLists.txt\n    └── server.cpp\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhuagenborn%2Fbrpc-project-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhuagenborn%2Fbrpc-project-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhuagenborn%2Fbrpc-project-template/lists"}