{"id":27437195,"url":"https://github.com/0xboji/grpc-messenger-core","last_synced_at":"2026-04-29T19:34:20.521Z","repository":{"id":287316001,"uuid":"963868618","full_name":"0xBoji/grpc-messenger-core","owner":"0xBoji","description":"grpc chat bot","archived":false,"fork":false,"pushed_at":"2025-04-13T10:34:47.000Z","size":27985,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T20:19:23.393Z","etag":null,"topics":["chat-bot","grpc"],"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/0xBoji.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-10T10:35:13.000Z","updated_at":"2025-04-13T10:34:50.000Z","dependencies_parsed_at":"2025-04-14T20:19:24.358Z","dependency_job_id":"9c3d8ed6-f519-458e-a54c-54f2e00c6dc8","html_url":"https://github.com/0xBoji/grpc-messenger-core","commit_stats":null,"previous_names":["0xboji/chat-bot-grpc","0xboji/grpc-messenger-core"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xBoji/grpc-messenger-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xBoji%2Fgrpc-messenger-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xBoji%2Fgrpc-messenger-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xBoji%2Fgrpc-messenger-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xBoji%2Fgrpc-messenger-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xBoji","download_url":"https://codeload.github.com/0xBoji/grpc-messenger-core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xBoji%2Fgrpc-messenger-core/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259549741,"owners_count":22875133,"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-bot","grpc"],"created_at":"2025-04-14T20:19:22.114Z","updated_at":"2026-04-29T19:34:20.482Z","avatar_url":"https://github.com/0xBoji.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gRPC Chat Room Service\n\nA chat room service built with gRPC and Go, featuring authentication, room management, and real-time messaging.\n\n## Features\n\n- User authentication (register, login, token validation)\n- Room management (create, join, leave rooms)\n- Public and private rooms\n- Real-time chat messaging within rooms\n- Message history retrieval\n- Secure JWT-based authentication\n\n## Project Structure\n\n```bash\n.\n├── Makefile                # Build and run commands\n├── cmd                     # Command-line tools\n│   ├── auth_client         # Authentication client\n│   │   └── main.go\n│   ├── chat_client         # Chat client\n│   │   └── main.go\n│   └── room_chat_client    # Room-based chat client\n│       └── main.go\n├── config                  # Configuration files\n│   └── config.toml\n├── db                      # Database layer\n│   ├── auth.go             # Authentication database operations\n│   ├── chat.go             # Chat database operations\n│   └── postgres.go         # PostgreSQL connection\n├── docs                    # Documentation\n│   ├── README.md\n│   ├── frontend_integration.md\n│   └── grpc_web_setup.md\n├── proto                   # Protocol buffer definitions\n│   ├── auth.proto          # Authentication service\n│   └── chat.proto          # Chat service\n└── server                  # Server implementation\n    ├── auth_server.go      # Authentication service implementation\n    ├── chat_server.go      # Chat service implementation\n    └── main.go             # Main server\n```\n\n## Prerequisites\n\n- Go 1.21 or later\n- PostgreSQL database\n- Protocol Buffers compiler (protoc)\n\n## Getting Started\n\n1. Clone the repository\n2. Configure your database in `config/config.toml`\n3. Generate protocol buffer files:\n\n   ```bash\n   make proto\n   ```\n\n4. Start the server:\n\n   ```bash\n   make server\n   ```\n\n5. Run the room-based chat client:\n\n   ```bash\n   make room-chat-client\n   ```\n\n## Authentication\n\nThe service uses JWT tokens for authentication. To use authenticated endpoints:\n\n1. Register a user account\n2. Login to get a JWT token\n3. Include the token in the request metadata\n\n## Chat Features\n\n- **Room Management**:\n  - Create public or private rooms\n  - Join existing rooms\n  - Leave rooms\n  - List available rooms\n\n- **Messaging**:\n  - Send messages to rooms\n  - Retrieve message history for a room\n  - Stream real-time messages in a room\n\n## Frontend Integration\n\nFor frontend developers, see the documentation in the `docs` directory:\n\n- [Frontend Integration Guide](docs/frontend_integration.md)\n- [gRPC-Web Setup Guide](docs/grpc_web_setup.md)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xboji%2Fgrpc-messenger-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xboji%2Fgrpc-messenger-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xboji%2Fgrpc-messenger-core/lists"}