Skip to content

alastairp/sharp

Sharp

Simple HAR Peeker

Sharp is a single-file browser tool for inspecting HAR files and highlighting problematic entries. There is nothing to install, it doesn't require a server, and the data stays on your machine.


What

HAR (HTTP Archive) files capture a browser session's network activity. They are a prerequisite for some debugging, but raw HAR files are dense JSON that's painful to read manually; missing the root cause is easy.

Sharp loads a HAR file, parses it, and surfaces the entries that are likely to be problems (errors, slow requests, unexpected status codes, and similar issues) so you can find the cause quickly.

Why

There are plenty of HAR analysis tools out there, but most of them are cloud-hosted services that require uploading your data to someone else's server. HAR files often contain sensitive information: session tokens, authentication headers, personal data, and internal API details. Sharp takes a different approach:

  • Single file. Sharp is one self-contained HTML file (with in-line CSS and JS). You can read every line of it.
  • Self-hostable. Serve it from any static host, an internal server, or just open it directly in your browser from your filesystem.
  • Your data stays yours. All processing happens locally in your browser. Your HAR file is never uploaded anywhere.

Who

Sharp is useful for anyone who needs to make sense of network activity captured in a HAR file:

  • Web developers diagnosing performance issues and failed API calls in their own applications.
  • Support engineers and QA who need to quickly identify likely causes of failure when investigating a bug report.
  • Power users comfortable exporting a HAR file from their browser's DevTools and wanting to understand what's going wrong with a web app they use.

Usage

Sharp is a single HTML file. There's nothing to install.

Open locally: Download index.html and open it in your browser (via File → Open, or by dragging it into a browser tab). Then use the file picker in the UI to load your HAR file.

Self-host: Place index.html on any static file server and navigate to it. This doesn't require application logic on the back-end.

Once the HAR file is loaded, Sharp will parse it and display a summary of problematic entries.

Contributing

See CONTRIBUTING.md.

About

Simple HAR peeker

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors