| Crates.io | kurl-cli |
| lib.rs | kurl-cli |
| version | 0.1.0 |
| created_at | 2025-07-29 16:31:00.980091+00 |
| updated_at | 2025-07-29 16:31:00.980091+00 |
| description | A curl clone with detailed debugging info, written in Rust. |
| homepage | |
| repository | https://github.com/worktools/kurl-cli |
| max_upload_size | |
| id | 1772519 |
| size | 57,956 |
kurl is a command-line tool inspired by curl, written in Rust. It aims to be compatible with curl's most common flags while providing enhanced, easy-to-read debugging information.
-H)-d)-i)-I)-v, -v -v, -v -v -v)cargo install --path .
kurl [FLAGS] [OPTIONS] <URL>
Simple GET request:
kurl https://httpbin.org/get
Include response headers:
kurl -i https://httpbin.org/get
Fetch headers only (HEAD request):
kurl -I https://httpbin.org/get
POST request with data:
kurl -X POST -d "name=kurl&lang=rust" https://httpbin.org/post
Send custom headers:
kurl -H "X-Custom: Hello" https://httpbin.org/headers
Verbose output for debugging:
Use -v for info, -v -v for debug, and -v -v -v for trace-level output, which includes detailed request and response headers similar to curl -v.
# Level 1: Info
kurl -v https://tiye.me
# Level 2: Debug
kurl -v -v https://tiye.me
# Level 3: Trace (with > < header details)
kurl -v -v -v https://tiye.me
The core logic is built with:
arghreqwestlog + env_loggerMIT. Code mostly rendered by Gemini.