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.

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

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs