Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

restish

> 后端框架
Open source

Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in

1.3K stars0 likes3 views
WebsiteGitHub

About

Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in

Restish

Restish is a CLI for working with REST-ish HTTP APIs. It can make generic HTTP requests, discover OpenAPI descriptions, generate API-aware commands, manage profiles and auth, render structured output, follow pagination links, and run plugins.

Restish v2 is the active release line. Users who need the legacy v1 line can install rest-sh/tap/restish@1; see the v1 upgrade guide.

Try It

Make a direct request with no setup beyond installing the CLI:

bash
restish api.rest.sh/types

Then format, filter, and page through real API responses:

bash
restish api.rest.sh/images -o table --rsh-columns name,format,self
restish api.rest.sh/example -f 'body.basics.{name, label, profiles}'

Example table output:

name                       format  self
Dragonfly macro            jpeg    /images/jpeg
Origami under blacklight   webp    /images/webp
Andy Warhol mural in Miami gif     /images/gif

Sponsors

A big thank you to our sponsor!


Install

Use Homebrew for the easiest managed install on macOS:

bash
brew install restish
restish --version

Or use mise:

bash
mise use -g restish@latest
restish --version

Install the latest tagged v2 release from source with Go:

bash
go install github.com/rest-sh/restish/v2/cmd/restish@latest
restish --help

Check restish --version after installation. See the install guide for shell setup, upgrades, and platform notes.

Why Restish?

  • Use one-off HTTP commands with good defaults for headers, content types, retries, caching, TLS, and output.
  • Connect OpenAPI descriptions to get generated API commands, help, profiles, auth, and shell completion.
  • Filter normalized responses with shorthand or jq, then render JSON, YAML, tables, CSV, NDJSON, lines, gron, images, and raw downloads.
  • Follow pagination links and stream API data without writing boilerplate loops.
  • Extend the CLI with plugins for bulk workflows, CSV, MCP, TLS signing, and custom API behavior.

Documentation

  • Documentation Home
  • Tour of Restish
  • Install
  • Connect to an API
  • Authentication
  • Plugins
  • Upgrade From v1

Plugins

Bundled plugins live in this repository and can be built alongside the main CLI:

bash
go build ./cmd/restish-bulk
go build ./cmd/restish-csv
go build ./cmd/restish-mcp
go build ./cmd/restish-pkcs11

Start with Install and Use Plugins or Plugin Quickstart.

Development

Build from this repository when developing Restish itself:

bash
go build ./cmd/restish
./restish --help
./restish api.rest.sh/types

Run the normal development loop with:

bash
go test ./...

Build the CLI and bundled plugins with:

bash
go build ./cmd/restish
go build ./cmd/restish-bulk
go build ./cmd/restish-csv
go build ./cmd/restish-mcp
go build ./cmd/restish-pkcs11

Run the full integration suite before releases or larger CLI/plugin changes:

bash
go test -tags=integration ./...

Development docs:

  • Contributing
  • Development Setup
  • Release Packaging
  • Design Docs
  • Docs Source

License

Restish is released under the MIT License. See LICENSE.md.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goauthauth0brotlicbor

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架