Skip to content

PotentialStyx/pbjs-decompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protobuf.js Decompiler

Important

This program might output an incorrect protobuf file without erroring, if you notice this happening please file an issue.

Note

Precompiled binaries are not yet available, you will need to know how to use cargo to run this project.

Usage

Note

Currently this codebase is hardcoded to decompile the @replit/protocol npm package. Adding functionality to decompile any npm package is a work in progress.

Program to decompile protobuf code generated by protobuf.js

Usage: pbjs-decompiler [OPTIONS]

Options:
  -v, --package-version <PACKAGE_VERSION>  [default: latest]
  -o, --outfile <OUTFILE>                  [default: out.proto]
  -h, --help                               Print help
  -V, --version                            Print version

Basic Usage

Running cargo run -- will decompile the latest version of the @replit/protocol npm package for you and write the output to out.proto

About

Decompiles code generated by protobuf.js

Topics

Resources

License

Stars

Watchers

Forks

Languages