DEV Community

likezhang-public
likezhang-public

Posted on

2 2

SkemaBuild: Make gRPC Development Faster and Easier

https://github.com/skema-dev/skemabuild

I just finished the preview version for a toolkit to generate grpc service code (with grpc-gateway) from protobuf file AUTOMATICALLY.

Well, in some sense, it's close to what Buf wants to do, but in a simpler way (in my opinion). You don't need the buf.yaml file, and you can use whatever git repo (github/gitlab/bitbucket/your own git server) to host your proto files (this is very important for proto management, and it's actually why I started making this tool).

Further than just a protobuf stubs automation and management tool, it provides service code generating based on another framework https://github.com/skema-dev/skema-go. So the tool is fundamentally a scaffolding toolkit for stubs and codes. All you need to do is 4 steps in your terminal. For example:
`
skbuild api init --package=org.test --service=Hello

skbuild api create -i ./Hello.proto -o ./temp --go_option ""

skbuild api publish -s ./temp -u stub --version v1.0.0

skbuild service create -p

`
Feel free to try out if interested. I'll be very appreciated if you leave any thought in the github discussion board.

Image of Docusign

Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay