{"id":22729468,"url":"https://github.com/bartzalewski/chat-app","last_synced_at":"2025-03-30T00:44:31.116Z","repository":{"id":265710180,"uuid":"806713921","full_name":"bartzalewski/chat-app","owner":"bartzalewski","description":"This project is a real-time chat server using WebSockets, allowing users to join rooms and exchange messages.","archived":false,"fork":false,"pushed_at":"2024-05-27T18:38:48.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T03:25:54.600Z","etag":null,"topics":["chat","go","golang","html","websocket"],"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/bartzalewski.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}},"created_at":"2024-05-27T18:38:15.000Z","updated_at":"2024-05-27T18:39:17.000Z","dependencies_parsed_at":"2024-12-02T07:15:43.791Z","dependency_job_id":null,"html_url":"https://github.com/bartzalewski/chat-app","commit_stats":null,"previous_names":["bartzalewski/chat-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartzalewski%2Fchat-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartzalewski%2Fchat-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartzalewski%2Fchat-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartzalewski%2Fchat-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bartzalewski","download_url":"https://codeload.github.com/bartzalewski/chat-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246262488,"owners_count":20749171,"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","go","golang","html","websocket"],"created_at":"2024-12-10T18:10:03.819Z","updated_at":"2025-03-30T00:44:31.100Z","avatar_url":"https://github.com/bartzalewski.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat Application\n\nWelcome to the Chat Application! This project is a real-time chat server using WebSockets, allowing users to join rooms and exchange messages.\n\n## Features\n\n- Real-time communication using WebSockets\n- Multiple chat rooms\n- Broadcast messages to all users in a room\n\n## Getting Started\n\nFollow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\nEnsure you have the following installed on your system:\n\n- [Go](https://golang.org/doc/install) (version 1.16+)\n- [Git](https://git-scm.com/)\n\n### Installation\n\n1. **Clone the repository**:\n\n   ```sh\n   git clone https://github.com/bartzalewski/chat-app.git\n   cd chat-app\n   ```\n\n2. **Initialize Go modules**:\n\n   ```sh\n   go mod tidy\n   ```\n\n3. **Run the application**:\n\n   ```sh\n   go run main.go\n   ```\n\nThe server will start on `http://localhost:8080`.\n\n## WebSocket Endpoint\n\n- **Join Room**\n\n  `ws://localhost:8080/ws/{room}`\n\n  - Replace `{room}` with the name of the room you want to join.\n\n## Built With\n\n- [Go](https://golang.org/) - The Go programming language\n- [Gorilla Mux](https://github.com/gorilla/mux) - A powerful URL router and dispatcher for Golang\n- [Gorilla WebSocket](https://github.com/gorilla/websocket) - A Go implementation of the WebSocket protocol\n\n## Testing the Chat Application\n\nYou can use the provided `index.html` file to test the chat application. Open the file in a web browser and use the interface to join rooms and send messages.\n\n## Contributing\n\nFeel free to submit issues or pull requests. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Thanks to the Go community for their invaluable resources and support.\n- [Gorilla WebSocket](https://github.com/gorilla/websocket) for making WebSocket implementation straightforward.\n\n---\n\nHappy coding! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartzalewski%2Fchat-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbartzalewski%2Fchat-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartzalewski%2Fchat-app/lists"}