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. 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 cache storage. Binserve is cross-platform and portable to any major operating system, like it can run on your Android phone! Routing is simply matching a URI path to a file or a directory in a JSON file. You can reload your configuration (routes) and static files with no downtime. 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 utilized. Prevents common attack vectors like Directory Traversal and Symlink Attacks.

Features

  • Binserve is designed to be performant
  • Binserve is cross-platform and portable to any major operating system
  • Routing is simply matching a URI path to a file or a directory in a JSON file
  • You can write templates and partials using Handlebars
  • You can reload your configuration (routes) and static files with no downtime
  • Binserve's performance is achieved due to minimization of Disk I/O operations at runtime

Project Samples

Project Activity

See All Activity >

Categories

HTTP Servers

License

MIT License

Follow binserve

binserve Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of binserve!

Additional Project Details

Programming Language

Rust

Related Categories

Rust HTTP Servers

Registered

2023-05-18