|
15 | 15 |
|
16 | 16 | </div> |
17 | 17 |
|
| 18 | +--- |
| 19 | + |
18 | 20 | <br> |
19 | 21 |
|
20 | 22 | ### Introduction |
21 | 23 |
|
22 | | -**Sponge** is a powerful and easy-to-use Go development framework. It integrates **automatic code generation**, **Web frameworks (Gin)**, and **microservice frameworks (gRPC)**, covering the full lifecycle from project generation, development, and testing to API documentation and deployment. |
| 24 | +**Sponge** is a powerful and easy-to-use **Go development framework**. Built on the core philosophy of **"Definition is Code"**, it aims to reshape the backend development experience through automatic generation technology, unleashing productivity and boosting development efficiency. |
| 25 | + |
| 26 | +Sponge deeply integrates a **code generation engine**, **Gin (Web framework)**, and **gRPC (microservice framework)**, covering the full software lifecycle from project generation, development, and testing to API documentation and deployment. |
23 | 27 |
|
24 | | -Sponge's core philosophy is **"Definition is Code"**. By parsing SQL, Protobuf, and JSON configuration files, it generates modular backend service code. You can flexibly combine these code modules like building blocks to quickly construct various backend systems ranging from monolithic applications to microservice clusters (including RESTful API, gRPC, HTTP+gRPC, gRPC Gateway, etc.). |
| 28 | +**Core Features:** |
25 | 29 |
|
26 | | -Sponge aims to improve the development efficiency and code quality of backend services. Through a **low-code** approach, it helps developers completely eliminate tedious repetitive work (such as CRUD, routing configuration, and project structure setup), allowing them to focus on the implementation of core business logic. |
| 30 | +* **Definition-Driven Development**: Automatically parses SQL, Protobuf, and JSON configuration files to generate high-quality modular code. |
| 31 | +* **LEGO-style Assembly**: Flexibly combines code modules in a loosely coupled manner, supporting the rapid construction of **monolithic applications**, **microservice clusters**, and **gateway services**, including `RESTful API`, `gRPC`, `HTTP+gRPC`, `gRPC Gateway`, etc. |
| 32 | +* **Low Code, High Efficiency**: Completely eliminates tedious repetitive work such as CRUD, routing configuration, and service governance. Developers only need to focus on core business logic to deliver standardized, high-quality backend services. |
27 | 33 |
|
28 | 34 | <br> |
29 | 35 |
|
30 | 36 | ### Why Choose Sponge? |
31 | 37 |
|
32 | | -- **Extreme Development Efficiency**: Automatically generates CRUD APIs, project scaffolding, and extensive boilerplate code, letting developers say goodbye to repetitive labor. |
33 | | -- **Out of the Box**: Provides a complete development toolchain (Generate → Develop → Test → Deploy → Monitor), eliminating the need to piece together fragmented tools. |
| 38 | +- **Extreme Development Efficiency**: One-click generation of complete, production-ready backend services (Zero-Code), including CRUD, routing, documentation, and service framework code, multiplying development efficiency. |
| 39 | +- **Out-of-the-box Toolchain**: Provides a complete development toolchain (Generation → Business Logic → Testing → Deployment → Monitoring), eliminating the need to piece together fragmented tools. |
34 | 40 | - **Industry Best Practices**: Built on the mainstream Go community tech stack (Gin/GORM/gRPC/Protobuf, etc.), with a standardized architecture to reduce technology selection risks. |
35 | | -* **Flexible and Extensible**: Supports custom templates, not limited to Go; can extend to generate frontend code, test scripts, and arbitrary code. |
36 | | -- **Gentle Learning Curve**: Low entry barrier and easy to get started. |
37 | | -- **Suitable for Team Collaboration**: Unified project structure improves team collaboration efficiency and code maintainability. |
38 | | -- **Fusion of Low-Code and AI**: |
39 | | - - **Sponge** handles the generation of standardized infrastructure code (APIs, data layer, service frameworks). |
40 | | - - **AI Models** perceive the project context and assist in generating core business logic, achieving "Automated Infrastructure, Intelligent Business". |
41 | | - |
42 | | -<br> |
43 | | - |
44 | | -### Key Features |
45 | | - |
46 | | -<details> |
47 | | -<summary> <b>One-click Generation of Complete Backend Services (Zero-Code).</b> </summary> |
48 | | - |
49 | | -> For scenarios requiring only basic `CRUD` capabilities (Web, gRPC, or HTTP+gRPC), **no Go code needs to be written**. simply connect to a database (MySQL, MongoDB, PostgreSQL, SQLite) to generate a complete backend service with one click, supporting direct deployment to Linux, Docker, or Kubernetes. |
50 | | -</details> |
51 | | -
|
52 | | -<details> |
53 | | -<summary> <b>Protocol-Driven Development for General Backend Services, from Definition to Implementation in One Step.</b> </summary> |
54 | | - |
55 | | -> For general `Web`, `gRPC`, `HTTP+gRPC`, or `gRPC Gateway` services, a standardized development process is adopted: |
56 | | -> 1. **Define Data**: Design SQL DDL. |
57 | | -> 2. **Define Interface**: Write Protobuf IDL. |
58 | | -> 3. **Generate Code**: Sponge automatically generates CRUD, routing, documentation, and glue code. |
59 | | -> 4. **Fill Business**: Use Sponge's built-in AI model or manually complete the core logic. |
60 | | -
|
61 | | -</details> |
62 | | - |
63 | | -<details> |
64 | | -<summary> <b>Visual Code Generation, Simple and Easy to Use.</b> </summary> |
65 | | - |
66 | | -> Say goodbye to complex command-line arguments. Sponge provides an intuitive Web UI, allowing you to complete code generation through simple form configurations, lowering the barrier to entry. |
67 | | -</details> |
68 | | -
|
69 | | -<details> |
70 | | -<summary> <b>AI Collaborative Development.</b> </summary> |
71 | | - |
72 | | -> Sponge integrates with AI models like DeepSeek, ChatGPT, and Gemini. Sponge handles the tedious engineering structure and standardized code, while the AI model focuses on understanding requirements and generating specific business logic code, significantly improving code consistency and R&D speed. |
73 | | -
|
74 | | -</details> |
75 | | - |
76 | | -<details> |
77 | | -<summary> <b>Support for Custom Templates, Flexible Extension.</b> </summary> |
78 | | - |
79 | | -> Not limited to the Go language, you can generate frontend code, test scripts, CI/CD configurations, and any text file through custom templates to meet specific team engineering needs. |
80 | | -
|
81 | | -</details> |
| 41 | +- **Extremely Low Learning Curve**: Easy to get started and beginner-friendly, while also meeting the customization needs of senior developers. |
| 42 | +- **Ideal for Team Collaboration**: Unifies project structure, improving team collaboration efficiency and code maintainability. |
| 43 | +* **Flexible and Extensible**: Supports custom templates, not limited to Go; capable of extending to frontend, test scripts, and other arbitrary code generation. |
| 44 | +- **AI-Driven Development (AI-Native)**: |
| 45 | + - **Sponge:** automatically builds standardized infrastructure (API, data layer, service framework). |
| 46 | + - **AI Assistant:** analyzes project context and generates code intelligently fill in core business logic based on project context, achieving "Infrastructure Automation, Business Intelligence". |
82 | 47 |
|
83 | 48 | <br> |
84 | 49 |
|
85 | 50 | ### Applicable Scenarios |
86 | 51 |
|
87 | 52 | Sponge is suitable for building high-performance, maintainable backend systems, specifically for: |
88 | 53 |
|
89 | | -- **Rapid development of RESTful API services** |
90 | | -- **Building large-scale microservice architectures** |
91 | | -- **Cloud-native application development** |
92 | | -- **Rapid refactoring and migration of legacy projects** |
93 | | -- **Standardized engineering templates for Go beginners or teams** |
| 54 | +- **Rapid development of RESTful API services.** |
| 55 | +- **Building large-scale microservice architectures.** |
| 56 | +- **Cloud-native application development.** |
| 57 | +- **Rapid refactoring and migration of legacy projects.** |
| 58 | +- **Standardized engineering templates for Go beginners or teams.** |
94 | 59 |
|
95 | 60 | <br> |
96 | 61 |
|
@@ -133,13 +98,14 @@ No installation required, experience the code generation feature directly in you |
133 | 98 |
|
134 | 99 | Sponge follows the "batteries included" principle, integrating 30+ mainstream Go ecosystem components, loaded on demand: |
135 | 100 |
|
136 | | -| Category | Component | |
137 | | -| :--- |:------------------------------------------------------| |
138 | | -| **Frameworks** | Gin, gRPC | |
139 | | -| **Database** | GORM (MySQL, PostgreSQL, SQLite, etc.), MongoDB | |
140 | | -| **Cache/Messaging** | Redis, Kafka, RabbitMQ | |
141 | | -| **Service Governance** | Etcd, Consul, Nacos, Jaeger, Prometheus, OpenTelemetry | |
142 | | -| **Others** | DTM (Distributed Transaction), WebSocket, Swagger, PProf | |
| 101 | +| Category | Component | |
| 102 | +|:-----------------------|:---------------------------------------------------------| |
| 103 | +| **Frameworks** | Gin, gRPC | |
| 104 | +| **Database** | GORM (MySQL, PostgreSQL, SQLite, etc.), MongoDB | |
| 105 | +| **Cache/Messaging** | Redis, Kafka, RabbitMQ | |
| 106 | +| **Service Governance** | Etcd, Consul, Nacos, Jaeger, Prometheus, OpenTelemetry | |
| 107 | +| **Others** | DTM (Distributed Transaction), WebSocket, Swagger, PProf | |
| 108 | +| ... | ... | |
143 | 109 |
|
144 | 110 | 👉 [**View the complete list of tech stacks and components**](https://go-sponge.com/component/). |
145 | 111 |
|
|
0 commit comments