A fast, production-ready static web server with TLS, routing, hot reloading, caching, and templating in a single binary.
Binserve is a high-performance static web server designed for self-hosters, packaged as a single, portable binary. It serves static files and supports dynamic templating with zero-code setup, prioritizing ease of use, security, and performance through in-memory caching and a Rust-based architecture. It solves the need for a lightweight, production-ready server that is simple to configure and deploy across various platforms.
Self-hosters and developers who need a fast, secure, and easy-to-configure static web server for personal projects, blogs, or static sites generated by tools like Hugo, Jekyll, or Zola. It is also suitable for those deploying on resource-constrained devices like Raspberry Pi or Android phones.
Developers choose Binserve for its combination of performance, portability, and simplicity—offering built-in TLS, hot reloading, and templating in a single binary with no dependencies. Its unique selling point is the zero-code configuration via a JSON file and efficient in-memory caching that minimizes disk I/O, making it faster than many alternatives.
A fast production-ready static web server with TLS (HTTPS), routing, hot reloading, caching, templating, and security in a single-binary you can set up with zero code.
Leverages Actix-Web, one of the fastest web frameworks, and DashMap for in-memory caching to minimize disk I/O, with benchmarks showing high throughput and low latency.
Single binary runs on Windows, Linux, macOS, Android, and Raspberry Pi with no dependencies, demonstrated by gifs in the README showing operation on mobile devices.
Setup is automated via a self-explanatory JSON file generated on first run, with hot reloading for real-time updates and secure defaults, requiring no programming for basic deployments.
Includes protections against directory traversal and symlink attacks, and uses Rustls for TLS without OpenSSL, ensuring secure connections out-of-the-box.
At version 0.2.0, it may have breaking changes, limited documentation, or undiscovered bugs, which could risk stability for long-term projects.
Only supports Handlebars for dynamic content, with no option for other templating languages like Jinja2 or Liquid, restricting flexibility for diverse teams.
Critical production features like DDoS protection and Prometheus metrics are exclusive to the paid binserve+ version, making the free tier less suitable for high-traffic sites.
A library for building fast, reliable and evolvable network services.
🌟 For when you really just want to serve some files over HTTP right now!
Simple http server in Rust (Windows/Mac/Linux)
A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.