Skip to content

Repository files navigation

JSON Inspector

中文说明

A small Manifest V3 browser extension for inspecting raw JSON documents with visual-json.

It replaces plain JSON pages with a structured viewer, keeps the original URL visible, and provides a compact raw-text fallback when needed. The project is intended for personal or internal use rather than store distribution.

Screenshot

Highlights

  • Read JSON documents in a structured tree view
  • Switch between tree and raw modes
  • Copy the original payload directly from the page
  • Works with remote .json URLs and local files when file access is enabled
  • Built on top of @visual-json/react and @visual-json/core

Installation

Load as an unpacked extension

  1. Install dependencies:
bun install
  1. Build the extension:
bun run build
  1. Open your browser extension page:
  • Chrome: chrome://extensions
  • Edge: edge://extensions
  1. Enable developer mode.

  2. Choose Load unpacked and select dist.

Local file access

If you want the extension to work with local file:// JSON files, enable the browser option usually labeled Allow access to file URLs on the extension details page.

Development

bun install
bun run dev

tsdown writes the content script bundle to dist/. After rebuilding, reload the unpacked extension from the browser extension page.

Project Structure

Notes

  • The extension only activates on pages that appear to contain JSON.
  • The current workflow is based on unpacked local installation.
  • No background service or remote backend is required.

License

MIT

About

A small browser extension for inspecting raw JSON documents with visual-json.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages