Ruby library to work with HTTP archives
JavaScript Ruby HTML ActionScript CSS
Latest commit fc966a0 Jul 7, 2016 @jarib Remove 1.9.3 support
Failed to load latest commit information.
bin Make sure we read from stdin when only options are given. Feb 16, 2011
.gitignore Add coveralls Feb 6, 2014
.rspec Fixes for 1.8.6 + various cleanup. Jan 9, 2011
.travis.yml Remove 1.9.3 support Jul 7, 2016
Gemfile Initial commit Jan 9, 2011
README.mdown Add badge Feb 6, 2014
Rakefile Add rake dep and default task. Sep 4, 2011
har.gemspec Add coveralls Feb 6, 2014
schema.json Fixing schema - properties are optional by default according to spec. Jan 9, 2011



Ruby library to work with and view HTTP archives. This includes harviewer, which can be launched through the "har" command.

Coverage Status Code Climate Build Status


gem install har


HAR::Archive.from_string(json) #=> #<Har::Archive:0x5e7cac>
HAR::Archive.from_file(path)   #=> #<Har::Archive:0x5e7cac>

Or launch a local harviewer the command line:

har /path/to/some.har

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.


Copyright (c) 2011-2014 Jari Bakken. See LICENSE for details.