{"id":28469101,"url":"https://github.com/juanmartincoder/lanchat","last_synced_at":"2025-09-07T14:08:06.246Z","repository":{"id":296010483,"uuid":"991599878","full_name":"JuanMartinCoder/LanChat","owner":"JuanMartinCoder","description":"Basic group chat that uses RabbitMQ as a message broker to all users that connects to the chat","archived":false,"fork":false,"pushed_at":"2025-05-30T00:08:38.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-01T14:43:30.052Z","etag":null,"topics":["chat-application","docker","docker-compose","go","golang","goose","postgresql","rabbitmq","rabbitmq-management","sqlc"],"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/JuanMartinCoder.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-05-27T21:50:40.000Z","updated_at":"2025-05-30T22:13:08.000Z","dependencies_parsed_at":"2025-05-28T15:38:21.126Z","dependency_job_id":"0460fee4-7f86-4223-bbf6-841f56732f33","html_url":"https://github.com/JuanMartinCoder/LanChat","commit_stats":null,"previous_names":["juanmartincoder/lanchat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JuanMartinCoder/LanChat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuanMartinCoder%2FLanChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuanMartinCoder%2FLanChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuanMartinCoder%2FLanChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuanMartinCoder%2FLanChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuanMartinCoder","download_url":"https://codeload.github.com/JuanMartinCoder/LanChat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuanMartinCoder%2FLanChat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274046000,"owners_count":25212982,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["chat-application","docker","docker-compose","go","golang","goose","postgresql","rabbitmq","rabbitmq-management","sqlc"],"created_at":"2025-06-07T08:30:27.285Z","updated_at":"2025-09-07T14:08:06.233Z","avatar_url":"https://github.com/JuanMartinCoder.png","language":"Go","readme":"# 🗨️ LanChat App\n\n# Table of Contents\n1. [Desciption](#description)\n2. [Features](#features)\n3. [Tech Stack](#techstack)\n4. [Architecture](#archi)\n5. [Running the App](#run)\n\n\n## 📌 Description \u003ca name=\"description\"\u003e\u003c/a\u003e\n\nThis is a real-time group chat application built in Go that enables multiple users to communicate via a shared message channel. \nMessages are broadcast to all connected users using a fanout pattern through RabbitMQ, ensuring scalable and asynchronous communication. \nEach message is also persistently stored in a PostgreSQL database for historical access and analysis. \n\n## ✅ Features \u003ca name=\"features\"\u003e\u003c/a\u003e\n- Real-time messaging using RabbitMQ (fanout exchange)\n- Persistent message storage in PostgreSQL\n- Easy inspection and management with pgAdmin\n- Docker Compose setup for rapid development\n- Built with performance and scalability in mind using Go\n\n## 🛠️ Tech Stack \u003ca name=\"techstack\"\u003e\u003c/a\u003e\n|   Component    | Technology |\n|----------------|------------|\n|    Backend     |     Go     |\n| Message Broker |\tRabbitMQ  |\n|    Database\t   | PostgreSQL |\n|     DB GUI\t   |   pgAdmin  |\n|Containerization|    Docker  |\n\n## 📐 Architecture \u003ca name=\"archi\"\u003e\u003c/a\u003e\n![lanchat](https://github.com/user-attachments/assets/23984d7b-1495-4703-9479-94e6d69e330c)\n\n## 🚀 Running the Application \u003ca name=\"run\"\u003e\u003c/a\u003e\nThe requirements for running this application are *Go* and *Docker*\n\n1. Clone the repo and enter the folder\n\n   `git clone https://github.com/JuanMartinCoder/LanChat/`\n   \n   `cd LanChat/`\n\n3. You will need the dependencies used\n\n   `go mod tidy`\n\n4. Start the services with the script\n\n   `./servicesUp start`\n\n5. Connect to the chat with the main app\n\n   `go run ./cmd/main.go`\n\n6. To shutdown the services do\n\n   `./servicesUp stop`\n\n   \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuanmartincoder%2Flanchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuanmartincoder%2Flanchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuanmartincoder%2Flanchat/lists"}