v0.4.0 — Production Ready

The Blazing Fast Rust Web Server

FlashLin combines the power of Nginx, the flexibility of Apache, and the simplicity of Caddy — all in a single Rust binary with zero-unsafe memory safety.

Async Tokio Runtime
Zero Unsafe Code
Single Binary Deploy
curl -fsSL https://flashlin.com/install_linux.sh | bash

Supports Ubuntu · CentOS · AlmaLinux · Rocky Linux

Everything You Need

Packed with Features

Production-grade capabilities out of the box. No plugins, no modules — just one binary.

Async HTTP/1.1 and HTTP/2.0

Built on Tokio + Hyper for maximum concurrency with non-blocking I/O.

Gzip + Brotli

Automatic response compression to slash bandwidth and boost load times.

Security Headers

Secure-by-default with rate limiting, IP allow/deny, and dotfile blocking.

TLS / HTTPS

rustls-powered TLS foundation. Auto TLS via ACME landing in v1.0.

PHP-FPM / FastCGI

Full FastCGI protocol support for PHP workloads with OpenLiteSpeed-like speed.

Reverse Proxy

Nginx-like proxying to upstream services with connection pooling.

TOML Configuration

Caddy-like simplicity — one readable TOML file. No cryptic nginx blocks.

Virtual Hosts

Per-domain .toml configuration for multi-site hosting on a single server.

Prometheus Metrics

Built-in /metrics endpoint. Drop straight into Grafana dashboards.

ETag / 304 Caching

Client-side caching with ETag and Last-Modified for zero repeat downloads.

Memory Safe Rust

Zero unsafe code. No segfaults. No buffer overflows. Ever.

Single Binary

Download, chmod, run. No dependencies. No runtime. No containers required.

Get Up & Running

Install in Seconds

One script. All major Linux distributions. Ready to serve instantly.

01

Download & Install

One-liner installer for all supported Linux distributions.

curl -fsSL https://flashlin.com/install_linux.sh | bash
02

Edit Config

Update server settings inside the generated configuration file.

nano /etc/flashlin/server.toml
03

Add Virtual Host

Create a .toml file for every domain you host.

nano /etc/flashlin/domains/example.com.toml
04

Manage Service

Use native systemctl commands to manage FlashLin.

systemctl start flashlin
systemctl stop flashlin
systemctl status flashlin
Supported Distributions
Ubuntu
CentOS
AlmaLinux
Rocky Linux
/etc/flashlin/server.toml
# /etc/flashlin/server.toml
# Auto-generated on install — edit to customise

[server]
host = "0.0.0.0"
port = 80
workers = 4

[cache]
enabled = true
max_age = 3600

[compression]
gzip = true
brotli = true

[ssl]
auto = true
email = ""

[security]
rate_limit = 100
block_dotfiles = true
Useful Shortcuts
flashlin --version
flashlin --license
systemctl reload flashlin
systemctl enable flashlin

Benchmark Results

Built for Raw Speed

FlashLin delivers stable high-performance throughput with low latency and efficient memory usage.

49,931
Requests / sec
28.96ms
Avg Latency
Stable
Stability
~12MB
Memory Footprint

Throughput Comparison

req/sec
FlashLin
Stable under load
49,931
req/sec
Avg latency: 28.96ms
Apache
Heavy socket/read issues
27,266
req/sec
Avg latency: 56.89ms
Node.js Express
Saturated quickly
6,522
req/sec
Avg latency: 137.66ms

* Benchmark performed using wrk with 1000 concurrent connections under equivalent hardware conditions.

What's Next

Roadmap

FlashLin is actively developed. Here's where we're headed.

v0.4 — Current
Shipped
  • Async HTTP/1.1 (Tokio + Hyper)
  • Static file serving
  • TOML configuration
  • Gzip + Brotli compression
  • PHP-FPM / FastCGI
  • Reverse proxy
  • TLS / HTTPS (rustls)
  • Prometheus metrics
  • Virtual hosts
  • Rate limiting & IP allow/deny
  • HTTP/2 support
v0.5 — Coming Soon
In Progress
  • Hot config reload
  • Improved TLS certificate management
v0.6 — Planned
Planned
  • WebSocket proxy support
  • Enhanced logging formats
  • Connection multiplexing
v1.0 — Future
Planned
  • Dashboard UI
  • Cluster mode