Please read How do we customize HAR Viewer / Waterfall? before making changes to this repo. We do not have an official deploy process for this repo, and since this code will not be used in o11y, it is probably easier to make changes in my.rigor.com
instead.
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)
- Author: Jan Odvarko, [email protected]
- http://www.softwareishard.com/
- Issue list: https://github.com/janodvarko/harviewer/issues
- Project home: https://github.com/janodvarko/harviewer
HAR Viewer is free and open source software distributed under the BSD License.
- 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/
- JSDoc: http://usejsdoc.org/
- Node.js: https://nodejs.org/
- ESLint: http://eslint.org/
- Selenium: http://seleniumhq.org/
- Intern: https://theintern.io/ (see tests)
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.
HAR Viewer uses ESLint 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
To run HAR Viewer, run:
npm start
and browse to http://localhost:49001/webapp/.
npm start
will start an express
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.
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.
Go to the project directory and execute the following command:
npm run jsdoc
Use the build.json
file to set the version and Google Analytics profile.