Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davecheney/httpstat
It's like curl -v, with colours.
https://github.com/davecheney/httpstat
Last synced: 2 months ago
JSON representation
It's like curl -v, with colours.
- Host: GitHub
- URL: https://github.com/davecheney/httpstat
- Owner: davecheney
- License: mit
- Created: 2016-09-23T09:40:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-17T11:28:03.000Z (8 months ago)
- Last Synced: 2024-01-23T04:18:00.654Z (5 months ago)
- Language: Go
- Homepage:
- Size: 10.2 MB
- Stars: 6,439
- Watchers: 112
- Forks: 386
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-stars - davecheney/httpstat - It's like curl -v, with colours. (Go)
- awesome-discoveries - httpstat - like curl -v with colours _(`Go`)_ (CLI Utilities)
- awesome-stars - httpstat - v, with colours. | davecheney | 6158 | (Go)
- awesome-stars-eryajf - davecheney/httpstat - It's like curl -v, with colours. (Go)
- awesome-stars - davecheney/httpstat - It's like curl -v, with colours. (Go)
- go-awesome - httpstat
- awesome-stars - davecheney/httpstat - It's like curl -v, with colours. (Go)
- awesome-repositories - davecheney/httpstat - It's like curl -v, with colours. (Go)
- awesome-stars - davecheney/httpstat - It's like curl -v, with colours. (Go)
- awesome-stars - davecheney/httpstat - It's like curl -v, with colours. (Go)
- awesome-stars - davecheney/httpstat - It's like curl -v, with colours. (Go)
- awesome-stars - davecheney/httpstat - It's like curl -v, with colours. (Go)
- awesome-stars - davecheney/httpstat - It's like curl -v, with colours. (Go)
- awesome-stars - davecheney/httpstat - It's like curl -v, with colours. (Go)
- awesome-stars - davecheney/httpstat - v, with colours. | (Go)
- starred-awesome - httpstat - It's like curl -v, with colours. (Go)
- awesome-star - davecheney/httpstat - v, with colours. (Misc)
- go-awesome - httpstat
- awesome-stars - davecheney/httpstat - It's like curl -v, with colours. (Go)
- my-awesome - davecheney/httpstat - 10 star:6.5k fork:0.4k It's like curl -v, with colours. (Go)
- awesome-stars - httpstat - v, with colours. | davecheney | 6551 | (Go)
- my-stars - davecheney/httpstat - It's like curl -v, with colours. (Go)
- go-awesome - httpstat
- my-awesome-stars - davecheney/httpstat - It's like curl -v, with colours. (Go)
- awesome-stars - httpstat - v, with colours. | davecheney | 6803 | (Go)
- awesome-stars - davecheney/httpstat - `★6552` It's like curl -v, with colours. (Go)
- awesome-ops - davecheney/httpstat - 09-23|2023-10-17 | 显示 HTTP 请求链路详情的工具,便于我们看到请求耗时在什么地方 | (终端命令行工具)
- awesome-fancy-toolkit - Http/Https请求工具, 类似curl -v, httpstat
README
# httpstat [![Build Status](https://github.com/davecheney/httpstat/actions/workflows/push.yml/badge.svg)](https://github.com/davecheney/httpstat/actions/workflows/push.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/davecheney/httpstat)](https://goreportcard.com/report/github.com/davecheney/httpstat)
![Shameless](./screenshot.png)
Imitation is the sincerest form of flattery.
But seriously, https://github.com/reorx/httpstat is the new hotness, and this is a shameless rip off.
## Installation
`httpstat` requires Go 1.20 or later.
```
$ go install github.com/davecheney/httpstat@latest
```## Usage
```
$ httpstat https://example.com/
```
## Features- Windows/BSD/Linux supported.
- HTTP and HTTPS are supported, for self signed certificates use `-k`.
- Skip timing the body of a response with `-I`.
- Follow 30x redirects with `-L`.
- Change HTTP method with `-X METHOD`.
- Provide a `PUT` or `POST` request body with `-d string`. To supply the `PUT` or `POST` body as a file, use `-d @filename`.
- Add extra request headers with `-H 'Name: value'`.
- The response body is usually discarded, you can use `-o filename` to save it to a file, or `-O` to save it to the file name suggested by the server.
- HTTP/HTTPS proxies supported via the usual `HTTP_PROXY`/`HTTPS_PROXY` env vars (as well as lower case variants).
- Supply your own client side certificate with `-E cert.pem`.## Contributing
Bug reports are most welcome, but with the exception of #5, this project is closed.
Pull requests must include a `fixes #NNN` or `updates #NNN` comment.
Please discuss your design on the accompanying issue before submitting a pull request. If there is no suitable issue, please open one to discuss the feature before slinging code. Thank you.