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 comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted