v0.4.0

Serve files.
Route traffic.

A web server, reverse proxy, and load balancer written in Rust. Serve your site from disk and route API requests to healthy backends.

Request flowlocalhost:8080
Japka routes two example HTTP requestsA home page request reads a file. An API request goes to one of two application backends. GET / GET /api/items Browser Japka public/index.html Backend pool App A App B
Highlight an example request
GET / serves a file from disk.

Run Japka locally.

Serve a page on your machine and check the response. Choose Cargo for a native install or Docker for the bundled sample site.

Deploy to Kubernetes
Quickstart

Use a stable Rust toolchain and a POSIX shell. See the native build prerequisites.

cargo install --locked japka
export DOCUMENT_ROOT="$(mktemp -d)"
echo "Hello from Japka" > "$DOCUMENT_ROOT/index.html"
japka config test && japka

Check from a second terminal

curl --fail http://127.0.0.1:8080/
Expected responseHello from Japka

Operator guides.

Configure what Japka serves and follow a change from review to rollout.

All documentation