Skip to content

weaming/har-viewer

Repository files navigation

har-viewer

Service to render HAR as html.

Example project to learn crystal language. The size of --release version compiled executable is only 1.4M on OSX! That's awesome!

Click the key-value buttons to copy the inner text!

Install

  • brew install crystal
  • git clone https://github.com/weaming/har-viewer && cd har-viewer
  • shards build -v --release && mv ./bin/har-viewer /usr/local/bin or make install

Usage

har-viewer (<path-of-har> [<html-output-path>])|(<command> [<options>])

modes
    render one .har file
        <path-of-har> [<html-output-path>]  : default write to stdout
    commands
        serve <port>  : serve http

About .har

Contributing

  1. Fork it (https://github.com/weaming/har-viewer/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Rebuild automatically after code saved
    1. brew install watchexec
    2. make watch
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request

Contributors

About

Service to render HAR format as html

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published