qustavo/httplab

The interactive web server

Go

4,138

29 commits

updated Feb 5, 2024

See the code

README

HTTPLAB

Build Status Go Report Card PRs Welcome

The interactive web server.

HTTPLabs let you inspect HTTP requests and forge responses.


screencast

Install

Golang

go install github.com/gchaincl/httplab/cmd/httplab@latest

Archlinux

yaourt httplab

Snap FIXME

On systems where snap is supported:

snap install httplab

Binary distribution

Each release provides pre-built binaries for different architectures, you can download them here: https://github.com/gchaincl/httplab/releases/latest

Help

Usage of httplab:
  -a, --auto-update       Auto-updates response when fields change. (default true)
  -b, --body string       Specifies the inital response body. (default "Hello, World")
  -c, --config string     Specifies custom config path.
      --cors              Enable CORS.
      --cors-display      Display CORS requests. (default true)
  -d, --delay int         Specifies the initial response delay in ms.
  -H, --headers strings   Specifies the initial response headers. (default [X-Server:HTTPLab])
  -p, --port int          Specifies the port where HTTPLab will bind to. (default 10080)
  -s, --status string     Specifies the initial response status. (default "200")
  -v, --version           Prints current version.

Key Bindings

KeyDescription
TabNext Input
Shift+TabPrevious Input
Ctrl+aApply Response changes
Ctrl+rResets Request history
Ctrl+sSave Response as
Ctrl+fSave Request as
Ctrl+lToggle Responses list
Ctrl+tToggle Response builder
Ctrl+oOpen Body file
Ctrl+bSwitch Body mode
Ctrl+hToggle Help
Ctrl+wToggle line wrapping
qClose popup
PgUpPrevious Request
PgDownNext Request
Ctrl+cQuit

HTTPLab uses file to store pre-built responses, it will look for a file called .httplab on the current directory if not found it will fallback to $HOME. A sample file can be found here.

HTTPLab is heavily inspired by wuzz

cli
developer-tools
development
golang
http
httplab
inspector
testing
webserver

qustavo/httplab

The interactive web server

Go

4,138

29 commits

updated Feb 5, 2024

See the code

README

HTTPLAB

Build Status Go Report Card PRs Welcome

The interactive web server.

HTTPLabs let you inspect HTTP requests and forge responses.


screencast

Install

Golang

go install github.com/gchaincl/httplab/cmd/httplab@latest

Archlinux

yaourt httplab

Snap FIXME

On systems where snap is supported:

snap install httplab

Binary distribution

Each release provides pre-built binaries for different architectures, you can download them here: https://github.com/gchaincl/httplab/releases/latest

Help

Usage of httplab:
  -a, --auto-update       Auto-updates response when fields change. (default true)
  -b, --body string       Specifies the inital response body. (default "Hello, World")
  -c, --config string     Specifies custom config path.
      --cors              Enable CORS.
      --cors-display      Display CORS requests. (default true)
  -d, --delay int         Specifies the initial response delay in ms.
  -H, --headers strings   Specifies the initial response headers. (default [X-Server:HTTPLab])
  -p, --port int          Specifies the port where HTTPLab will bind to. (default 10080)
  -s, --status string     Specifies the initial response status. (default "200")
  -v, --version           Prints current version.

Key Bindings

KeyDescription
TabNext Input
Shift+TabPrevious Input
Ctrl+aApply Response changes
Ctrl+rResets Request history
Ctrl+sSave Response as
Ctrl+fSave Request as
Ctrl+lToggle Responses list
Ctrl+tToggle Response builder
Ctrl+oOpen Body file
Ctrl+bSwitch Body mode
Ctrl+hToggle Help
Ctrl+wToggle line wrapping
qClose popup
PgUpPrevious Request
PgDownNext Request
Ctrl+cQuit

HTTPLab uses file to store pre-built responses, it will look for a file called .httplab on the current directory if not found it will fallback to $HOME. A sample file can be found here.

HTTPLab is heavily inspired by wuzz

cli
developer-tools
development
golang
http
httplab
inspector
testing
webserver

Project health

Overall

2.1/10

Maintained

0/10

Code review

3/10
OpenSSF Scorecard

Latest release

v0.4.1 · Aug 16, 2018

Releases this year

0

Significant stargazers

(top 24 of 25)

jen20

306 followers · starred Mar 2017

Mihail Stoykov

148 followers · starred Mar 2017

Jimmi Dyson

345 followers · starred Mar 2017

Claudio Bley

46 followers · starred Mar 2018