{"id":16380324,"url":"https://github.com/aramperes/lapin-websocket-prototype","last_synced_at":"2026-04-23T09:30:15.764Z","repository":{"id":78211661,"uuid":"274527163","full_name":"aramperes/lapin-websocket-prototype","owner":"aramperes","description":"A prototype to broadcast AMQP messages to websocket clients","archived":false,"fork":false,"pushed_at":"2020-06-24T05:08:56.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T20:45:41.375Z","etag":null,"topics":["amqp","rust","tokio","warp","websocket"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/aramperes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-23T23:10:40.000Z","updated_at":"2021-05-21T12:46:09.000Z","dependencies_parsed_at":"2023-03-22T23:01:17.282Z","dependency_job_id":null,"html_url":"https://github.com/aramperes/lapin-websocket-prototype","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/aramperes%2Flapin-websocket-prototype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aramperes%2Flapin-websocket-prototype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aramperes%2Flapin-websocket-prototype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aramperes%2Flapin-websocket-prototype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aramperes","download_url":"https://codeload.github.com/aramperes/lapin-websocket-prototype/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240035718,"owners_count":19737602,"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":["amqp","rust","tokio","warp","websocket"],"created_at":"2024-10-11T03:51:10.464Z","updated_at":"2026-04-23T09:30:15.706Z","avatar_url":"https://github.com/aramperes.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lapin-websocket-prototype\nA prototype to broadcast AMQP messages to websocket clients, written in stable Rust\n\n## Objective\n\nPublish a UTF-8 message on an AMQP (RabbitMQ) fanout exchange. Each instance of `lapin-websocket-prototype` will receive this payload,\nand broadcast it to the websocket clients connected. Implemented using async to support a high volume of connections.\n\n## Main crates used\n\n* [lapin](https://crates.io/crates/lapin) and [tokio-amqp](https://crates.io/crates/tokio-amqp) for the async AMQP implementation\n* [warp](https://crates.io/crates/warp) for the websocket service\n* [tokio](https://crates.io/crates/tokio) for the async runtime\n\n## Things I learned\n\n* Using lapin and warp\n* Async closures\n* Lazy statics\n* The difference between `Fn` and `FnOnce`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faramperes%2Flapin-websocket-prototype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faramperes%2Flapin-websocket-prototype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faramperes%2Flapin-websocket-prototype/lists"}