Rusty Beam

A high-performance HTTP server with a powerful plugin architecture and CSS selector-based HTML manipulation

Why Rusty Beam?

🔌

Plugin Architecture

Extend functionality with dynamic plugins. From authentication to compression, build exactly what you need with our FFI-based plugin system.

🎯

CSS Selector API

Manipulate HTML content on-the-fly using familiar CSS selectors via HTTP Range headers. A unique approach to dynamic content serving.

Blazing Fast

Built with Rust and Tokio for maximum performance. Async throughout with efficient resource utilization.

🔄

Hot Reload

Update configuration without restarting. Send a SIGHUP signal to reload your HTML-based configuration files instantly.

🔐

Built-in Security

OAuth2, Basic Auth, CORS, security headers, and rate limiting plugins included. Secure by default with flexible authentication.

📝

HTML Configuration

Configure your server using semantic HTML with microdata. Version control friendly and human readable.

Simple Configuration

<!-- Configure your server with HTML -->
<table itemscope itemtype="https://rustybeam.net/schema/ServerConfig">
    <tr>
        <td>Bind Address</td>
        <td><span itemprop="bindAddress">127.0.0.1</span></td>
    </tr>
    <tr>
        <td>Port</td>
        <td><span itemprop="bindPort">3000</span></td>
    </tr>
</table>

<!-- Add plugins with simple configuration -->
<td itemprop="plugin" itemscope itemtype="https://rustybeam.net/schema/OAuth2Plugin">
    <span itemprop="library">file://./plugins/librusty_beam_oauth2.so</span>
    <span itemprop="clientIdEnv">GOOGLE_CLIENT_ID</span>
    <span itemprop="loginPath">/auth/google/login</span>
</td>