Proxy Wasm Sablier Plugin
November 11, 2025 ยท View on GitHub
Start your containers on demand, shut them down automatically when there's no activity using ProxyWasm.
You can use this plugin with any reverse proxy that implements the ProxyWasm specification.
Installation
You can install Sablier using one of the following methods:
Use the binary distribution
Grab the latest binary from the releases page and use it:
wget https://github.com/sablierapp/sablier-proxywasm-plugin/releases/download/v1.1.0/sablier-proxywasm-plugin.wasm
gh attestation verify --owner sablierapp sablier-proxywasm-plugin.wasm
Compile your binary from the sources
git clone git@github.com:sablierapp/sablier-proxywasm-plugin.git
cd sablier-proxywasm-plugin
make
./sablier-proxywasm-plugin.wasm
Usage
The usage depends on the reverse proxy integration with Proxy Wasm.
See examples for more details on how to set it up with providers.
Configuration
You can load a JSON configuration such as:
{
"sablier_url": "sablier:10000",
"group": "my-group",
"session_duration": "1m",
"dynamic": {
"display_name": "My Group",
"theme": "hacker-terminal"
}
}
Examples
Apache APISIX
See the Apache APISIX example on how to use the plugin.
Envoy
See the envoy example on how to use the plugin.
Istio
See the istio example on how to use the plugin.
Nginx
See the nginx example on how to use the plugin.
Other Reverse Proxy Plugins
Caddy
Sablier provides a native Caddy module for seamless integration with Caddy v2.
Quick Start:
- Build Caddy with the Sablier module using
xcaddy - Add Sablier directives to your Caddyfile
- Configure dynamic scaling rules
๐ Full Documentation | ๐ป Plugin Repository
Traefik
Sablier provides a powerful middleware plugin for Traefik, the cloud-native application proxy.
Quick Start:
- Add the Sablier plugin to your Traefik static configuration
- Create Sablier middleware in your dynamic configuration
- Apply the middleware to your routes
๐ Full Documentation | ๐ป Plugin Repository
Community
Join our Discord server to discuss and get support!
Support
See SUPPORT.md