{"id":36726550,"url":"https://github.com/tgrpc/tgrpc","last_synced_at":"2026-01-12T12:02:14.741Z","repository":{"id":65331729,"uuid":"129201969","full_name":"tgrpc/tgrpc","owner":"tgrpc","description":"invoke grpc in terminal","archived":false,"fork":false,"pushed_at":"2019-12-18T09:39:07.000Z","size":80,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T12:43:40.675Z","etag":null,"topics":["grpc-go","grpc-testing","grpc-toolkit"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tgrpc.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}},"created_at":"2018-04-12T06:11:45.000Z","updated_at":"2023-12-28T12:23:39.000Z","dependencies_parsed_at":"2023-01-17T13:15:43.394Z","dependency_job_id":null,"html_url":"https://github.com/tgrpc/tgrpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tgrpc/tgrpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgrpc%2Ftgrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgrpc%2Ftgrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgrpc%2Ftgrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgrpc%2Ftgrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tgrpc","download_url":"https://codeload.github.com/tgrpc/tgrpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgrpc%2Ftgrpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["grpc-go","grpc-testing","grpc-toolkit"],"created_at":"2026-01-12T12:02:14.658Z","updated_at":"2026-01-12T12:02:14.723Z","avatar_url":"https://github.com/tgrpc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tgrpc\n\ntg: tgrpc in termial\n============\n\n为了方便测试，可开启grpc服务代理，参考[github.com/tgrpc/ngrpc](https://github.com/tgrpc/ngrpc)。\n\n使用方法，请看[tgrpc/doc](https://github.com/tgrpc/doc)\n\n## usage\n\n```\ntg -c tgrpc.toml\n```\n\n```\nDEBU[0000] dial tcp:localhost:2080 ...\nDEBU[0000] use exist desc                                FileDescriptorSet=.helloworld.Greeter.pbin\nERRO[0000] time cost: 4.05723ms more than 2 ms;\nhelloworld.Greeter/SayHello ==\u003e {\n\t\"message\": \"Hello tgrpc-tg1\"\n}\n```\n\n\n```\ntg -s\n```\n\n```\nDEBU[0000] dial tcp:localhost:2080 ...\nDEBU[0000] use exist desc                                FileDescriptorSet=.helloworld.Greeter.pbin\nERRO[0000] time cost: 3.41066ms more than 2 ms;\nDEBU[0000] dial tcp:localhost:2080 ...\nDEBU[0000] use exist desc                                FileDescriptorSet=.helloworld.LangService.pbin\nDEBU[0000] time cost: 1.007471ms / 2 ms;\nDEBU[0000] time cost: 1.008415ms / 2 ms;\nWARN[0000] time cost: 1.849676ms nearby 2 ms;\nWARN[0000] time cost: 1.921683ms nearby 2 ms;\nWARN[0000] time cost: 1.967108ms nearby 2 ms;\nWARN[0001] time cost: 1.545166ms nearby 2 ms;\nWARN[0001] time cost: 1.77252ms nearby 2 ms;\nWARN[0001] time cost: 1.63466ms nearby 2 ms;\nhelloworld.Greeter/SayHello size: 3\n avg: 1.863101 ms\n max: 1.967108 ms\n min: 1.772520 ms\n```\n\n\n## todo\n\n1. 调用链状态显示\n\n## roadmap\n\n1. 验证接口返回结果\n2. 验证接口响应时间\n3. 方法调用闭环，支持利用上次返回结果构建参数\n4. 接口响应时间统计：最大、最小、平均耗时\n\n## origin\n\n部分代码参考[github.com/uber/prototool](https://github.com/uber/prototool)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgrpc%2Ftgrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftgrpc%2Ftgrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgrpc%2Ftgrpc/lists"}