Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/griggsca91/protodevtools

Chrome extension to decode protobuf messages in your network requests
https://github.com/griggsca91/protodevtools

chrome-extension grpc protobuf

Last synced: 3 months ago
JSON representation

Chrome extension to decode protobuf messages in your network requests

Awesome Lists containing this project

README

        

# Proto DevTools

Chrome Extension to decode protobuf binary in requests and responses

## Features

Attempt to decode protobuf binary in requests and responses from your browser

If you provide a [Buf Image](https://buf.build/docs/reference/images) then it can decode the messages in a much more readable manner

## Install

- Go to your `chrome://extensions/` in your browser
- Click `Load Unpacked`
- Point to the `./dist` folder in the root directory of the project
- Go to a website that sends protobuf messages
- Open your `Developer Tools`
- Look for a tab called `Protobuf Decoder`
- (Optional) if you have a Buf Image, drag and drop it in the panel and it should begin to parse messages automatically

## Screenshots

Example of a protobuf message attempting to be decoded

![protobuf being decoded without an image](./docs/extension_with_protodecoded_without_image.png)

Example of a protobuf message being decoded with a Buf Image

![protobuf being decoded](./docs/extension_with_protodecoded.png)

## Roadmap

- [x] Test with ConnectRPC services
- [ ] Provide a better UI
- [ ] Support compressed messages
- [ ] Upload to chrome store
- [ ] Add proper testing
- [ ] Support errors returned -
- [ ] Display timestamps in a readable format

## ChangeLog

[ChangeLog Format](https://common-changelog.org/)

## Tips

### Creating a Buf Image

Run `buf build --exclude-source-info -o image.pbin` in the directory with your buf

### Creating a file descriptor with protoc

\