Volver al ranking

The power of curl, the ease of use of httpie.

curlhttpiewebdevelopmentapi-clientcligodeveloper-toolshttp-clientterminal
Crecimiento de estrellas
Estrellas
3.7k
Forks
114
Crecimiento semanal
Issues
24
1k2k3k
may 2018ene 2021oct 2023jul 2026
ArtefactosGo Modulesgo get github.com/rs/curlie
README

Curlie

If you like the interface of HTTPie but miss the features of curl, curlie is what you are searching for. Curlie is a frontend to curl that adds the ease of use of httpie, without compromising on features and performance. All curl options are exposed with syntax sugar and output formatting inspired from httpie.

Install

Using homebrew:

brew install curlie

Using webi:

# macOS / Linux
curl -sS https://webinstall.dev/curlie | bash
# Windows
curl.exe -A "MS" https://webinstall.dev/curlie | powershell

Using eget:

# Ubuntu/Debian
eget rs/curlie -a deb --to=curlie.deb
sudo dpkg -i curlie.deb

Using macports:

sudo port install curlie

Using pkg:

pkg install curlie

Using go:

go install github.com/rs/curlie@latest

Using scoop:

scoop install curlie

Using mise:

mise use -g curlie@latest

Or download a binary package.

Usage

Synopsis:

curlie [CURL_OPTIONS...] [METHOD] URL [ITEM [ITEM]]

Simple GET:

Simple GET request example

Custom method, headers and JSON data:

Custom PUT request with headers and JSON data example

When running interactively, curlie provides pretty-printed output for json. To force pretty-printed output, pass --pretty.

Build

Build with goreleaser to test that all platforms compile properly.

goreleaser build --clean --snapshot

Or for your current platform only.

goreleaser build --clean --snapshot --single-target

Differences with httpie

  • Like curl but unlike httpie, headers are written on stderr instead of stdout.
  • Output is not buffered, all the formatting is done on the fly so you can easily debug streamed data.
  • Use the --curl option to print executed curl command.

License

All source code is licensed under the MIT License.

Repositorios relacionados
curl/curl

A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, MQTTS, POP3, POP3S, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features

COtherhttphttps
curl.se
42.4k7.3k
chubin/cheat.sh

the only cheat sheet you need

PythonPyPIMIT Licensecheatsheetcurl
cheat.sh
41.6k1.9k
Kong/insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.

TypeScriptnpmApache License 2.0electron-apprest-api
insomnia.rest
39.9k2.4k
httpie/cli

🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

PythonPyPIBSD 3-Clause "New" or "Revised" Licensehttpcli
httpie.io
38.3k4k
binwiederhier/ntfy

Send push notifications to your phone or desktop using PUT/POST

GoGo ModulesApache License 2.0rest-apipubsub
ntfy.sh
32.1k1.4k
chubin/wttr.in

:partly_sunny: The right way to check the weather

GoGo ModulesApache License 2.0weather-informationweather-api
wttr.in
30.2k1.3k
guzzle/guzzle

Guzzle, an extensible PHP HTTP client

PHPPackagistMIT Licenseguzzlepsr-7
23.5k2.4k
Orange-OpenSource/hurl

Hurl, run and test HTTP requests with plain text.

Rustcrates.ioApache License 2.0curlhttp
hurl.dev
19.1k731
asciimoo/wuzz

Interactive cli tool for HTTP inspection

GoGo ModulesGNU Affero General Public License v3.0curlgolang
10.7k412
vi/websocat

Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions

Rustcrates.ioMIT Licensewebsocketswebsocket-server
8.6k326
curlconverter/curlconverter

Transpile curl commands into Python, JavaScript and 27 other languages

TypeScriptnpmMIT Licensecurltree-sitter
curlconverter.com
8.2k1k
ithewei/libhv

🔥 比libevent/libuv/asio更易用的网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket/MQTT/Redis client/server.

CBSD 3-Clause "New" or "Revised" Licensehttpshttp-client
github.com/ithewei/libhv/wiki
7.5k1.4k