BZOD is a complete multi-user URL management platform featuring custom landing pages, analytics, audit logging, and automated disaster recovery. Powered entirely by SQLite.
A highly optimized architecture providing your organization with total ownership of internal and external links, operational data, and analytics.
Create memorable URLs. Features include password protection, expirations, and elegant preview cards.
Host structured landing pages with built-in analytics, dynamic QR codes, and integrated domains.
Accurate visitor tracking encompassing browser metrics, referrers, and seamless CSV exports.
Engineered in Rust to fundamentally eliminate memory leaks, null pointers, and thread data races.
A tenant-isolated structure pairing the Axum async framework with optimized SQLite database files, segregating content from high-volume analytics.
High-performance async HTTP server handling routing, middleware validation, CSRF protection, and structured error responses.
All public URLs are tracked in the system.db -> global_slugs table to prevent collisions across different isolated users.
Lightweight, thread-safe tracking workers capture device profiles and traffic origins into tenant databases without degrading redirect speeds.
Instead of a monolithic database, BZOD securely segments administrative data from tenant analytics and content via dedicated SQLite files operating in WAL mode.
By assigning physical content.db and analytics.db files to each user, cross-user data leakage is eliminated at the file-system level.
The centralized users.db acts as the primary identity database, securely tracking authentication, API tokens, and enforcing resource quotas.
Write-Ahead Logging provides robust concurrency and zero-contention crash recovery without the operational overhead of PostgreSQL.
Integrate BZOD with CI/CD pipelines, home automation, or custom applications using secure, token-based authentication.
POST /api/v1/urls Authorization: Bearer bzo_xxxxxxxxxxxx { "code": "rust", "target_url": "https://www.rust-lang.org", "description": "Rust Language" }
GET /api/v1/stats Authorization: Bearer bzo_xxxxxxxxxxxx { "success": true, "data": { "total_urls": 125, "total_clicks": 8431, "total_pages": 12 } }
Full control via a comprehensive command-line interface. Handle migrations, disaster recovery, and user management directly from the terminal.
# Create a full compressed snapshot of the entire platform bzod backup # Restore platform from a specific archive bzod restore backup-20260619-020000.zip # Backup and export only a single tenant's data bzod backup-user 42
# Bootstrap a new administrator bzod create-admin admin # Provision a new standard user bzod create-user alice # Immediately invalidate user sessions and prevent login bzod disable-user alice
# Run SQLite integrity checks, WAL validation, and storage checks bzod doctor # Verify all registered short link destinations exist bzod validate # Apply schema upgrades safely bzod migrate
Unlike standard shorteners, BZOD provides a comprehensive suite of featuresβfrom landing pages to multi-tenant user isolationβin a single, compiled binary.
| Feature | BZOD v0.5.0 | Shlink | YOURLS | Chhoto URL |
|---|---|---|---|---|
| Language | Rust π¦ | PHP | PHP | Rust |
| Deployment | β Single Binary | β Requires PHP/Web Server | β Requires PHP/Web Server | β Single Binary |
| External DB Required | β None (SQLite) | β οΈ Usually (PostgreSQL/Maria) | β οΈ Usually (MySQL) | β None |
| Landing Pages | β Native | β No | β οΈ Via Plugin | β No |
| QR + Analytics | β Native | β οΈ Partial | β οΈ Via Plugin | β οΈ Partial |
| Multi-User / Quotas | β Native (Isolated) | β οΈ Partial | β οΈ Via Plugin | β No |
| Backup & Recovery | β Built-in CLI & Web UI | β External Tools Needed | β External Tools Needed | β No |
Deploy via Docker for containerized environments, or compile directly from source for bare-metal performance.
# Clone the official repository git clone https://github.com/thakares/nx9-url-shortener bzod cd bzod # Launch containerized services docker compose up -d --build # Initialize base admin docker exec -it bzod bzod create-admin
# Clone the official repository git clone https://github.com/thakares/nx9-url-shortener bzod cd bzod # Compile optimized release cargo build --release # Initialize base admin ./target/release/bzod create-admin # Serve application ./target/release/bzod serve