Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MessageUnpack

Simple Chrome extension that decodes MessagePack requests and responses directly in DevTools.

Chrome Manifest V3 No dependencies


What it does

When your app communicates over MessagePack, Chrome's Network tab shows raw binary blobs — unreadable. MessageUnpack adds a dedicated MessageUnpack panel to DevTools that automatically captures those requests, decodes both the request body and the response, and displays them as formatted JSON side by side.

Features

  • Adds a MessageUnpack tab to Chrome DevTools
  • Automatically detects MessagePack traffic by content type (application/x-msgpack, application/msgpack, application/octet-stream) and URL patterns
  • Decodes request and response bodies into readable, syntax-highlighted JSON
  • Side-by-side view: Request on the left, Response on the right
  • Filter requests by URL
  • Resizable panes (both horizontal list/detail split and vertical request/response split)
  • Clear button to reset captured traffic
  • Light and dark theme support (follows system preference)
  • Zero external dependencies — ships its own full MessagePack decoder

MessagePack support

The built-in decoder covers the complete MessagePack spec:

Type Details
Integers fixint, uint8/16/32/64, int8/16/32/64
Floats float32, float64
Strings fixstr, str8/16/32
Binary bin8/16/32 — displayed as hex
Arrays fixarray, array16/32
Maps fixmap, map16/32
Nil / Bool null, true, false
Ext fixext1–16, ext8/16/32 — Timestamp ext decoded to ISO 8601

Installation

The extension is not published to the Chrome Web Store. Load it manually:

  1. Clone or download this repository
  2. Open Chrome and navigate to chrome://extensions/
  3. Enable Developer mode (toggle in the top-right corner)
  4. Click Load unpacked and select the extension/ folder
  5. Open DevTools (F12) on any page — a MessageUnpack tab will appear

Usage

  1. Open DevTools and switch to the MessageUnpack tab
  2. Navigate to or interact with your application
  3. MessagePack requests appear in the list automatically
  4. Click any row to see the decoded request body on the left and the decoded response on the right
  5. Use the filter bar to narrow results by URL
  6. Drag the horizontal divider to resize the request list vs. the detail pane
  7. Drag the vertical divider to adjust the request/response split

Project structure

extension/
├── manifest.json     Chrome extension manifest (MV3)
├── devtools.html     DevTools page entry point
├── devtools.js       Registers the MessageUnpack panel
├── panel.html        Panel markup
├── panel.css         Styles (light + dark theme)
├── panel.js          Capture, decode, and render logic
├── msgpack.js        Self-contained MessagePack decoder
└── icons/            Extension icons (16, 48, 128 px)

License

GNU GPL 3

About

Simple Chrome extension that decodes MessagePack requests and responses

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages