{"id":16352245,"url":"https://github.com/bugthesystem/socket.io-rabbitmq","last_synced_at":"2025-11-20T01:30:15.736Z","repository":{"id":33051981,"uuid":"36688209","full_name":"bugthesystem/socket.io-rabbitmq","owner":"bugthesystem","description":"socket.io adapter rabbitmq implementation","archived":false,"fork":false,"pushed_at":"2015-06-19T22:28:33.000Z","size":152,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T13:06:24.469Z","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":"michaellitherland/shelbot","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bugthesystem.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":"2015-06-01T20:52:34.000Z","updated_at":"2021-03-22T17:22:00.000Z","dependencies_parsed_at":"2022-06-27T04:54:29.145Z","dependency_job_id":null,"html_url":"https://github.com/bugthesystem/socket.io-rabbitmq","commit_stats":null,"previous_names":["bugthesystem/socket.io-rabbitmq"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fsocket.io-rabbitmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fsocket.io-rabbitmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fsocket.io-rabbitmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fsocket.io-rabbitmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugthesystem","download_url":"https://codeload.github.com/bugthesystem/socket.io-rabbitmq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239619573,"owners_count":19669447,"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-10-11T01:25:27.716Z","updated_at":"2025-11-20T01:30:15.680Z","avatar_url":"https://github.com/bugthesystem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# socket.io-rabbitmq\n\nsocket.io adapter  [rabbitmq](https://www.rabbitmq.com/) implementation.\n\n# Installing\n\n```\n$ npm install socket.io-rabbitmq\n```\n\n# Usage\n\n```js\nvar io = require('socket.io')(3000);\nvar rabbitmq = require('socket.io-rabbitmq');\nio.adapter(rabbitmq({\n  host: '127.0.0.1',\n  port: 5672\n}));\n```\n\n\n# API\n\n## adapter(opts)\n\nThe following options are allowed:\n\n- `key`: the name of the key to pub/sub events on as prefix (`socket.io-rabbitmq`)\n- `host`: host to connect to rabbitmq pub/sub server on (`127.0.0.1`)\n- `port`: port to connect to rabbitmq pub/sub server on (`5672`)\n- `pubClient`: optional, the rabbitmq client to publish events on\n- `subClient`: optional, the rabbitmq client to subscribe to events on\n\nIf you decide to supply `pubClient` and `subClient`, make sure you use [amqplib](https://github.com/squaremo/amqp.node/) as a client or one with an equivalent API.\n\n\n# Testing\n\nFirst, run the socket.io rabbitmq server\n\n```shell\n$ socket.io-rabbitmq-server\n```\n\nafter that, run the test.\n\n```shell\n$ make test\n```\n\n\n# License\n\n[MIT license](https://github.com/ziyasal/socket.io-rabbitmq/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugthesystem%2Fsocket.io-rabbitmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugthesystem%2Fsocket.io-rabbitmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugthesystem%2Fsocket.io-rabbitmq/lists"}