Web Design

binserve – fast production-ready static web server

binserve is a fast static web server with TLS (HTTPS), Routing, Hot Reloading, Caching, Templating, and Security in a single-binary you can set up with zero code.

It’s built from the ground up for self-hosters with performance, ease of use, and portability in mind.

This is free and open source software.

Key Features

  • Fast: Binserve is designed to be performant,courtest of Actix-Web and DashMap for handling routes and the cache storage. (See Benchmarks)
  • 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, and Last-Modified are used.
  • Security: Prevents common attack vectors like Directory Traversal and Symlink Attacks.

Website: github.com/mufeedvh/binserve
Support:
Developer: Mufeed VH
License: MIT License

binserve is written in Rust. Learn Rust with our recommended free books and free tutorials


Related Software

Static Web Servers
miniserveCLI tool to serve files and dirs over HTTP
serveStatic file serving and directory listing
binserveFast production-ready static web server
SuperstaticEnhanced static web server
darkhttpdA simple web server written in C; only serves static content
simple-http-server Simple static file server written in Rust
Static Web ServerHigh-performance and asynchronous web server
webfsSimple http server for mostly static content.
quarkSmall and simple HTTP GET/HEAD-only web server for static content
Websitino Lightweight static file server for local development
static-file-serverTiny, simple static file server

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted