Repository navigation
Releases
Releases · nassendelft/har-viewer
v1.2.0
What's Changed
New Features
- Raw body toggle (
w) in the Request tab for form-encoded bodies — switches between parsed key/value view and the raw URL-encoded text - Line numbers in the response body panel
qkeybinding to quit the application- Image rendering moved into the Body tab — images now display inline instead of in a separate tab
Improvements
- Tab bar styled with bracket notation to match the request window title
- Diagnostics tab and request list panel styling improvements
- Method filtering and resource-type filtering in the request list
- Data URLs truncated to a readable length in request list and details panel
- Query parameters and fragments stripped from URLs in the request list
- Filter logic inverted so no selection shows everything
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
New Features
- Vim-style page scrolling (Ctrl+F / Ctrl+B / Ctrl+D / Ctrl+U) across all panels
- JSON prettify toggle in the response body panel
- Syntax highlighting for HTML/XML, JavaScript, and URL-encoded form bodies
Improvements
- Improved render performance for large response bodies
- Fixed key column width to 25% of panel width with character-level soft-wrap
- Tabs expanded to spaces; fixed MarkupHighlighter whitespace flush
Refactoring
- Extracted
buildRequestPanelandbuildDetailsPanelfrom main - Separated highlighting infrastructure from JSON tokenizer
- Moved highlighter classes into their own
highlight/subdirectory - Refactored
Main.ktinto focused per-panel classes - Replaced specialised row functions with generic
keyValueRows
v1.0.1
Bug fixes
- Fixed parsing of HAR files that omit optional fields (e.g.
timings,postData, or timing sub-fields) — these are now treated as absent rather than causing a parse error.
Full Changelog: v1.0.0...v1.0.1
v1.0.0
har-viewer is a terminal UI for inspecting HAR (HTTP Archive) files — browse requests, inspect headers, view response bodies with JSON syntax highlighting, and analyze timing breakdowns, all from the command line.
Features
- Color-coded methods — GET, POST, PUT, PATCH, DELETE and more are each a distinct color
- Regex filter — press
/to filter requests by URL using a regular expression - Request tab — overview, query parameters, request headers, cookies, and request body
- Resp Headers tab — response status, headers, cookies, and redirect target
- Body tab — response body with JSON syntax highlighting and horizontal scrolling
- Diagnostics tab — visual timing bars for blocked, DNS, connect, SSL, send, wait, and receive phases, plus cache state
Installation
Homebrew (macOS and Linux)
brew tap nassendelft/har-viewer
brew install har-viewerOr download a pre-built binary from the assets below.
Usage
har-view <file.har>