{"id":13597521,"url":"https://github.com/chillzhuang/blade-tool","last_synced_at":"2025-05-14T06:11:40.770Z","repository":{"id":37285435,"uuid":"162937035","full_name":"chillzhuang/blade-tool","owner":"chillzhuang","description":"SpringBlade 4.0 架构核心工具包，SpringBlade 是一个由商业级项目升级优化而来的微服务架构，采用Spring Boot 3.2 、Spring Cloud 2023 等核心技术构建，完全遵循阿里巴巴编码规范。提供基于React和Vue的两个前端框架用于快速搭建企业级的SaaS多租户微服务平台。  官网：https://bladex.cn","archived":false,"fork":false,"pushed_at":"2025-05-12T01:15:17.000Z","size":6886,"stargazers_count":1717,"open_issues_count":9,"forks_count":790,"subscribers_count":72,"default_branch":"master","last_synced_at":"2025-05-12T02:23:40.393Z","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":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chillzhuang.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,"zenodo":null}},"created_at":"2018-12-24T01:33:33.000Z","updated_at":"2025-05-11T08:56:33.000Z","dependencies_parsed_at":"2024-03-12T14:04:05.817Z","dependency_job_id":"cc48f16e-7988-4907-a270-19c4f3ac2afd","html_url":"https://github.com/chillzhuang/blade-tool","commit_stats":{"total_commits":276,"total_committers":8,"mean_commits":34.5,"dds":"0.18478260869565222","last_synced_commit":"6e7246a44d8f1dd75c48d1b231ee284c5f644fee"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chillzhuang%2Fblade-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chillzhuang%2Fblade-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chillzhuang%2Fblade-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chillzhuang%2Fblade-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chillzhuang","download_url":"https://codeload.github.com/chillzhuang/blade-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254080002,"owners_count":22011307,"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":[],"created_at":"2024-08-01T17:00:35.217Z","updated_at":"2025-05-14T06:11:40.709Z","avatar_url":"https://github.com/chillzhuang.png","language":"Java","funding_links":[],"categories":["微服务工具","Java"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Release-V4.4.2-green.svg\" alt=\"Downloads\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/JDK-17+-green.svg\" alt=\"Build Status\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-LGPL%20v3-blue.svg\" alt=\"Build Status\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Spring%20Cloud-2023-blue.svg\" alt=\"Coverage Status\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Spring%20Boot-3.2-blue.svg\" alt=\"Downloads\"\u003e\n  \u003ca href=\"https://central.sonatype.com/artifact/org.springblade/blade-core-bom/versions\"\u003e\n    \u003cimg src=\"https://img.shields.io/nexus/r/https/oss.sonatype.org/org.springblade/blade-core-bom.svg?style=flat-square\" alt=\"Downloads\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://oss.sonatype.org/content/repositories/snapshots/org/springblade/blade-core-bom/\"\u003e\n    \u003cimg src=\"https://img.shields.io/nexus/s/https/oss.sonatype.org/org.springblade/blade-core-bom.svg?style=flat-square\" alt=\"Downloads\"\u003e\n  \u003c/a\u003e\n\u003ca target=\"_blank\" href=\"https://bladex.cn\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Author-Small%20Chill-ff69b4.svg\" alt=\"Downloads\"\u003e\n\u003c/a\u003e\n\u003ca target=\"_blank\" href=\"https://bladex.cn\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Copyright%20-@BladeX-%23ff3f59.svg\" alt=\"Downloads\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e  \n\n## SpringBlade微服务开发平台\n* 采用前后端分离的模式，前端开源两个框架：[Sword](https://gitee.com/smallc/Sword) (基于 React、Ant Design)、[Saber](https://gitee.com/smallc/Saber) (基于 Vue、Element-UI)\n* 后端采用SpringCloud全家桶，并同时对其基础组件做了高度的封装，单独开源出一个框架：[BladeTool](https://gitee.com/smallc/blade-tool)\n* [BladeTool](https://github.com/chillzhuang/blade-tool)已推送至Maven中央库，直接引入即可，减少了工程的臃肿，也可更注重于业务开发\n* 集成Sentinel从流量控制、熔断降级、系统负载等多个维度保护服务的稳定性。\n* 注册中心、配置中心选型Nacos，为工程瘦身的同时加强各模块之间的联动。\n* 极简封装了多租户底层，用更少的代码换来拓展性更强的SaaS多租户系统。\n* 借鉴OAuth2，自研多终端认证系统，可控制子系统的token权限互相隔离。\n* 借鉴Security，自研Secure模块，采用JWT做Token认证，可拓展集成Redis等细颗粒度控制方案。\n* 稳定生产了六年，经历了从 Camden -\u003e Hoxton -\u003e 2023 的技术架构，也经历了从fat jar -\u003e docker -\u003e k8s + jenkins的部署架构。\n* 项目分包明确，规范微服务的开发模式，使包与包之间的分工清晰。\n\n## 架构图\n\u003cimg src=\"https://xbladex.oss-cn-hangzhou.aliyuncs.com/upload/springblade-framework.png\"/\u003e\n\n## 核心技术栈\n\n| 技术栈                  | 版本         |\n|----------------------|------------|\n| Java                 | 17+        |\n| NodeJS               | 18+        |\n| Spring               | 6.1.15     |\n| Spring Boot          | 3.2.12     |\n| Spring Cloud         | 2023.0.3   |\n| Spring Cloud Alibaba | 2023.0.1.2 |\n| Nacos Alibaba        | 2.3.2      |\n| Mybatis Plus         | 3.5.8      |\n\n\n\n## 工程结构\n``` \nblade-tool\n├── blade-core-boot -- 业务包综合模块\n├── blade-core-cloud -- cloud封装模块\n├── blade-core-datascope -- 数据权限封装模块\n├── blade-core-develop -- 代码生成封装模块\n├── blade-core-launch -- 基础启动模块\n├── blade-core-loadbalancer -- 灰度服务封装模块\n├── blade-core-log -- 日志封装模块 \n├── blade-core-mybatis -- mybatis拓展封装模块 \n├── blade-core-oss -- 对象存储封装模块 \n├── blade-core-report -- 报表封装模块 \n├── blade-core-secure -- 安全封装模块 \n├── blade-core-social -- 第三方登录封装模块 \n├── blade-core-swagger -- swagger拓展封装模块 \n├── blade-core-test -- 单元测试封装模块 \n├── blade-core-tool -- 单元测试封装模块 \n└── blade-core-transaction -- 分布式事物封装模块 \n```\n\n## 官方信息\n\n| 简介   | 内容                                                                            |\n|------|-------------------------------------------------------------------------------|\n| 官网地址 | [https://bladex.cn](https://bladex.cn)                                        |\n| 问答社区 | [https://sns.bladex.cn](https://sns.bladex.cn)                                |\n| 会员计划 | [SpringBlade会员计划](https://gitee.com/smallc/SpringBlade/wikis/SpringBlade会员计划) |\n| 交流一群 | `477853168` (满)                                                               |\n| 交流二群 | `751253339` (满)                                                               |\n| 交流三群 | `784729540` (满)                                                               |\n| 交流四群 | `1034621754` (满)                                                              |\n| 交流五群 | `946350912` (满)                                                               |\n| 交流六群 | `511624269` (满)                                                               |\n| 交流七群 | `298061704`                                                                   |\n\n## 官方产品\n\n| 简介            | 演示地址                                                 |\n|---------------|------------------------------------------------------|\n| BladeX企业级开发平台 | [https://saber3.bladex.cn](https://saber3.bladex.cn) |\n| BladeX可视化数据大屏 | [https://data.bladex.cn](https://data.bladex.cn)     |\n| BladeX物联网开发平台 | [https://iot.bladex.cn](https://iot.bladex.cn)       |\n\n## 前端项目\n\n| 简介                 | 地址                                                                                                 |\n|--------------------|----------------------------------------------------------------------------------------------------|\n| 前端框架Sword(基于React) | [https://gitee.com/smallc/Sword](https://gitee.com/smallc/Sword)                                   |\n| 前端框架Saber(基于Vue2)  | [https://gitee.com/smallc/Saber](https://gitee.com/smallc/Saber)                                   |\n| 前端框架Saber3(基于Vue3) | [https://gitee.com/smallc/Saber3](https://gitee.com/smallc/Saber/tree/3.x/)                        |\n\n## 后端项目\n| 简介            | 地址                                                                                                 |\n|---------------|----------------------------------------------------------------------------------------------------|\n| 核心框架项目地址      | [https://gitee.com/smallc/blade-tool](https://gitee.com/smallc/blade-tool)                         |\n| 后端Gitee地址     | [https://gitee.com/smallc/SpringBlade](https://gitee.com/smallc/SpringBlade)                       |\n| 后端Github地址    | [https://github.com/chillzhuang/SpringBlade](https://github.com/chillzhuang/SpringBlade)           |\n| 后端SpringBoot版 | [https://gitee.com/smallc/SpringBlade/tree/boot/](https://gitee.com/smallc/SpringBlade/tree/boot/) |\n\n## 安全手册\n| 简介        | 地址                                                                                                 |\n|-----------|----------------------------------------------------------------------------------------------------|\n| Blade安全手册 | [https://www.kancloud.cn/smallchill/blade-safety](https://www.kancloud.cn/smallchill/blade-safety) |\n\n## 技术文档\n\n| 简介                        | 地址                                                                                                                       |\n|---------------------------|--------------------------------------------------------------------------------------------------------------------------|\n| SpringBlade开发手册一览         | [https://gitee.com/smallc/SpringBlade/wikis/SpringBlade开发手册](https://gitee.com/smallc/SpringBlade/wikis/SpringBlade开发手册) |\n| SpringBlade常见问题集锦         | [https://sns.bladex.cn/article-14966.html](https://sns.bladex.cn/article-14966.html)                                     |\n| SpringBlade基于Kuboard部署K8S | [https://kuboard.cn/learning/k8s-practice/spring-blade/](https://kuboard.cn/learning/k8s-practice/spring-blade/)         |\n| SpringBlade基于Rainbond部署   | [https://www.rainbond.com/docs/micro-service/example/blade](https://www.rainbond.com/docs/micro-service/example/blade)   |\n\n\n## 免费公开课\n\u003ctable\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\u003ca href=\"https://space.bilibili.com/525525/channel/seriesdetail?sid=2740449\" target=\"_blank\"\u003e\u003cimg style=\"width: 300px; height: 170px\" src=\"https://xbladex.oss-cn-hangzhou.aliyuncs.com/upload/springblade-course.jpg\"/\u003e\u003c/a\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003cimg style=\"width: 300px; height: 170px\" src=\"https://xbladex.oss-cn-hangzhou.aliyuncs.com/upload/springblade-bilibili.jpg\"/\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n## 开源协议\nLGPL（[GNU Lesser General Public License](http://www.gnu.org/licenses/lgpl.html)）\n\nLGPL是GPL的一个为主要为类库使用设计的开源协议。和GPL要求任何使用/修改/衍生之GPL类库的的软件必须采用GPL协议不同。LGPL允许商业软件通过类库引用(link)方式使用LGPL类库而不需要开源商业软件的代码。这使得采用LGPL协议的开源代码可以被商业软件作为类库引用并发布和销售。\n\n但是如果修改LGPL协议的代码或者衍生，则所有修改的代码，涉及修改部分的额外代码和衍生的代码都必须采用LGPL协议。因此LGPL协议的开源代码很适合作为第三方类库被商业软件引用，但不适合希望以LGPL协议代码为基础，通过修改和衍生的方式做二次开发的商业软件采用。\n\n## 用户权益\n* 允许以引入不改源码的形式免费用于学习、毕设、公司项目、私活等。\n* 特殊情况修改代码，但仍然想闭源需经过作者同意。\n* 对未经过授权和不遵循 LGPL 协议二次开源或者商业化我们将追究到底。\n* 参考请注明：参考自 mica：https://github.com/lets-mica/mica ，blade-tool：https://github.com/chillzhuang/blade-tool 。另请遵循 LGPL 协议。\n* `注意`：若禁止条款被发现有权追讨 **19999** 的授权费。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchillzhuang%2Fblade-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchillzhuang%2Fblade-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchillzhuang%2Fblade-tool/lists"}