{"id":19316856,"url":"https://github.com/atmosphere/atmosphere-play","last_synced_at":"2025-09-06T19:33:20.721Z","repository":{"id":537066,"uuid":"8762092","full_name":"Atmosphere/atmosphere-play","owner":"Atmosphere","description":"Atmosphere Framework for Play!","archived":false,"fork":false,"pushed_at":"2025-01-03T19:24:30.000Z","size":237,"stargazers_count":87,"open_issues_count":8,"forks_count":21,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-08-25T20:47:27.858Z","etag":null,"topics":[],"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":null,"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":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,"zenodo":null}},"created_at":"2013-03-13T21:36:49.000Z","updated_at":"2025-08-13T11:10:33.000Z","dependencies_parsed_at":"2025-05-26T11:32:40.785Z","dependency_job_id":null,"html_url":"https://github.com/Atmosphere/atmosphere-play","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/Atmosphere/atmosphere-play","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atmosphere%2Fatmosphere-play","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atmosphere%2Fatmosphere-play/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atmosphere%2Fatmosphere-play/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atmosphere%2Fatmosphere-play/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atmosphere","download_url":"https://codeload.github.com/Atmosphere/atmosphere-play/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atmosphere%2Fatmosphere-play/sbom","scorecard":{"id":17385,"data":{"date":"2025-08-11","repo":{"name":"github.com/Atmosphere/atmosphere-play","commit":"fe27eff6882116afdde3925202962b5d7b128665"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/maven.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 2/19 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/Atmosphere/atmosphere-play/maven.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/Atmosphere/atmosphere-play/maven.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h46c-h94j-95f3","Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T16:05:31.516Z","repository_id":537066,"created_at":"2025-08-14T16:05:31.516Z","updated_at":"2025-08-14T16:05:31.516Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273953521,"owners_count":25197316,"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-06T02:00:13.247Z","response_time":2576,"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":[],"created_at":"2024-11-10T01:12:55.188Z","updated_at":"2025-09-06T19:33:20.697Z","avatar_url":"https://github.com/Atmosphere.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Playtosphere: Atmosphere for Play!\n\nThis project brings the [Atmosphere Framework](https://github.com/Atmosphere/atmosphere) to the [Play!](http://www.playframework.com/) Framework. \n\nFor Play 3.0+ and Atmosphere 3.0+:\n\n```xml\n     \u003cdependency\u003e\n         \u003cgroupId\u003eorg.atmosphere\u003c/groupId\u003e\n         \u003cartifactId\u003eatmosphere-play\u003c/artifactId\u003e\n         \u003cversion\u003e3.0.0\u003c/version\u003e\n     \u003c/dependency\u003e\n```\n\nFor Play 2.8.x+ and Atmosphere 2.7+:\n\n```xml\n     \u003cdependency\u003e\n         \u003cgroupId\u003eorg.atmosphere\u003c/groupId\u003e\n         \u003cartifactId\u003eatmosphere-play\u003c/artifactId\u003e\n         \u003cversion\u003e2.6.0\u003c/version\u003e\n     \u003c/dependency\u003e\n```\n\nServer side using atmosphere-runtime\n```java\n@ManagedService(path = \"/chat\")\npublic class Chat {\n    private final Logger logger = LoggerFactory.getLogger(Chat.class);\n\n    /**\n     * Invoked when the connection as been fully established and suspended, e.g ready for receiving messages.\n     *\n     * @param r\n     */\n    @Ready\n    public void onReady(final AtmosphereResource r) {\n        logger.info(\"Browser {} connected.\", r.uuid());\n    }\n\n    /**\n     * Invoked when the client disconnect or when an unexpected closing of the underlying connection happens.\n     *\n     * @param event\n     */\n    @Disconnect\n    public void onDisconnect(AtmosphereResourceEvent event) {\n        if (event.isCancelled()) {\n            logger.info(\"Browser {} unexpectedly disconnected\", event.getResource().uuid());\n        } else if (event.isClosedByClient()) {\n            logger.info(\"Browser {} closed the connection\", event.getResource().uuid());\n        }\n    }\n\n    /**\n     * Simple annotated class that demonstrate how {@link org.atmosphere.config.managed.Encoder} and {@link org.atmosphere.config.managed.Decoder\n     * can be used.\n     *\n     * @param message an instance of {@link Message}\n     * @return\n     * @throws IOException\n     */\n    @org.atmosphere.config.service.Message(encoders = {JacksonEncoder.class}, decoders = {JacksonDecoder.class})\n    public Message onMessage(Message message) throws IOException {\n        logger.info(\"{} just send {}\", message.getAuthor(), message.getMessage());\n        return message;\n    }\n```\nand on the client side,\n```js\n    $(function () {\n        \"use strict\";\n\n        var header = $('#header');\n        var content = $('#content');\n        var input = $('#input');\n        var status = $('#status');\n        var myName = false;\n        var author = null;\n        var logged = false;\n        var socket = $.atmosphere;\n        var subSocket;\n        var transport = 'websocket';\n\n        // We are now ready to cut the request\n        var request = { url: document.location.toString() + 'chat',\n            contentType : \"application/json\",\n            logLevel : 'debug',\n            transport : transport ,\n            trackMessageLength : true,\n            fallbackTransport: 'websocket'};\n\n\n        request.onMessage = function (response) {\n\n             // do something\n        };\n\n        request.onClose = function(response) {\n        };\n\n        request.onError = function(response) {\n        };\n\n        subSocket = socket.subscribe(request);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatmosphere%2Fatmosphere-play","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatmosphere%2Fatmosphere-play","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatmosphere%2Fatmosphere-play/lists"}