{"id":19316853,"url":"https://github.com/atmosphere/atmosph4rx","last_synced_at":"2025-09-03T20:33:32.652Z","repository":{"id":66755067,"uuid":"130418164","full_name":"Atmosphere/Atmosph4rX","owner":"Atmosphere","description":"Atmosphere Framework version 4 for Reactive Streams","archived":false,"fork":false,"pushed_at":"2025-06-27T16:06:26.000Z","size":293,"stargazers_count":34,"open_issues_count":3,"forks_count":5,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-08-20T14:49:11.934Z","etag":null,"topics":["reactive-programming","reactive-streams","spring-boot","websockets"],"latest_commit_sha":null,"homepage":"http://async-io.org","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Atmosphere.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":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-20T22:08:20.000Z","updated_at":"2022-03-31T18:36:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"640b09df-3f79-43f8-9417-a6db08814cc6","html_url":"https://github.com/Atmosphere/Atmosph4rX","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Atmosphere/Atmosph4rX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atmosphere%2FAtmosph4rX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atmosphere%2FAtmosph4rX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atmosphere%2FAtmosph4rX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atmosphere%2FAtmosph4rX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atmosphere","download_url":"https://codeload.github.com/Atmosphere/Atmosph4rX/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atmosphere%2FAtmosph4rX/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273506627,"owners_count":25118009,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["reactive-programming","reactive-streams","spring-boot","websockets"],"created_at":"2024-11-10T01:12:54.807Z","updated_at":"2025-09-03T20:33:32.577Z","avatar_url":"https://github.com/Atmosphere.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to the Atmosph4rX Framework!\n## The WebSocket Reactive Streams Framework for Java\n\n[SpringBoot 2](https://projects.spring.io/spring-boot/) + [Project Reactor](https://projectreactor.io/) + [Atmosphere](https://github.com/Atmosphere/atmosphere) = **Atmosph4rX**. \n\n[Reactive Streams](http://www.reactive-streams.org/) made easy!\n\nAtmosph4rX is a complete rewrite of the [Atmosphere Framework](https://github.com/Atmosphere/atmosphere). All the functionalities are or will be ported to Atmosph4rX.\n\n## ROADMAP\n* Work in Progress. See [ROADMAP](./ROADMAP.md) for more details.\n\n## As simple as\n\n### Reactive Streams Subscriber\n```java    \n       @ReactTo(\"/mySubscriber\")\n       public final class MySubscriber implements AxSubscriber\u003cString\u003e {\n   \n           @Topic(\"/message\")\n           private SocketsGroupProcessor\u003cString\u003e processor;\n   \n           @Override\n           public void onSubscribe(AxSubscription s) {\n               processor.subscribe(s.socket());\n           }\n   \n           @Override\n           public void onNext(String next) {\n                // Push data to all {@link Subscriber}s.  \n                // toProcessor return a FluxProcessor\n                processor.toProcessor().onNext(next);\n           }\n   \n           @Override\n           public void onComplete() {\n           }\n   \n           @Override\n           public void onError(Throwable throwable) {\n           }\n   \n       }\n```\n\n### Annotation based\n```java    \n       @ReactTo(\"/foo\")\n       public final class MyPoJo {\n   \n           @Topic(\"/message\")\n           private SocketsGroupProcessor\u003cString\u003e processor;\n   \n           @Open\n           public void open() {\n           }\n        \n           @Close\n           public void close() {\n           }\n        \n           @Message\n           public void on(String message) {\n              processor.publish(next);\n           }\n        \n           @Error\n           public void error() {\n           }         \n   \n       }\n```\n\n## How to install\n\n```xml\n     \u003cdependency\u003e\n         \u003cgroupId\u003eorg.atmosphere\u003c/groupId\u003e\n         \u003cartifactId\u003eatmosph4rx\u003c/artifactId\u003e\n         \u003cversion\u003e4.0.0-SNAPSHOT\u003c/version\u003e\n      \u003c/dependency\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatmosphere%2Fatmosph4rx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatmosphere%2Fatmosph4rx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatmosphere%2Fatmosph4rx/lists"}