{"id":44689664,"url":"https://github.com/rongcloud/server-sdk-java","last_synced_at":"2026-02-27T19:01:17.797Z","repository":{"id":23133383,"uuid":"26488252","full_name":"rongcloud/server-sdk-java","owner":"rongcloud","description":"RongCloud Server SDK in Java.","archived":false,"fork":false,"pushed_at":"2025-10-31T02:35:39.000Z","size":3724,"stargazers_count":253,"open_issues_count":5,"forks_count":221,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-10-31T04:24:44.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/rongcloud.png","metadata":{"files":{"readme":"README-CN.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2014-11-11T14:23:45.000Z","updated_at":"2025-10-31T02:35:44.000Z","dependencies_parsed_at":"2024-02-02T10:26:04.845Z","dependency_job_id":"2769567e-44c7-4512-bd7b-bbcd43a140f2","html_url":"https://github.com/rongcloud/server-sdk-java","commit_stats":null,"previous_names":[],"tags_count":85,"template":false,"template_full_name":null,"purl":"pkg:github/rongcloud/server-sdk-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rongcloud%2Fserver-sdk-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rongcloud%2Fserver-sdk-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rongcloud%2Fserver-sdk-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rongcloud%2Fserver-sdk-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rongcloud","download_url":"https://codeload.github.com/rongcloud/server-sdk-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rongcloud%2Fserver-sdk-java/sbom","scorecard":{"id":368771,"data":{"date":"2025-08-11","repo":{"name":"github.com/rongcloud/server-sdk-java","commit":"556d01c9446d8dcb027f5649f52cac99d636e08d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"Maintained","score":10,"reason":"13 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","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":-1,"reason":"No tokens found","details":null,"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":3,"reason":"binaries present in source code","details":["Warn: binary detected: lib/commons-codec-1.4.jar:1","Warn: binary detected: lib/commons-lang3-3.4.jar:1","Warn: binary detected: lib/fastjson-1.2.4.jar:1","Warn: binary detected: lib/gson-2.2.4.jar:1","Warn: binary detected: lib/jackson-annotations-2.2.2.jar:1","Warn: binary detected: lib/jackson-databind-2.2.2.jar:1","Warn: binary detected: lib/xstream-1.5.0.jar:1"],"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"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":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h46c-h94j-95f3","Warn: Project is vulnerable to: GHSA-wf8f-6423-gfxg","Warn: Project is vulnerable to: GHSA-288c-cq4h-88gq","Warn: Project is vulnerable to: GHSA-3x8x-79m2-3w2w","Warn: Project is vulnerable to: GHSA-57j2-w4cx-62h2","Warn: Project is vulnerable to: GHSA-jjjh-jjxp-wpff","Warn: Project is vulnerable to: GHSA-rgv9-q543-rqg4","Warn: Project is vulnerable to: GHSA-hfq9-hggm-c56q","Warn: Project is vulnerable to: GHSA-78wr-2p64-hpwj","Warn: Project is vulnerable to: GHSA-gwrp-pvrq-jmwv","Warn: Project is vulnerable to: GHSA-269g-pwp5-87pp","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-18T12:29:44.935Z","repository_id":23133383,"created_at":"2025-08-18T12:29:44.935Z","updated_at":"2025-08-18T12:29:44.935Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29909252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T17:28:36.873Z","status":"ssl_error","status_checked_at":"2026-02-27T17:28:20.970Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-02-15T07:00:30.137Z","updated_at":"2026-02-27T19:01:17.792Z","avatar_url":"https://github.com/rongcloud.png","language":"Java","funding_links":[],"categories":["网络编程"],"sub_categories":["Spring Cloud框架"],"readme":"server-sdk-java\n=================\n\nRongCloud IM Server SDK in Java.\n\n## 集成\n\n   * 中央仓库获取[JAR](https://search.maven.org/search?q=g:cn.rongcloud.im%20AND%20a:server-sdk-java\u0026core=gav)\n   * Maven\n```\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecn.rongcloud.im\u003c/groupId\u003e\n        \u003cartifactId\u003eserver-sdk-java\u003c/artifactId\u003e\n        \u003cversion\u003e4.0.9\u003c/version\u003e\n    \u003c/dependency\u003e\n```\n   * Gradle\n```\n    compile group: 'cn.rongcloud.im', name: 'server-sdk-java', version: '4.0.9'\n   \n```\n   * 基于源码 Meavn 打包构建\n```\n   1、下载或克隆 `server-sdk-java`\n   \n   2、进入项目 `server-sdk-java` 目录\n   \n   3、安装依赖 `mvn install`\n   \n   4、打包 `mvn clean package`\n   \n```\n   * 运行环境\n   \n    Java版本  7+\n\n# 使用\n\n请前往 [开发者后台](https://developer.rongcloud.cn/) 创建应用 -\u003e 获取 Appkey、Secret\n\n以注册用户为例\n\n```\n  String appKey = \"appKey\";\n  String appSecret = \"appSecret\";\n  // 初始化,设置您使用的数据中心\n  RongCloud rongCloud = RongCloud.getInstance(appKey, appSecret, CenterEnum.BJ);\n  User user = rongCloud.user;\n\n  /**\n  *\n  * 注册用户，生成用户在融云的唯一身份标识 Token\n  */\n  UserModel userModel = new UserModel()\n            .setId(\"hHjap87\")\n            .setName(\"RongCloud\")\n            .setPortrait(\"http://www.rongcloud.cn/images/logo.png\");\n  TokenResult result = user.register(userModel);\n  System.out.println(\"getToken:  \" + result.toString());\n\n```\n```\n# 打印结果\n# getToken:  {\"reqBody\":\"userId=userxxd2\u0026name=username\u0026portraitUri=http%3A%2F%2Fwww.rongcloud.cn%2Fimages%2Flogo.png\",\"code\":1002,\"errorMessage\":\"Invalidate App-Key.\",\"requestId\":\"0c1f127e9bc1401bb05eaad61b4502f7\"}\n```\n\n特别说明: 接口每次调用都会返回唯一的 ***requestId*** ，此 Id 为请求融云的唯一标识。\n\n\n## 示例\n\n###### [用户模块示例](./src/main/java/io/rong/example/user)\n\n###### [消息模块示例](./src/main/java/io/rong/example/message/MessageExample.java)\n\n###### [群组模块示例](./src/main/java/io/rong/example/group)\n\n###### [聊天室模块示例](./src/main/java/io/rong/example/chatroom/)\n\n###### [会话模块示例](./src/main/java/io/rong/example/conversation/ConversationExample.java)\n\n###### [敏感词模块示例](./src/main/java/io/rong/example/sensitive/SensitiveExample.java)\n\n###### [超级群模块示例](./src/main/java/io/rong/example/ultragroup)\n\n###### [用户、好友、群组托管示例](src/main/java/io/rong/example/profile)\n\n###### [聊天机器人示例](src/main/java/io/rong/example/chatbot)\n\n###### [AI agent 示例](src/main/java/io/rong/example/agent)\n\n\n# 版本说明\n为方便开发者的接入使用，更好的对融云 Server SDK 进行维护管理，现更新SDK 3.8.0，需强制设置服务器地址。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frongcloud%2Fserver-sdk-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frongcloud%2Fserver-sdk-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frongcloud%2Fserver-sdk-java/lists"}