{"id":43170945,"url":"https://github.com/cvweiss/redis-websocket","last_synced_at":"2026-02-01T02:31:00.233Z","repository":{"id":43144941,"uuid":"64035318","full_name":"cvweiss/redis-websocket","owner":"cvweiss","description":"Node implementation of redis to websocket broadcasting.","archived":false,"fork":false,"pushed_at":"2025-09-01T22:46:53.000Z","size":25,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-02T00:25:13.187Z","etag":null,"topics":["nodejs","pubsub","redis","websocket"],"latest_commit_sha":null,"homepage":"","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/cvweiss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-07-23T20:40:07.000Z","updated_at":"2025-09-01T22:46:56.000Z","dependencies_parsed_at":"2025-09-02T00:16:45.342Z","dependency_job_id":"98dea2e6-7ed7-47c4-8eaa-ba73996a8fdc","html_url":"https://github.com/cvweiss/redis-websocket","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cvweiss/redis-websocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvweiss%2Fredis-websocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvweiss%2Fredis-websocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvweiss%2Fredis-websocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvweiss%2Fredis-websocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvweiss","download_url":"https://codeload.github.com/cvweiss/redis-websocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvweiss%2Fredis-websocket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28965302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T02:14:24.993Z","status":"ssl_error","status_checked_at":"2026-02-01T02:13:55.706Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nodejs","pubsub","redis","websocket"],"created_at":"2026-02-01T02:31:00.151Z","updated_at":"2026-02-01T02:31:00.206Z","avatar_url":"https://github.com/cvweiss.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redis-websocket\r\n\r\nCreates a websocket on port 15241, listens to all channels on redis, and will publish to each connection the messages from each channel they have subscribed.\r\n\r\nTo install it:\r\n\r\n    git clone https://github.com/cvweiss/redis-websocket.git\r\n    cd redis-websocket\r\n    npm install\r\n\r\nTo run it:\r\n\r\n    nodejs app.js\r\n    \r\nTo listen to the public channel, from the browser client connecting to the websocket:\r\n\r\n    ws.send(JSON.stringify({'action':'sub','channel':'public'}));\r\n    \r\nAdditional channels can be specified one at a time:\r\n\r\n    ws.send(JSON.stringify({'action':'sub','channel':'datastream'}));\r\n\r\nExample:\r\n\r\n    \u003e nodejs app.js\r\n    Sat Jul 23 2016 20:54:15 GMT+0000 (UTC) Server is listening on port 15241\r\n    Sat Jul 23 2016 20:54:20 GMT+0000 (UTC) Broadcasted to 72 clients: ping\r\n    Sat Jul 23 2016 20:54:40 GMT+0000 (UTC) Broadcasted to 122 clients: pong\r\n    Sat Jul 23 2016 20:55:02 GMT+0000 (UTC) Broadcasted to 239 clients: {\"action\": \"test\"}\r\n    \r\nAn example of an nginx configuration that listens to port 2096 and passes this to the node app\r\n\r\n    server {\r\n        listen 2096 ssl;\r\n        listen [::]:2096 ssl;\r\n        server_name wss.example.com;\r\n\r\n        include snippets/self-signed.conf;\r\n        include snippets/ssl-params.conf;\r\n\r\n        location / {\r\n                proxy_pass http://127.0.0.1:15241;\r\n                proxy_http_version 1.1;\r\n                proxy_set_header   Upgrade $http_upgrade;\r\n                proxy_set_header   Connection \"upgrade\";\r\n                proxy_set_header Host $host;\r\n                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        }\r\n\r\n        access_log off;\r\n    }\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvweiss%2Fredis-websocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvweiss%2Fredis-websocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvweiss%2Fredis-websocket/lists"}