Skip to content

Local ServerLightweight HTTP File Server

A fast, simple file server written in Zig

Local Server

Quick Start

bash
# Build the project
zig build

# Serve current directory
./zig-out/bin/zserve --root . --port 8080

Open your browser to http://localhost:8080.

Why Local Server?

  • Zero dependencies - Single binary, no runtime required
  • Cross-platform - Works on Windows, macOS, and Linux
  • Simple to use - One command to start serving files
  • Production ready - Handles concurrent connections efficiently

Released under the MIT License.