{"id":14987708,"url":"https://github.com/oldcorvus/chickochat","last_synced_at":"2025-08-02T18:10:04.574Z","repository":{"id":170920422,"uuid":"607827285","full_name":"oldcorvus/ChickoChat","owner":"oldcorvus","description":"real time multi room multi user chat using golang, websocket , mongodb with restful api","archived":false,"fork":false,"pushed_at":"2023-07-27T09:05:23.000Z","size":17989,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T13:12:08.970Z","etag":null,"topics":["chat","gin-gonic","golang","golang-channels","gorilla-websocket","goroutines","mongodb","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/oldcorvus.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":"2023-02-28T18:57:42.000Z","updated_at":"2025-03-30T00:50:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"67977f1a-3544-4200-90f4-a40ec3f38f9e","html_url":"https://github.com/oldcorvus/ChickoChat","commit_stats":{"total_commits":112,"total_committers":2,"mean_commits":56.0,"dds":0.0267857142857143,"last_synced_commit":"7f182ed32aafc6b88aa129d97f5fb76ee4319d42"},"previous_names":["oldcorvus/chickochat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oldcorvus/ChickoChat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldcorvus%2FChickoChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldcorvus%2FChickoChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldcorvus%2FChickoChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldcorvus%2FChickoChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oldcorvus","download_url":"https://codeload.github.com/oldcorvus/ChickoChat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldcorvus%2FChickoChat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268431640,"owners_count":24249413,"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-08-02T02:00:12.353Z","response_time":74,"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","gin-gonic","golang","golang-channels","gorilla-websocket","goroutines","mongodb","websocket"],"created_at":"2024-09-24T14:15:14.640Z","updated_at":"2025-08-02T18:10:04.515Z","avatar_url":"https://github.com/oldcorvus.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chicko Chat\n\n\nChicko chat is a real time multi room multi user chat using golang, websocket , mongodb with restful api\n\n[ Sample Front ](https://github.com/younes-nb/chicko-frontend)\n\n\n\n## Install ##\nAll that you need is [Golang](https://golang.org/).\n```sh\n $ git clone https://github.com/oldcorvus/chicko_chat.git\n\n```\n```sh\n$ go mod tidy\n\n```\n```sh\n$ go build -o chat \n\n```\n```sh\n$ ./chat --mongoURI=\"mongodb://localhost:27017\"\n\n```\nAnd navigate to `http://127.0.0.1:8080/`.\n\n\n## Running Locally with Docker\n\n1.build the image:\n\n```sh\n  $ docker-compose build .\n```\n2.Spin up the containers\n\n```sh\n  $ docker-compose up\n```\nAnd navigate to `http://127.0.0.1:8080/`.\n\n## ChatRoom API ##\n\n  * `GET /chats/`: to join a room and start chat \n  * `GET /ws/:roomId/:userId/`: to start a websocket connection\n\n  * `POST /start/`: register and obtain user id \n  * `POST /user-rooms/`: ro get user rooms based on user id \n  * `POST /room-history/`: to retrieve messages of room based on room id \n  * `POST /add-user-room/`: to register user in room\n  * `POST /room-user-details/`: to retrieve user data of a room\n\n## Test ##\n\nto run tests \n\nControllers :\n```sh\n $ cd controllers \n\n```\n```sh\n$ go test\n\n```\nDatabase \n\n```sh\n $ cd database \n\n```\n```sh\n$ go test\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldcorvus%2Fchickochat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foldcorvus%2Fchickochat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldcorvus%2Fchickochat/lists"}