{"id":31622840,"url":"https://github.com/litg-zen/chat_app","last_synced_at":"2026-04-15T20:02:51.302Z","repository":{"id":316458521,"uuid":"1063471489","full_name":"litG-zen/chat_app","owner":"litG-zen","description":"An Async Bidirectional Chat app using gRPC and Golang","archived":false,"fork":false,"pushed_at":"2025-10-04T16:08:08.000Z","size":235,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-10T09:45:54.799Z","etag":null,"topics":["cli","golang","grpc"],"latest_commit_sha":null,"homepage":"","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/litG-zen.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-24T17:09:34.000Z","updated_at":"2025-10-04T16:08:12.000Z","dependencies_parsed_at":"2025-09-26T00:05:17.207Z","dependency_job_id":null,"html_url":"https://github.com/litG-zen/chat_app","commit_stats":null,"previous_names":["litg-zen/chat_app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/litG-zen/chat_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litG-zen%2Fchat_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litG-zen%2Fchat_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litG-zen%2Fchat_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litG-zen%2Fchat_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litG-zen","download_url":"https://codeload.github.com/litG-zen/chat_app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litG-zen%2Fchat_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31857625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["cli","golang","grpc"],"created_at":"2025-10-06T17:35:57.976Z","updated_at":"2026-04-15T20:02:51.298Z","avatar_url":"https://github.com/litG-zen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💬 Go gRPC ChatApp\n\nA **real-time chat application** built in **Golang** using **gRPC bidirectional streaming** and **Protocol Buffers**.  \nSupports **direct messaging** between users and **broadcast messages** to all connected clients.\n\n\n\u003cimg width=\"2878\" height=\"1700\" alt=\"Screenshot 2025-09-26 210639\" src=\"https://github.com/user-attachments/assets/50238f81-59d8-4fad-8280-f5c2c556f039\" /\u003e\n\n---\n\n## ✨ Features\n- 🚀 **gRPC Bidirectional Streaming** – clients can send and receive messages over a single stream.\n- 👤 **Direct Messaging** – chat with a specific user.\n- 📢 **Broadcast Mode** – send messages to all connected users with a single `*`.\n- 🟢 **Online Status Check** – verify if a user is online via `IsOnline` RPC.\n- 🔗 **Concurrent Clients** – multiple clients can connect and chat simultaneously.\n- 🛡️ **Extensible Design** – ready for auth, persistence, and scaling with Redis/NATS.\n- 📤📥 **Async Communication**  - communication that happens with independent timing, allowing flexibility and non-blocking interactions.\n- 📡  **Domain Name support** - Chat with a friend far far away, using centralised hosted server and its domain name.\n---\n\n## 📦 Tech Stack\n- **Language**: Golang 1.22+\n- **RPC Framework**: gRPC\n- **IDL**: Protocol Buffers (`proto3`)\n- **Transport**: TCP\n\n---\n\n## **How to spin up your own server and chat.**\n\n**Step 1**: Run the Server from one terminal. type go run server/main.go from root directory.\n\n**Step 2**: Open two terminals\n\n`Terminal 1` : go run client/main.go USERID1 localhost:50051 USERID2\n\n`Terminal 2` : go run client/main.go USERID2 localhost:50051 USERID1\n\n\n**To become a broadcaster** \npass the target client userid as *\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitg-zen%2Fchat_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitg-zen%2Fchat_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitg-zen%2Fchat_app/lists"}