a CLI tool that can send HTTP requests with TUI.
- Multiple collections can be created to manage requests.
- Environment variables can be set in .env files.
- Intuitive keyboard only control
$ brew install harehare/tap/restui
$ sbt "graalvm-native-image:packageBin"
$ sbt assembly
$ restui
ResTui v0.1.0 -- ResTui is http request management tool
USAGE
$ restui [(-c, --config file)] [(-e, --env file)]
OPTIONS
(-c, --config file)
An existing file.
This setting is optional. Default: '~/.config/restui/collections.json'.
(-e, --env file)
An existing file.
This setting is optional. Default: 'None'.
Environment variables defined in the .env file can be used to replace request URLs, query parameters, headers, and body values in the form ${ENV}
.
.env files are specified with the --env
or -e
option.
Key | Description |
---|---|
←, ↓, ↑, → | Move |
Ctrl + r | Send |
a | Add |
c | Copy |
e | Edit |
m | Change (Method, Body) |
Ctrl + d | Delete |
d | Duplicate |
s | Save |
Ctrl + r, q | Quit |
You can change the command to use with environment variables.
RESTUI_PBCOPY=pbcopy
RESTUI_EDITOR=vim
MIT