No description
Find a file
2023-01-25 16:32:01 +09:00
.github/workflows chore: remove specific version designation 2023-01-25 16:14:16 +09:00
src chore: remove unused code 2023-01-25 16:20:10 +09:00
.gitignore add binaryfile 2017-12-05 23:34:45 +09:00
Dockerfile change: change docker image.(latest -> 0.19.0-alpine) 2018-12-05 01:11:33 +09:00
httpstat.nimble fix: fix bin 2023-01-08 12:18:21 +09:00
LICENSE chore: Happy New Year 2023-01-25 16:31:36 +09:00
README.md docs: fix badge 2022-09-10 18:54:26 +09:00
Screenshot.png change picture 2017-12-30 01:35:52 +09:00

httpstat

Build Status

image

Requirements

  • curl

Build

nimble build

Install

nimble install

Usage

$ ./httpstat --help

  Usage: httpstat URL [CURL_OPTIONS]
         httpstat -h | --help
         httpstat --version
  Arguments:
    URL     url to request, could be with or without `http(s)://` prefix
  Options:
    CURL_OPTIONS  any curl supported options, except for -w -D -o -S -s,
                  which are already used internally.
    -h --help     show this screen.
    -v --version     show version.
  Environments:
    HTTPSTAT_SHOW_BODY    Set to `true` to show response body in the output,
                          note that body length is limited to 1023 bytes, will be
                          truncated if exceeds. Default is `false`.
    HTTPSTAT_SHOW_IP      By default httpstat shows remote and local IP/port address.
                          Set to `false` to disable this feature. Default is `true`.
    HTTPSTAT_SHOW_SPEED   Set to `true` to show download and upload speed.
                          Default is `false`.
    HTTPSTAT_SAVE_BODY    By default httpstat stores body in a tmp file,
                          set to `false` to disable this feature. Default is `true`
    HTTPSTAT_CURL_BIN     Indicate the curl bin path to use. Default is `curl`
                          from current shell $PATH.

simple :)

$ httpstat https://nim-lang.org/

Implementation

Author

taichi uchihara (@u_chi_ha_ra_)

License

MIT