httpstat

"curl statistics made simple " in Nim

Pure Nim score 17/100 · last commit 2023-01-25 · 12 stars · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Stars 12
Forks 0
Open Issues 1
Last Commit 2023-01-25
Downloads 0
Last Indexed 2026-07-21 05:25

Installation

nimble install httpstat
choosenim install httpstat
git clone https://github.com/ucpr/httpstat

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
httpstat - - - - - - -

Source

Repository https://github.com/ucpr/httpstat
Homepage https://github.com/ucpr/httpstat
Registry Source github

README

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

  • https://github.com/reorx/httpstat
  • https://github.com/davecheney/httpstat
  • https://github.com/yosuke-furukawa/httpstat
  • https://github.com/tcnksm/go-httpstat
  • https://github.com/b4b4r07/httpstat
  • https://github.com/upamune/httpstat

Author

taichi uchihara (@u_chi_ha_ra_)

License

MIT