Skip to content
/ httpie Public

One of the smallest http servers written in Rust

Notifications You must be signed in to change notification settings

eulmour/httpie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpie

One of the smallest http servers written in Rust

Features

  • Routing system inspired by express
  • Single executable, cross-platform, zero dependencies
  • Configurable via environment variables

Build

Linux, macOS, Windows

cargo build --release

Other linux, CentOS

rustup target add x86_64-unknown-linux-musl
cargo build --release --target x86_64-unknown-linux-musl

Install

cargo install --path .

You can install httpie as system service, follow the relevant instructions on the web

Usage

  • Run at default address 127.0.0.1:8080
httpie
  • Run at user-defined address
httpie -a 0.0.0.0:12345
  • More information
httpie --help