https://github.com/leohilbert/fbs2proto
Flatbuffer to Protobuf converter
https://github.com/leohilbert/fbs2proto
fbs flatbuffer protobuf protobuf-converter protoc
Last synced: 21 days ago
JSON representation
Flatbuffer to Protobuf converter
- Host: GitHub
- URL: https://github.com/leohilbert/fbs2proto
- Owner: leohilbert
- License: apache-2.0
- Created: 2019-11-13T16:58:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-24T13:25:10.000Z (about 6 years ago)
- Last Synced: 2024-06-19T11:27:21.903Z (over 1 year ago)
- Topics: fbs, flatbuffer, protobuf, protobuf-converter, protoc
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flatbuffer to Protobuf converter
a simple binary to convert a flatbuffer to a protobuf-file
# This is my very first go-project, so please don't judge! :)
After using flatbuffers for a while now, I want to move back to protobuf.
I haven't found a way to convert them without going through each message individually and since I'm lazy I wanted the computer to do it for me and learn some go in the process.
This will probably not convert everything 100% correctly and you will need to modify a few parts, but it's a start, so you don't have to start from scratch.
# How to use
```go run main.go /path/to/your/fbs/folder```
The script will then search through the folder and all subfolders and create a ".proto"-file for every ".fbs"-file.