https://github.com/goodmind/protoapp
Generate SPA from ProtoBuf.js
https://github.com/goodmind/protoapp
Last synced: about 1 year ago
JSON representation
Generate SPA from ProtoBuf.js
- Host: GitHub
- URL: https://github.com/goodmind/protoapp
- Owner: goodmind
- License: mit
- Created: 2016-08-11T11:56:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-26T01:00:49.000Z (almost 10 years ago)
- Last Synced: 2025-03-09T14:04:11.351Z (over 1 year ago)
- Language: TypeScript
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Protoapp
[](https://travis-ci.org/goodmind/protoapp)
[](http://standardjs.com/)
[](https://github.com/RichardLitt/standard-readme)
> Generate SPA from ProtoBuf.js
Generate Angular/React application from Google's [Protobuf](https://github.com/google/protobuf)
Just convert `.proto` to `.json` with [protobuf.js](https://github.com/dcodeIO/protobuf.js)
## Install
```sh
$ [sudo] npm i -g protoapp
```
## Usage
Currently only supports Angular 2
```sh
$ protoapp -f proto.json -o src
```
### CLI
[protobuf.js](https://github.com/dcodeIO/protobuf.js) must be installed globally with npm
```sh
$ pbjs ./proto.proto > proto.json
$ protoapp -f proto.json -o src
```
## Contribute
PRs accepted
## License
MIT (c) Goodmind