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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
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