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 Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted