1 unstable release
Uses old Rust 2015
0.1.0 | Apr 2, 2018 |
---|
#268 in #parallel
17KB
311 lines
httpbox
httpbox
is a Command line HTTP client that aims to be as feature rich as your shell scripting skills can handle.
WARNING: This is me, finally finding the time to learn a bit of Rust and Rust-best-practices. If I'm doing anything wrong, please make sure you yell at me... gently. :)
Releases
In addition to be able to compile it yourself (see "How to build" section below), releases are also provided for:
- Linux GNU 32bit and 64bit
- Mac OS X 32bit and 64bit
- Windows GNU 32bit and 64bit
Just check out /releases for the latest binaries.
TODO features list
verbosity controlquiet mode (nothing written on STD_OUT if there are no errors)help and version flagsmeta information for --help coming from Cargo.toml (i.e. single source for binary metadata)support for all http methodsdefault output to stdoutable to output to a given file- disable gzip
- provide customer root certificate
- provide headers
- provide User Agent (specialized header)
- provide Cookies (specialized header)
- provide User Agent strings shorthands (i.e. 'macosx-chrome-60' or 'windows-edge')
- multiple concurrent requests to download a file (if supported by target server)
- determine max redirection
- use IPv4 protocol (default)
- use IPv6 protocol
- skip HTTPS certificate verification
- skip download if output file already exists
- proxy configuration
- timeouts (connection / read)
- progress indicator (none, simple, advanced)
- search for mirros (RESEARCH: how do other clients like 'axel' do this?)
How to build
There is nothing special in how to compile httpbox
compared to any other Rust binary:
- Install rustup
git clone git@github.com:detro/httpbox.git
cd httpbox
cargo build
orcargo build --release
(for the release artifact, duh!)- Binary will be in
target/(debug|release)/httpbox
License
Dependencies
~15–25MB
~425K SLoC