Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/janodvarko/harviewer

HAR Viewer is a web application that allows visualizing HTTP Archive logs (HARs)
https://github.com/janodvarko/harviewer

Last synced: 15 days ago
JSON representation

HAR Viewer is a web application that allows visualizing HTTP Archive logs (HARs)

Awesome Lists containing this project

README

        

Stable URL (v2.0.17, 21 March 2016) - http://www.softwareishard.com/har/viewer/

Up-to-date master - http://gitgrimbo.github.io/harviewer/master/ (and [https](https://gitgrimbo.github.io/harviewer/master/))

# HAR Viewer

* Author: Jan Odvarko, [email protected]
* http://www.softwareishard.com/
* Issue list: https://github.com/janodvarko/harviewer/issues
* Project home: https://github.com/janodvarko/harviewer

## License

HAR Viewer is free and open source software distributed under the [BSD License](https://github.com/janodvarko/harviewer/blob/master/webapp/license.txt).

## Components

* RequireJS: http://requirejs.org/
* jQuery: http://jquery.com/
* jQuery JSON plugin: Jim Dalton ([email protected]), based on http://www.JSON.org/json2.js
* Domplate + Domplate based templates: http://getfirebug.com
* Downloadify: http://github.com/dcneiner/Downloadify/
* SWFObject 2.0: http://code.google.com/p/swfobject/
* Syntax highlighting: https://highlightjs.org/
* JSON Query: https://github.com/JasonSmith/jsonquery, http://www.sitepen.com/blog/2008/07/16/jsonquery-data-querying-beyond-jsonpath/

## Build Tools

* JSDoc: http://usejsdoc.org/
* Node.js: https://nodejs.org/
* ESLint: http://eslint.org/

## Testing

* Selenium: http://seleniumhq.org/
* Intern: https://theintern.io/ (see [tests](tests/))

## Development

The HAR Viewer build process uses `Node.js` and `npm` as its build tools.

Firstly, run `npm install` from the command line to install the `Node.js`/`npm` dependencies.

### Linting

HAR Viewer uses [ESLint](http://eslint.org/) for linting. It will be installed when you run `npm install` from the project root.

To show lint errors only:

npm run eslint

To show lint errors and warnings:

npm run eslint-full

### Running

To run HAR Viewer, run:

npm start

and browse to http://localhost:49001/webapp/.

`npm start` will start an [`express`](https://expressjs.com/) server that is setup to be able to serve the necessary resources for the functional tests. `express` is not necessary to serve HAR Viewer, any web server able to serve static files will do.

### Build

Go to the project directory and execute the following command:

`npm run clean-build`

(*Indicative build time - about 12 seconds. Node.js v10.2.1*)

To run the built HAR Viewer, run

npm start

and browse to http://localhost:49001/webapp-build/ after a build.

### JSDoc

Go to the project directory and execute the following command:

`npm run jsdoc`

### Version and Google Analytics

Use the `build.json` file to set the version and Google Analytics profile.