{"id":26508623,"url":"https://github.com/rodaine/grpc-chat","last_synced_at":"2025-03-21T00:37:11.108Z","repository":{"id":40523282,"uuid":"106777476","full_name":"rodaine/grpc-chat","owner":"rodaine","description":"Simple Chat Server/Client implemented with gRPC","archived":false,"fork":false,"pushed_at":"2024-06-11T19:59:45.000Z","size":35,"stargazers_count":160,"open_issues_count":0,"forks_count":34,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-20T16:31:07.486Z","etag":null,"topics":["chat","docker","go","golang","grpc","grpc-chat","grpc-go","protobuf","protocol-buffers"],"latest_commit_sha":null,"homepage":"https://rodaine.com/talks/2017-10-17-types-all-the-way-down/slides.pdf","language":"Go","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/rodaine.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":"2017-10-13T04:22:22.000Z","updated_at":"2024-06-15T21:17:12.000Z","dependencies_parsed_at":"2023-01-22T05:01:43.184Z","dependency_job_id":"cf2b26b1-4e48-4319-95ba-4a270bb94911","html_url":"https://github.com/rodaine/grpc-chat","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/rodaine%2Fgrpc-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodaine%2Fgrpc-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodaine%2Fgrpc-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodaine%2Fgrpc-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodaine","download_url":"https://codeload.github.com/rodaine/grpc-chat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244717385,"owners_count":20498284,"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":["chat","docker","go","golang","grpc","grpc-chat","grpc-go","protobuf","protocol-buffers"],"created_at":"2025-03-21T00:37:10.559Z","updated_at":"2025-03-21T00:37:11.104Z","avatar_url":"https://github.com/rodaine.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grpc-chat [![](https://img.shields.io/docker/automated/rodaine/teamspeak3-alpine.svg)](https://hub.docker.com/r/rodaine/grpc-chat/)\n\nA simple chat server/client implemented with [gRPC](https://grpc.io) in Go. Built with :heart: for the [Orange County Gopher's Meetup](https://www.meetup.com/Orange-County-Gophers/).\n\n\u003e This project is for demonstrating some of the features of gRPC in Go and should not be used in production.\n\n## Installation\n\nInstallation requires the Go toolchain.\n\n```bash\ngo install github.com/rodaine/grpc-chat\n```\n\n## Usage\n\n```bash\n$ grpc-chat --help\nUsage of grpc-chat:\n  -h string\n      the chat server's host (default \"0.0.0.0:6262\")\n  -n string\n      the username for the client\n  -p string\n      the chat server's password\n  -s run as the server\n  -v enable debug logging\n```\n\n### Server\n\n```bash\ngrpc-chat -s -p \"super-secret\"\n```\n\n### Client\n\n```bash\ngrpc-chat -h \"chat.example.com:6262\" -p \"super-secret\" -n \"Rodaine\"\n```\n\n## Docker\n\nA Dockerfile is included with this project and the image is [hosted on the Docker Hub](https://hub.docker.com/r/rodaine/grpc-chat).\n\n### Run as Server\n\n```bash\ndocker run --rm \\\n  -p 6262:6262 \\\n  rodaine/grpc-chat \\\n  -s -p \"super-secret\"\n```\n\n### Run as Client\n\n```bash\ndocker run --rm -i \\\n  rodaine/grpc-chat \\\n  -h \"chat.example.com\" \\\n  -p \"super-secret\" \\\n  -n \"Rodaine\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodaine%2Fgrpc-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodaine%2Fgrpc-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodaine%2Fgrpc-chat/lists"}