har-viewer

Version, currently master branch1 version
  • master branchlatestJul 5, 2019

github.com/weaming/har-viewer

Service to render HAR format as html

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  har-viewer:
    github: weaming/har-viewer
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.28.0
License
MIT
Author
weaming
Target
  • har-viewer from src/har_viewer.cr

Dependencies

Runtime Dependencies

  • har*github: NeuraLegion/har
  • kilt*github: jeromegn/kilt
  • kemal*github: kemalcr/kemal
  • slang*github: jeromegn/slang

README

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