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

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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