Boost Your Website's Performance with binserve - The Ultimate Static Web Server Solution!
binserve
is an incredibly fast static web server that offers TLS (HTTPS), Routing, Hot Reloading, Caching, Templating, and Security features, all conveniently packed in a single binary. You can effortlessly set it up without writing any code.
Designed from scratch with self-hosters in mind, binserve
prioritizes performance, ease of use, and portability.
Try it Today and Experience Lightning-Fast Speed.
The developer also offers an amazing edition of binserve, Binserve Plus that comes with DDoS protection, Rate limiter, and Prometheus Metrics.
Features
- Fast: Binserve is designed to be performant, this is thanks to Actix-Web - one of the fastest web frameworks out there and DashMap for handling routes and the cache storage.
- Portability: Binserve is cross-platform and portable to any major operating system, like it can run on your Android phone!
- Routing: Routing is simply matching a URI path to a file or a directory in a JSON file.
- Templating: You can write templates and partials using Handlebars.
- Hot Reload: You can reload your configuration (routes) and static files with no downtime.
- Caching: Binserve's performance is achieved due to minimization of Disk I/O operations at runtime (with
fast_mem_cache
enabled) and serving static files from memory. On the client-side,Cache-Control
,Etag
, andLast-Modified
are utilized. - Security: Prevents common attack vectors like Directory Traversal and Symlink Attacks.
Platforms
- Ubuntu (Linux)
- Debian (Linux)
- Linux
- Windows
- macOS
- Arm
- AMD
- i686
Tech
- Rust
License
MIT License