fetch

command module
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2026 License: MIT Imports: 17 Imported by: 0

README

fetch

A modern, high-level HTTP(S) client for the command line.

Example of fetch with an image and JSON responses

Features

  • Response formatting - Automatic formatting and syntax highlighting for JSON, XML, HTML, CSS, CSV, MessagePack, Protocol Buffers, and more
  • Image rendering - Display images directly in your terminal
  • gRPC support - Make gRPC calls with automatic JSON-to-protobuf conversion
  • Authentication - Built-in support for Basic Auth, Bearer Token, AWS Signature V4, and mTLS
  • Compression - Automatic gzip and zstd response body decompression
  • Configuration - Global and per-host configuration file support

Quick Start

Install
# Install fetch from shell script
curl -fsSL https://raw.githubusercontent.com/ryanfowler/fetch/main/install.sh | bash

# Or install fetch with Go
go install github.com/ryanfowler/fetch@latest

# Make a request
fetch httpbin.org/json

Documentation

License

fetch is released under the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
aws
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL