MCPcopy Index your code
hub / github.com/asciimoo/wuzz

github.com/asciimoo/wuzz @v0.5.0 sqlite

repository ↗ · DeepWiki ↗ · release v0.5.0 ↗
114 symbols 271 edges 12 files 6 documented · 5%
README

wuzz

Interactive cli tool for HTTP inspection.

Wuzz command line arguments are similar to cURL's arguments, so it can be used to inspect/modify requests copied from the browser's network inspector with the "copy as cURL" feature.

wuzz screencast

Installation and usage

$ go get github.com/asciimoo/wuzz
$ "$GOPATH/bin/wuzz" --help

Note: golang >= 1.10 required.

Binary releases are also available.

Configuration

It is possible to override default settings in a configuration file. The default location is "$XDG_CONFIG_HOME/wuzz/config.toml"on linux and ~/.wuzz/config.toml on other platforms. -c/--config switches can be used to load config file from custom location.

See example configuration for more details.

Commands

Keybinding Description
F1 Display help
Ctrl+R Send request
Ret Send request (only from URL view)
Ctrl+S Save response
Ctrl+E Save request
Ctrl+F Load request
Ctrl+C Quit
Ctrl+K, Shift+Tab Previous view
Ctlr+J, Tab Next view
Ctlr+T Toggle context specific search
Alt+H Toggle history
Down Move down one view line
Up Move up one view line
Page down Move down one view page
Page up Move up one view page
F2 Jump to URL
F3 Jump to query parameters
F4 Jump to HTTP method
F5 Jump to request body
F6 Jump to headers
F7 Jump to search
F8 Jump to response headers
F9 Jump to response body
F11 Redirects Restriction Mode

Context specific search

Wuzz accepts regular expressions by default to filter response body. Custom query syntax can be toggled by pressing Ctrl+T. The following formats have context specific search syntax:

Response format Query syntax
HTML https://github.com/PuerkitoBio/goquery
JSON https://github.com/tidwall/gjson

TODO

  • Better navigation
  • Autocompletion
  • Tests

Bugs / Suggestions

Bugs or suggestions? Visit the issue tracker or join #wuzz on freenode

Extension points exported contracts — how you extend this code

ResponseFormatter (Interface)
(no doc) [2 implementers]
formatter/formatter.go
CommandFunc (FuncType)
(no doc)
commands.go

Core symbols most depended-on inside this repo

setViewTextAndCursor
called by 23
wuzz.go
getViewValue
called by 19
wuzz.go
Update
called by 15
status-line.go
New
called by 14
formatter/formatter.go
closePopup
called by 12
wuzz.go
Format
called by 11
formatter/formatter.go
Edit
called by 6
wuzz.go
CreatePopupView
called by 6
wuzz.go

Shape

Method 55
Function 39
Struct 18
FuncType 1
Interface 1

Languages

Go100%

Modules by API surface

wuzz.go58 symbols
commands.go11 symbols
status-line.go10 symbols
config/config.go7 symbols
formatter/formatter.go6 symbols
formatter/text.go5 symbols
formatter/binary.go5 symbols
formatter/json.go4 symbols
formatter/html.go4 symbols
formatter/formatter_test.go4 symbols

Dependencies from manifests, versioned

github.com/alessio/shellescapev1.2.2 · 1×
github.com/andybalholm/cascadiav1.2.0 · 1×
github.com/mattn/go-colorablev0.1.6 · 1×
github.com/mattn/go-runewidthv0.0.9 · 1×
github.com/mitchellh/go-homedirv1.1.0 · 1×
github.com/nsf/termbox-gov0.0.0-2020041804002 · 1×
github.com/nwidger/jsoncolorv0.3.0 · 1×
github.com/tidwall/prettyv1.0.1 · 1×

For agents

$ claude mcp add wuzz \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact