Uses only about 5.48MB of memory, which is just 1/25 of the Node.js version's memory footprint.
Perfect for small servers and resource-constrained environments while maintaining full functionality.
Implements most of the necessary APIs of the original Waline with high performance and low resource usage.
Rust implementation delivers exceptional performance with minimal resource consumption.
No need to install Node.js environment, just an executable file is enough.
Drop-in replacement for original Waline with compatible APIs.
Includes XSS protection, frequency limits, comment review, and anti-spam measures.
Full support for pageview counters, article reactions, and comment formatting.
Supports SQLite and MySQL/MariaDB with potential for PostgreSQL support.
| Feature | Availability | Status |
|---|---|---|
| Pageview Counter | Fully | Stable |
| Article Reactions | Fully | Stable |
| Email Notification | Nearly | In Progress |
| OAuth | Fully | Stable |
| Data Migration | Fully | Stable |
Get up and running with Waline Light in just a few simple steps.
Download the appropriate binary for your platform from GitHub Releases.
# Setting environment variables
export DATABASE_URL=sqlite:///path/to/waline.sqlite?mode=rwc
export JWT_TOKEN=your_secret_key
export SITE_NAME=your_site_name
export SITE_URL=your_site_url
# Start
./waline-light
Use Docker to quickly deploy Waline Light with minimal setup.
services:
waline:
image: zhx57/waline-light:latest
container_name: waline-light
ports:
- "8360:8360"
volumes:
- waline-db:/app/db
environment:
- DATABASE_URL=${DATABASE_URL:-sqlite:////app/db/waline.sqlite?mode=rwc}
- JWT_TOKEN=${JWT_TOKEN}
- SITE_NAME=${SITE_NAME}
- SITE_URL=${SITE_URL}
restart: unless-stopped
volumes:
waline-db:
driver: local
Configure Waline Light using environment variables to suit your needs.
| Variable | Required | Default | Description |
|---|---|---|---|
| DATABASE_URL | ✅ | - | Database connection string |
| JWT_TOKEN | ✅ | - | JWT signature key |
| SITE_NAME | ✅ | - | Your site name |
| PORT | ❌ | 8360 | Listening port |
| IPQPS | ❌ | 60 | IP-based comment frequency limit |
Find answers to common questions about Waline Light.
SQLite and MySQL/MariaDB are supported. Compile features can be added to support PostgreSQL at any time.
Waline Light maintains the same core functionality as the original Waline but with significantly lower memory usage (only ~5MB compared to hundreds of MB for the Node.js version) and improved performance thanks to the Rust implementation.
Try Waline Light today and experience the power of a high-performance comment system with minimal resource usage.