Skip to content

rzhasibuan/TraceAPI

Repository files navigation

TraceAPI

TraceAPI is a Manifest V3 browser extension for inspecting API requests without opening DevTools. It captures fetch and XMLHttpRequest calls from the active tab, displays request and response details in a side panel, formats JSON, generates Go structs, and keeps all captured data local.

Features

  • Start, stop, and clear tab-scoped capture sessions.
  • Inspect method, URL, status, duration, content type, request size, and response size.
  • View request headers, request payload, response headers, and response body.
  • Pretty print, minify, view, and copy JSON responses.
  • Generate Go structs from valid JSON responses.
  • Copy URL, cURL, headers, request body, response body, JSON, and Go structs.
  • Search and filter requests by URL, method, status, headers, body, and MIME type.
  • Mask sensitive headers by default.
  • Local-only processing with no backend service.

Documentation

Quick Start

corepack enable pnpm
pnpm install
pnpm build

Load the generated dist/ folder as an unpacked extension in Chrome. See Install Extension for full steps.

Scripts

  • pnpm dev: run Vite dev server.
  • pnpm lint: run ESLint.
  • pnpm test: run unit tests.
  • pnpm build: type-check and build the extension into dist/.

License

This project is licensed under the MIT License.

About

TraceAPI is a browser extention for inspecting API requests, viewing JSON responses, generating go structs, and copying cURL or payloads without opening DevTools

Topics

Resources

License

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Packages