{"id":15405586,"url":"https://github.com/krisleech/wisper-rabbitmq","last_synced_at":"2025-08-02T01:34:49.351Z","repository":{"id":66255587,"uuid":"30893705","full_name":"krisleech/wisper-rabbitmq","owner":"krisleech","description":"Relay Wisper events to RabbitMQ","archived":false,"fork":false,"pushed_at":"2015-11-16T14:01:24.000Z","size":108,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T04:44:47.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/krisleech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-16T23:24:21.000Z","updated_at":"2017-11-06T16:56:35.000Z","dependencies_parsed_at":"2023-02-20T18:45:13.954Z","dependency_job_id":null,"html_url":"https://github.com/krisleech/wisper-rabbitmq","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/krisleech%2Fwisper-rabbitmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Fwisper-rabbitmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Fwisper-rabbitmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Fwisper-rabbitmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krisleech","download_url":"https://codeload.github.com/krisleech/wisper-rabbitmq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245359248,"owners_count":20602322,"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-01T16:17:21.354Z","updated_at":"2025-03-24T21:41:24.449Z","avatar_url":"https://github.com/krisleech.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wisper::RabbitMQ [WIP]\n\nRelay Wisper events to RabbitMQ.\n\n## Installation\n\n```ruby\ngem 'wisper-rabbitmq'\n```\n\n## Usage\n\n```ruby\nWisper::RabbitMQ.enable\n```\n\nThe above will forward all events to RabbitMQ with the following defaults:\n\n* Host: `amqp://guest:guest@localhost:5672`\n* VirtualHost: `/`\n* Exchange: `fanout`\n* Queue: `wisper`\n\n## Configuration\n\n```ruby\nWisper::RabbitMQ.configure do |config|\n  config.host = '...'\n  # or\n  config.connection = my_connection\nend\n```\n\n`my_connection` must be a [Bunny]() compatible client. This is useful on JRuby\nas it allows use of the more performant [Hare]() library.\n\nAnd the other, optional, configurables:\n\n```ruby\nconfig.virtual_host = 'myapp'\nconfig.queue = 'default'\n```\n\nThe value for each configurable can also be a callable object, e.g.\n\n```ruby\nconfig.virtual_host = -\u003e(event) { ... }\n```\n\n### Whitelisting\n\nYou can filter which events are relayed to RabbitMQ using a callable object:\n\n```ruby\nWisper::RabbitMQ.configure do |config|\n  config.relay_events = -\u003e(event_name) { %w(:thing_created).include?(event_name) }\nend\n```\n\n## Contributing\n\nYes, please.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisleech%2Fwisper-rabbitmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrisleech%2Fwisper-rabbitmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisleech%2Fwisper-rabbitmq/lists"}