{"id":21607984,"url":"https://github.com/yusufff/socketio-cluster-nginx","last_synced_at":"2025-03-18T15:27:52.937Z","repository":{"id":73942139,"uuid":"255620128","full_name":"yusufff/socketio-cluster-nginx","owner":"yusufff","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-25T21:01:22.000Z","size":7,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T19:41:48.695Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/yusufff.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":"2020-04-14T13:42:14.000Z","updated_at":"2020-04-14T13:42:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"74dfaab8-149d-4488-966d-b7d355cefd8d","html_url":"https://github.com/yusufff/socketio-cluster-nginx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufff%2Fsocketio-cluster-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufff%2Fsocketio-cluster-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufff%2Fsocketio-cluster-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufff%2Fsocketio-cluster-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yusufff","download_url":"https://codeload.github.com/yusufff/socketio-cluster-nginx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244248326,"owners_count":20422756,"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":[],"created_at":"2024-11-24T20:35:37.439Z","updated_at":"2025-03-18T15:27:52.916Z","avatar_url":"https://github.com/yusufff.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Socket.IO Chat with nginx \u0026 redis\n\nA simple chat demo for socket.io\n\n## How to use\n\nInstall [Docker Compose](https://docs.docker.com/compose/install/), then:\n\n```\n$ docker-compose up -d\n```\n\nAnd then point your browser to `http://localhost:3000`.\n\nThis will start four Socket.IO nodes, behind a nginx proxy which will loadbalance the requests (using the IP of the client, see [ip_hash](http://nginx.org/en/docs/http/ngx_http_upstream_module.html#ip_hash)).\n\nEach node connects to the redis backend, which will enable to broadcast to every client, no matter which node it is currently connected to.\n\n```\n# you can kill a given node, the client should reconnect to another node\n$ docker-compose stop server-george\n```\n\n## Features\n\n- Multiple users can join a chat room by each entering a unique username\non website load.\n- Users can type chat messages to the chat room.\n- A notification is sent to all users when a user joins or leaves\nthe chatroom.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusufff%2Fsocketio-cluster-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyusufff%2Fsocketio-cluster-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusufff%2Fsocketio-cluster-nginx/lists"}