Sponge: Go "low-code" framework, N times more efficient than traditional RESTFul API/microservice development!
Sponge is a powerful Go
development framework. Its core concept revolves around reverse-engineering modular code by parsing SQL
, Protobuf
, and JSON
files. The generated code can be flexibly and seamlessly assembled into various types of complete backend services (similar to the characteristics of sponge cells, where disassembled sponge cells can automatically recombine into a new sponge
).
Sponge provides an all-in-one solution for project development with outstanding engineering capabilities, covering code generation, development, testing, API documentation, and deployment, significantly enhancing development efficiency, reducing complexity, and enabling high-quality projects with a "low-code approach".
Github repository: https://github.com/go-dev-frame/sponge
Applicable scenarios
Sponge is suitable for quickly developing various high-performance backend services, including but not limited to:
RESTful API services (gin);
gRPC
services;HTTP+gRPC
hybrid services;gRPC Gateway API
services;cloud-native microservices.
Additionally, developers can use custom templates to generate various types of code to meet specific business needs.
Core Highlights
One-click generation of complete backend service code
ForWeb
orgRPC
services that only requireCRUD APIs
, noGo
code needs to be written. Simply connect to a database (e.g.,MySQL
,MongoDB
,PostgreSQL
,SQLite
) to one-click generate complete backend service code and easily deploy it to Linux servers, Docker, or Kubernetes.Efficient development of general-purpose services
When developing general-purposeWeb
,gRPC
,HTTP+gRPC
, orgRPC Gateway
services, you only need to focus on three aspects:Defining database tables;
Defining API descriptions in Protobuf files;
Writing business logic code in the generated templates.
The framework code and CRUD API code are all automatically generated by sponge.
Support for custom templates, offering flexible extensibility
Sponge supports generating various types of project-specific code using custom templates, not limited to theGo
language. For example:Backend code;
Frontend code;
Configuration files;
Test code;
Build and deployment scripts, etc.
Generate code on the page, simple and easy to use
Sponge allows code generation directly on the page, making it simpler and more user-friendly than using the command line. You only need to fill in the relevant parameters on the page to generate code with one click.Built-in AI assistant generates business logic implementation code
Sponge comes with a built-in AI assistant (ChatGPT and DeepSeek), combining the strengths of both to form a comprehensive and efficient development solution:Sponge: Handles infrastructure code generation (service framework, CRUD API interfaces, and custom API interfaces without business logic implementation).
DeepSeek or ChatGPT: Focuses on business logic implementation (table structure DDL design, custom API interface definition, and business logic implementation code).
Quick Start
Install sponge
Sponge supports installation on Windows, macOS, and Linux. Click to view the sponge installation guide.
Open the code generation UI
After installation, run the following command to open the sponge UI:
sponge run
Access
http://localhost:24631
in a local browser to generate code through the UI interface, as shown below: