{"id":36426252,"url":"https://github.com/byakkili/b-im","last_synced_at":"2026-01-11T18:00:51.662Z","repository":{"id":45107225,"uuid":"266207778","full_name":"byakkili/B-IM","owner":"byakkili","description":"B-IM是基于Netty实现的即时通讯框架","archived":false,"fork":false,"pushed_at":"2022-12-12T21:42:34.000Z","size":216,"stargazers_count":1,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-03T00:09:34.349Z","etag":null,"topics":["b-im","hutool","im","java","netty","protobuf","spring-boot-starter"],"latest_commit_sha":null,"homepage":"","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/byakkili.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-22T21:08:14.000Z","updated_at":"2020-07-03T07:11:03.000Z","dependencies_parsed_at":"2023-01-28T01:31:38.800Z","dependency_job_id":null,"html_url":"https://github.com/byakkili/B-IM","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/byakkili/B-IM","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byakkili%2FB-IM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byakkili%2FB-IM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byakkili%2FB-IM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byakkili%2FB-IM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byakkili","download_url":"https://codeload.github.com/byakkili/B-IM/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byakkili%2FB-IM/sbom","scorecard":{"id":259921,"data":{"date":"2025-08-11","repo":{"name":"github.com/byakkili/B-IM","commit":"e1e3fb9f0061086073b7d428a2200acdcb9f6809"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"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":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":"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":"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":"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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"36 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-47vx-fqr5-j2gw","Warn: Project is vulnerable to: GHSA-7m7h-rgvp-3v4r","Warn: Project is vulnerable to: GHSA-7mcw-xmx3-7p8m","Warn: Project is vulnerable to: GHSA-7p8c-crfr-q93p","Warn: Project is vulnerable to: GHSA-p2qf-9vp6-3jjq","Warn: Project is vulnerable to: GHSA-rr66-qh5m-w6mx","Warn: Project is vulnerable to: GHSA-rxgf-r843-g53h","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-9vjp-v76f-g363","Warn: Project is vulnerable to: GHSA-grg4-wf29-r9vv","Warn: Project is vulnerable to: GHSA-269q-hmxg-m83q","Warn: Project is vulnerable to: GHSA-5jpm-x58v-624v","Warn: Project is vulnerable to: GHSA-5mcr-gq6c-3hq2","Warn: Project is vulnerable to: GHSA-wx5j-54mm-rqqq","Warn: Project is vulnerable to: GHSA-389x-839f-4rhx","Warn: Project is vulnerable to: GHSA-xq3w-v528-46rv","Warn: Project is vulnerable to: GHSA-6mjq-h674-j845","Warn: Project is vulnerable to: GHSA-cm59-pr5q-cw85","Warn: Project is vulnerable to: GHSA-rc42-6c7j-7h5r","Warn: Project is vulnerable to: GHSA-36p3-wjmg-h94x","Warn: Project is vulnerable to: GHSA-hh26-6xwr-ggv7","Warn: Project is vulnerable to: GHSA-4gc7-5j7h-4qph","Warn: Project is vulnerable to: GHSA-4wp7-92pw-q264","Warn: Project is vulnerable to: GHSA-g5mm-vmx4-3rg7","Warn: Project is vulnerable to: GHSA-6gf2-pvqw-37ph","Warn: Project is vulnerable to: GHSA-rfmp-97jj-h8m6","Warn: Project is vulnerable to: GHSA-558x-2xjg-6232","Warn: Project is vulnerable to: GHSA-564r-hj7v-mcr5","Warn: Project is vulnerable to: GHSA-9cmq-m9j5-mvww","Warn: Project is vulnerable to: GHSA-wxqc-pxw9-g2p8"],"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-17T10:36:02.461Z","repository_id":45107225,"created_at":"2025-08-17T10:36:02.461Z","updated_at":"2025-08-17T10:36:02.461Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28316930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"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":["b-im","hutool","im","java","netty","protobuf","spring-boot-starter"],"created_at":"2026-01-11T18:00:24.652Z","updated_at":"2026-01-11T18:00:51.631Z","avatar_url":"https://github.com/byakkili.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca target=\"_blank\" href=\"https://search.maven.org/search?q=g:%22com.github.byakkili%22%20AND%20a:%22bim-core%22\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/maven-central/v/com.github.byakkili/bim-core.svg?label=Maven%20Central\" /\u003e\n\t\u003c/a\u003e\n\t\u003ca target=\"_blank\" href=\"https://www.apache.org/licenses/LICENSE-2.0\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/License-Apache--2.0-brightgreen.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://www.oracle.com/technetwork/java/javase/downloads/index.html\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/JDK-1.8+-green.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://app.codacy.com/manual/byakkili/B-IM?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=byakkili/B-IM\u0026utm_campaign=Badge_Grade_Dashboard\"\u003e\n        \u003cimg src=\"https://api.codacy.com/project/badge/Grade/23f223e1ee194b48ab61bfd37e63f6ae\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n-------------------------------------------------------------------------------\n\n## B-IM 简介\nB-IM是用JAVA语言，基于Netty实现的轻量级、高性能的IM即时通讯框架，主要是降低相关API的学习成本，降低即时通讯门槛，提高工作效率，让开发者更专注于业务的开发。\n\n## 主要特色\n    1、高性能(可支持几十万以上用户同时在线)\n    2、轻量，拓展性高(提供丰富的API: 会话监听器、命令拦截器、自定义命令、自定义协议...)\n    3、支持集群部署(默认提供redisson实现)\n    4、可支持JSON、Protobuf消息格式(默认提供实现，可根据需要自行拓展)\n\n-------------------------------------------------------------------------------\n\n## 包含模块\n| 模块                    |     介绍                                        |\n|-------------------------|-------------------------------------------------|\n| bim-core                | 核心包                                          |\n| bim-spring-boot-starter | SpringBoot启动器，让配置更简单                   |\n\n-------------------------------------------------------------------------------\n\n## 文档 \n[参考API](https://apidoc.gitee.com/byakkili/B-IM)\n\n-------------------------------------------------------------------------------\n\n## 安装\n\n### Maven\n在项目中的pom.xml的dependencies中加入以下内容：\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.byakkili\u003c/groupId\u003e\n    \u003cartifactId\u003ebim-core\u003c/artifactId\u003e\n    \u003cversion\u003e0.0.3\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle\n```\ncompile 'com.github.byakkili:bim-core:0.0.3'\n```\n\n### 非Maven项目\n点击以下任一链接，下载`bim-core-0.0.3.jar`即可：\n- [Maven中央库1](https://repo1.maven.org/maven2/com/github/byakkili/bim-core/0.0.3/)\n- [Maven中央库2](http://repo2.maven.org/maven2/com/github/byakkili/bim-core/0.0.3/)\n\n-------------------------------------------------------------------------------\n\n## 使用 \n###### (可参考src/test/java下的demo)\n```java\npublic class ServerStarter {\n    public static void main(String[] args) {\n        BimConfiguration config = new BimConfiguration();\n        config.setPort(9000); // 端口\n        config.setReaderTimeout(30); // 读超时30秒\n        config.setWriterTimeout(30); // 写超时30秒\n        \n        // 添加协议提供者\n        config.addProtocolProvider(new WsProtobufProtocolProvider());\n        config.addProtocolProvider(new TcpProtobufProtocolProvider()); \n        \n        config.addCmdHandler(new TestHandler()); // 添加命令处理器\n        config.addCmdInterceptor(new TestInterceptor()); // 添加命令拦截器\n        config.addSessionListener(new TestSessionListener()); // 设置会话监听器\n        \n        BimNettyServer bimNettyServer = new BimNettyServer(config);\n        \n        bimNettyServer.start(); // 启动\n        \n        bimNettyServer.close(); // 关闭\n    }\n}\n```\n\n## DEMO\n    1、下载本工程代码\n    2、进入目录B-IM\\bim-spring-boot-starter\\src\\test\\resources, 修改配置文件application.yml、redisson.yml\n    3、运行B-IM\\bim-spring-boot-starter\\src\\test\\java\\com\\github\\byakkili\\bim\\demo\\JsonApplication.java的main方法\n    4、双击打开B-IM\\bim-spring-boot-starter\\src\\test\\resources\\index.html即可(可打开多个窗口进行聊天)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyakkili%2Fb-im","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyakkili%2Fb-im","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyakkili%2Fb-im/lists"}