{"id":15325027,"url":"https://github.com/felipeagger/grpc","last_synced_at":"2026-03-07T16:03:25.629Z","repository":{"id":130907417,"uuid":"277340177","full_name":"felipeagger/gRPC","owner":"felipeagger","description":"Demo gRPC Project with Golang and Python","archived":false,"fork":false,"pushed_at":"2021-07-13T19:21:17.000Z","size":9608,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-14T13:19:55.854Z","etag":null,"topics":["golang","grpc","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felipeagger.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":"2020-07-05T16:24:28.000Z","updated_at":"2023-05-02T17:22:53.000Z","dependencies_parsed_at":"2023-06-01T21:45:42.328Z","dependency_job_id":null,"html_url":"https://github.com/felipeagger/gRPC","commit_stats":{"total_commits":12,"total_committers":3,"mean_commits":4.0,"dds":"0.33333333333333337","last_synced_commit":"4c1afa9a9f3bac393da72d70f70eca4842bd865c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/felipeagger/gRPC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeagger%2FgRPC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeagger%2FgRPC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeagger%2FgRPC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeagger%2FgRPC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipeagger","download_url":"https://codeload.github.com/felipeagger/gRPC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeagger%2FgRPC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30221193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T14:02:48.375Z","status":"ssl_error","status_checked_at":"2026-03-07T14:02:43.192Z","response_time":53,"last_error":"SSL_read: 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":["golang","grpc","python"],"created_at":"2024-10-01T09:29:08.061Z","updated_at":"2026-03-07T16:03:25.602Z","avatar_url":"https://github.com/felipeagger.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gRPC\nDemo gRPC Project with Golang and Python\n\nServer and Client communication.\n\n**Golang com gRPC - Comunicação entre micro-serviços**\n\n[![YouTube Video Explanation](http://img.youtube.com/vi/2b_4QA6D1qw/0.jpg)](http://www.youtube.com/watch?v=2b_4QA6D1qw \"Golang com gRPC - Comunicação entre micro-serviços\")\n\n# Pontos positivos\n\n- Estrutura RPC leve e de alto desempenho. Alem de usar HTTP/2 que é muito mais rápido que o HTTP/1.1 usado no REST padrão.\n\n- Usa o protobuf para serializar dados, trafegando-os em binários.\n\n- gRPC possui streaming de dados, e é bidirecional;\n\n# Pontos Negativos\n\n- Nao suporta comunicacao com Browsers (é mais indicado o uso entre servicos)\n\n- Por trafegar os dados em binários, nao são legiveis aos humanos\n\n\n# ProtoBuf model\n\n```\nsyntax = \"proto3\";\npackage user;\n\nservice UserService {\n  rpc GetUser(UserRequest) returns (UserResponse) {}\n}\n\nmessage UserRequest {\n  string username = 1;\n}\n\nmessage UserResponse {\n  int64 id = 1;\n  string name = 2;\n  string username = 3;\n  string avatarurl = 4;\n  string location = 5;\n  Statistics statistics = 6;\n  repeated string listURLs = 7;\n}\n\nmessage Statistics {\n  int64 followers = 1; \n  int64 following = 2; \n  int64 repos = 3; \n  int64 gists = 4; \n}\n```\n\n# Running \n\nGolang running on Port 8200.\n\nPython running on Port 8300.\n\n```\n//Server\nmake run\n\n//client\nmake run_client\n```\n\n# Output\n\nGolang \n\n```\n2020/07/23 10:04:28 Response from server: \nid: 43504172 \nname: \"Filipe Alves\" \nusername: \"felipeagger\" \navatarurl: \"https://avatars0.githubusercontent.com/u/43504172?v=4\" \nlocation: \"Blumenau - SC / Brazil\" \nstatistics: {\n  followers:8  \n  following:4  \n  repos:19  \n  gists:1\n}\nlistURLs: [\"https://api.github.com/users/felipeagger\", \n           \"https://api.github.com/users/felipeagger/starred\", \n           \"https://api.github.com/users/felipeagger/repos\"]\n```\n\nPython\n```\n\u003cclass 'user_pb2.UserResponse'\u003e\nid: 43504172\nname: \"Filipe Alves\"\nusername: \"felipeagger\"\navatarurl: \"https://avatars0.githubusercontent.com/u/43504172?v=4\"\nlocation: \"Blumenau - SC / Brazil\"\nrepos: 17\n```\n\n# Installation required:\n\nProtoBuff/Protoc\nhttp://google.github.io/proto-lens/installing-protoc.html\n\n# Links\n\nhttps://developers.google.com/protocol-buffers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipeagger%2Fgrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipeagger%2Fgrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipeagger%2Fgrpc/lists"}