Welcome to the collection of protobuf definitions used across Shipthis services. These files generate language specific libraries for seamless communication between microservices.
- protobuf/ – Source
.proto
files defining gRPC services - go/ – Generated Go bindings
- scripts/ – Helpers to build Python and JavaScript packages
npm install jsshipproto
pip install git+https://github.com/shipthisco/gRPC-protobuf.git
To generate the JavaScript package locally, ensure grpc_tools_node_protoc
is available globally or let the script fetch it with npx
:
npm install -g grpc-tools # optional
node scripts/javascript/generate_lib.js <version>
# The script will use `npx -p grpc-tools` automatically if the tool isn't installed.
# Generated stubs rely on `@grpc/grpc-js` as the runtime implementation.
For Python packages run:
python scripts/python/generate_lib.py <version>
- Authentication
- Generic CRUD operations
- Code execution
We welcome contributions! Please read CONTRIBUTING.md and follow our Code of Conduct.
This project is licensed under the MIT License.