{"id":15393498,"url":"https://github.com/kristoff-it/simple-websocket-chat","last_synced_at":"2026-06-07T20:31:32.145Z","repository":{"id":52483767,"uuid":"257970119","full_name":"kristoff-it/simple-websocket-chat","owner":"kristoff-it","description":"Simple websocket chat demo that uses Redis Pub/Sub for horizontal scaling","archived":false,"fork":false,"pushed_at":"2021-05-30T08:22:17.000Z","size":16,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-05T00:18:55.975Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kristoff-it.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-22T17:19:33.000Z","updated_at":"2023-09-07T01:35:30.000Z","dependencies_parsed_at":"2022-09-09T08:12:16.136Z","dependency_job_id":null,"html_url":"https://github.com/kristoff-it/simple-websocket-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kristoff-it/simple-websocket-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoff-it%2Fsimple-websocket-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoff-it%2Fsimple-websocket-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoff-it%2Fsimple-websocket-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoff-it%2Fsimple-websocket-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kristoff-it","download_url":"https://codeload.github.com/kristoff-it/simple-websocket-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoff-it%2Fsimple-websocket-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34037777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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":[],"created_at":"2024-10-01T15:19:32.820Z","updated_at":"2026-06-07T20:31:32.127Z","avatar_url":"https://github.com/kristoff-it.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-websocket-chat\nSimple websocket chat demo that uses Redis Pub/Sub for horizontal scaling.\n\n## Requirements\n- A running Redis instance.\n\n## Usage\nInstall the dependences (`npm install`) and then just run the server process as follows:\n\n`$ node src/server.js 8080`\n\nThe server will prompt you to connect to a specific URL that will provide the client HTML\ninterface. By modifying the URL you can authenticate as different users.\n\nTry to spin up multiple instances of the chat server and look how all clients will still\nbe able to communicate even if connected to different processes.\n\n## Redis Pub/Sub Multiplexing\nThis example uses [RedisMPX](https://github.com/RedisMPX/) to orchestrate efficiently multiple listeners on top a single Redis Pub/Sub connection.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkristoff-it%2Fsimple-websocket-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkristoff-it%2Fsimple-websocket-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkristoff-it%2Fsimple-websocket-chat/lists"}