Grpc-web: Code generator: npm CLI package or docker builder image

Created on 7 Nov 2018  路  4Comments  路  Source: grpc/grpc-web

Hi guys,

your project is super!

Do you have any plans on creating some sort of NPM cli package (e.g. grpc-web-cli) that generates the code without cloning the repository and compiling it locally, like e.g. node-sass does it?

So, I can add it to any web project by npm i -D grpc-web-cli and generate the code flawlessly on any physical / virtual machine without any problem.

Another option

The official docker image for generating the code would be also sufficient. E.g.

docker run -v proto:/var/proto grpc/grpc-web-generator

Most helpful comment

@smnbbrv currently you can use as workaround https://github.com/juanjoDiaz/grpc-web-generator docker image

All 4 comments

@smnbbrv currently you can use as workaround https://github.com/juanjoDiaz/grpc-web-generator docker image

would be super if this workarund would be quite official one and mentioned in the README :)

The pre-built binaries for the protoc-gen-grpc-web plugin has been uploaded along with the latest 1.0.3 release. Please check it out.

https://github.com/grpc/grpc-web/releases

Was this page helpful?
0 / 5 - 0 ratings

Related issues

clovis818 picture clovis818  路  4Comments

verihelp-vaibhav picture verihelp-vaibhav  路  5Comments

barrymichaeldoyle picture barrymichaeldoyle  路  4Comments

rogchap picture rogchap  路  6Comments

pumano picture pumano  路  6Comments