{"id":18639163,"url":"https://github.com/charconstpointer/rubens","last_synced_at":"2025-11-04T16:30:33.806Z","repository":{"id":115315961,"uuid":"294442867","full_name":"charconstpointer/rubens","owner":"charconstpointer","description":"YAMB","archived":false,"fork":false,"pushed_at":"2020-09-20T21:29:18.000Z","size":66,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-27T09:29:55.139Z","etag":null,"topics":["bus","distributed","message","messaging","microservices","rubens","signalr"],"latest_commit_sha":null,"homepage":"","language":"C#","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/charconstpointer.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-09-10T15:04:13.000Z","updated_at":"2020-09-21T10:33:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0669321-c5ec-414f-add2-be55227d0fc4","html_url":"https://github.com/charconstpointer/rubens","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charconstpointer%2Frubens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charconstpointer%2Frubens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charconstpointer%2Frubens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charconstpointer%2Frubens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charconstpointer","download_url":"https://codeload.github.com/charconstpointer/rubens/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239436495,"owners_count":19638324,"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":["bus","distributed","message","messaging","microservices","rubens","signalr"],"created_at":"2024-11-07T05:45:44.945Z","updated_at":"2025-11-04T16:30:33.777Z","avatar_url":"https://github.com/charconstpointer.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rubens (ruːbənz)\n## 📮 Basic pub-sub functionality on top of SignalR  \n#### Other communication methods possibly coming in the future (gRPC, AMQP)\n![](https://i.imgur.com/5qo5aQ0.png)\n##### PW 💗\n### 🐕‍🦺 Rubens' server https://hub.docker.com/r/controllerbase/rubens\nTo run it \n```\ndocker run -p 4444:4444 controllerbase/rubens \n```\n### 🧙🏽‍♂️ With Microsoft's DI\n#### 🥴 Register\n```\nservices.AddRubens(options =\u003e\n{\n    options.ConnectionString = \"http://localhost:4444\";\n});\n```\n##### In Memory Bus\n```\nservices.AddRubens(options =\u003e\n{\n    options.UseInMemoryBus = true;\n});\n```\n#### 🏌🏽‍♀️ Run\n```\napp.UseRubens(x =\u003e\n{\n    x.Subscribe\u003cEvent\u003e(@event =\u003e\n    {\n        Console.WriteLine($\"\u003e{@event}\");\n        Console.WriteLine($\"\u003c{@event}\");\n    });\n    //With IEventHandler\n    x.Subscribe\u003cEvent,EventHandler\u003e();\n});\n```\n### ⚙️ With Manual Wiring\n```\nvar cfg = new RubensConfiguration{ConnectionString = \"https://localhost:5001\"};\nvar ctl = new ControlPlane(cfg);\nvar logger = new Logger\u003cBus\u003e(new LoggerFactory());\nvar bus = new Bus(ctl, logger:logger);\nawait bus.Subscribe\u003cEvent\u003e(@event =\u003e Console.WriteLine(@event.Body));\n```\n### 🥳 Publishing events\n```\nawait _bus.Publish(new Event());\n```\n where Event : IEvent\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharconstpointer%2Frubens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharconstpointer%2Frubens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharconstpointer%2Frubens/lists"}