{"id":30528197,"url":"https://github.com/flyhero/spring-boot-plus","last_synced_at":"2026-05-05T08:32:53.431Z","repository":{"id":164214429,"uuid":"471626809","full_name":"flyhero/spring-boot-plus","owner":"flyhero","description":"springboot代码生成器，主要用于对spring-boot项目进行增强，包含日志配置，异常统一处理，跨域设置，jackson序列化，MybatisPlus，xss攻击等","archived":false,"fork":false,"pushed_at":"2022-04-30T13:11:21.000Z","size":170,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-27T11:21:45.015Z","etag":null,"topics":["cors","freemaker","json","logback","mybatis","mybatis-plus","spring-boot","xss"],"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/flyhero.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":"2022-03-19T07:44:58.000Z","updated_at":"2023-09-07T00:50:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"def989a1-dbc4-4b22-98a6-d01838ddd747","html_url":"https://github.com/flyhero/spring-boot-plus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flyhero/spring-boot-plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyhero%2Fspring-boot-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyhero%2Fspring-boot-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyhero%2Fspring-boot-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyhero%2Fspring-boot-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flyhero","download_url":"https://codeload.github.com/flyhero/spring-boot-plus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyhero%2Fspring-boot-plus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32642007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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":["cors","freemaker","json","logback","mybatis","mybatis-plus","spring-boot","xss"],"created_at":"2025-08-27T04:41:06.342Z","updated_at":"2026-05-05T08:32:53.425Z","avatar_url":"https://github.com/flyhero.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg width=\"100\" src=\"https://dev.java/assets/images/duke-celebrate.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/flyhero/spring-boot-plus\"\u003e\u003cimg src=\"https://img.shields.io/badge/JDK-1.8-brightgreen\" alt=\"jdk\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/flyhero/spring-boot-plus\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue\" alt=\"license\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/flyhero/spring-boot-plus\"\u003e\u003cimg src=\"https://img.shields.io/badge/author-flyhero-green\" alt=\"author\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003e spring-boot-plus\u003c/h2\u003e\n\u003cp align=\"center\"\u003e\u003cb\u003e 对一些常用功能的自动配置，省去CV操作。\u003c/b\u003e\u003c/p\u003e\n\n## Introduction - 介绍\n\n### Summary - 概要\nspringboot代码生成器，适用于前后端分离的单体项目，主要用于对一些常用功能的自动配置，省去CV操作。\n\n### Features - 特性\n\n- 日志配置\n- 异常统一处理\n- cors跨域设置\n- 拦截器\n- 序列化配置\n- mybatis-plus配置\n- mybatis-plus代码生成\n\n- xss防攻击\n- 国际化\n\nTODO：\n- util常用类\n- README模板生成\n- 帮助文档生成\n\n## Usage - 用法\n\n在测试类或启动类中进行如下设置：\n\n```java\n        PlusConfig.ProjectConfig projectConfig = PlusConfig.ProjectConfig.builder().groupId(\"com.github.flyhero\")\n        .artifactId(\"demo-test\")\n        .name(\"demo-test\")\n        .description(\"desc\")\n        .build();\n\n        PlusConfig.DataSourceConfig dataSourceConfig = PlusConfig.DataSourceConfig.builder()\n        .username(\"***\")\n        .password(\"***\")\n        .type(PlusConfig.DataSourceConfig.DataSourceType.Druid)\n        .url(\"jdbc:mysql://127.0.0.1:3306/test\")\n        .tableNames(new String[]{\"test\"}).build();\n\n        PlusConfig plusConfig = new PlusConfig();\n        plusConfig.setUseCors(true);\n        plusConfig.setUseMybatisPlus(true);\n        plusConfig.setUseExceptionHandler(true);\n        plusConfig.setProjectConfig(projectConfig);\n        plusConfig.setDataSourceConfig(dataSourceConfig);\n\n        projectGenerator.doGenerate(plusConfig);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyhero%2Fspring-boot-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflyhero%2Fspring-boot-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyhero%2Fspring-boot-plus/lists"}