TarnPanel — Hosting Control Panel in Rust

78 screens, one 11 MB binary, no runtime to install

★★★★★ 0.0 (0 reviews) · Rust ·Rust · Version 1.0.0
  • ⬇ 0 downloads
  • 🔥 0 sales
  • 👁 10 views

TarnPanel is a hosting control panel written in Rust: 78 screens, 67 tables turned into working screens by a schema engine, three pricing plans enforced by the server — and one 11 MB binary with no PHP, no MySQL and no runtime to install.

You give your customers their own panel for their domains, mail, databases, FTP, certificates, backups and statistics. They get an account, a quota and a plan; you get one file to copy and one service to restart. The installer writes the systemd unit, the nginx site and the certificate — everything else is the panel itself.

What is included

  • The whole panel — 78 screens in seven groups. Account Manager, E-mail, Advanced, System & Files, Extras, Administration and Reseller, with three access levels (administrator, reseller, customer) and row-level scoping: a customer never sees the rows of another customer.
  • A schema engine. The panel reads its own SQLite catalogue at runtime and derives a list, a search, a sort, a paginator and a scoped edit form from every table. A new table is a new screen.
  • Domains, DNS and mail. Subdomains, addons and pointers; a zone editor with A, AAAA, CNAME, MX, TXT, NS, SRV and CAA records and BIND import/export; mailboxes, aliases, forwarders, catch-all, autoresponders, spam rules, mailing lists and a webmail composer.
  • Automatic SSL. A complete ACME client (RFC 8555): ES256 signatures, http-01 challenges served on a public route, a CSR built by rcgen, a retry every five minutes and the issued chain stored in the certificate store.
  • Databases, FTP and backups. MySQL and PostgreSQL with their own users, FTP accounts with a quota, site backups that can be restored, and cron jobs that run on time.
  • Pricing plans the server enforces. 48 entitlements across three plans. The check lives in the service layer, so the API refuses exactly what the interface refuses — with a 403 that names the plan and the feature.
  • Statistics and the rest of 1.712. Visits, bandwidth, referrers, error logs and a Webalizer report; per-user Redis, user-selectable nginx templates, CGroups resource limits, HTTP/2 and e-mail tracking with read receipts.

Highlights

1. One binary, the whole panel. — 78 screens across seven groups ship in a single 11 MB file. Copy it, run it, open the browser: there is no PHP, no Node, no Composer and no database server to install or to keep patched.

2. A schema engine writes the screens. — the panel reads its own catalogue and turns every table into a working list, search, sort and edit screen. A new table is a new screen, with no hand-written form and no forgotten validation.

3. Plans the server enforces. — 48 entitlements across three plans, checked in the service layer: a client that calls the API directly is refused exactly like one that clicks in the interface, with a 403 that names the plan and the feature.

4. Automatic SSL that really talks to a certificate authority. — a complete ACME client (RFC 8555) with ES256 signatures, http-01 challenges, a CSR built by rcgen, a retry every five minutes and the issued chain stored in the panel.

5. Statistics out of the box. — visits, bandwidth, referrers, error logs, a Webalizer report and per-account usage meters, computed from the access log by a background worker.

Live demo

https://tarnpanel-demo.mintsource.dev — the full product with demo data, no signup needed.

RoleUsernamePassword
AdministratoradminTarnPanel-Demo-2026!
Regular userdemoTarnPanel-Demo-2026!

The demo is reset every thirty minutes, so it always looks the same. The regular account is on the Starter plan: the screens that plan does not include are visible but locked, and the API refuses them.

Installation

  1. Unzip the package and copy the binary: cp bin/tarnpanel-linux-amd64 /opt/tarnpanel/
  2. Run the installer: sudo ./install.sh --domain panel.example.com --admin-password "your-password"
  3. Issue the certificate: certbot --nginx -d panel.example.com (or let the panel do it with the built-in ACME client)
  4. Open the panel and change the administrator password from Account Manager

The installer never starts the panel with a default password — --admin-password is required — and --uninstall removes the service and the nginx site again.

Requirements

  • Linux x86-64 for the prebuilt binary; glibc 2.31 or newer
  • Debian 11+, Ubuntu 20.04+ or RHEL/Rocky 8+ are known to work
  • nginx, if you want to serve the panel from a domain name
  • Rust 1.85 or newer, only if you want to build the source yourself
  • A domain with public DNS and ports 80/443 reachable, for the automatic certificates

Design and technical notes

One process, one store. The panel is an axum server with the interface embedded in the binary; the data lives in a single SQLite file in WAL mode with a process-wide write lock and real transactions, so concurrent writers never lose a row and never break a quota. Panics become JSON errors instead of a dead connection, every mutating request is origin-checked, and the file manager refuses to leave its account directory. The interface is plain HTML, CSS and JavaScript with no build step, no CDN and no front-end framework; it works down to a 375 px screen and is operable with a keyboard. The whole product is covered by 150 tests: 80 Rust tests, 39 browser tests that drive the real interface in Chromium, 20 command-line tests and 11 stability tests that hammer the panel with concurrent writers, restarts and a five-hundred-request burst.

Licence

The item is sold under the licence terms of this marketplace: the regular licence covers one end product, the extended licence covers the unlimited end products of an organisation. The libraries the panel is built on are free and open source and keep their own licences — every one of them is listed in third-party/ with the licence it ships under. The panel itself contains no code, image or text from any other product.

Version 1.0.0 — what changed

  • First public release: 78 screens in seven navigation groups, three access levels with row-level scoping.
  • The schema engine that turns every table into a working screen.
  • Automatic SSL: a complete ACME client (RFC 8555) with http-01 challenges and retries.
  • The 1.712 feature set: HTTP/2, per-user Redis, user-selectable nginx templates, CGroups resource limits, admin SSL management, e-mail tracking with read receipts.
  • Pricing plans: 48 entitlements across three plans, enforced by the service layer and by the generic table editor.
  • 150 tests, a process-wide write lock with real transactions, JSON errors instead of panics and an origin check on every mutating request.

Support

Six months of updates and support with the item. The documentation answers the installation, the reverse proxy, the certificates, the backups and the troubleshooting; the source is complete, so every question can be answered by reading it.

Highlights

  • One binary, the whole panel — 78 screens across seven groups (domains, DNS, mail, databases, FTP, SSL, backups, tickets, statistics) ship in a single 11 MB file. Copy it, run it, open the browser: there is no PHP, no Node, no Composer and no database server to install or to keep patched.
  • A schema engine writes the screens — the panel reads its own SQLite catalogue at runtime and turns every table into a working list, search, sort and edit screen. A new table is a new screen, with no hand-written form and no forgotten validation.
  • Plans the server enforces — 48 entitlements across three plans, checked in the service layer: a client that calls the API directly is refused exactly like one that clicks in the interface, with a 403 that names the plan and the feature.
  • Automatic SSL that really talks to a certificate authority — a complete ACME client (RFC 8555) with ES256 signatures, http-01 challenges, a CSR built by rcgen, a retry every five minutes and the issued chain stored in the panel.
  • Statistics out of the box — visits, bandwidth, referrers, error logs, a Webalizer report and per-account usage meters, computed from the access log by a background worker.

Open the live demo ↗

  • The complete Rust source (Rust 2021 edition, axum + sqlx + SQLite)
  • The prebuilt binary for Linux x86-64 (11 MB, stripped)
  • An installer that writes a systemd service, an nginx site and starts the panel
  • The documentation as HTML: installation, the screens, the API, the reverse proxy, certificates, backups, troubleshooting
  • A directory of third-party licences for every library the panel is built on
  • The test suite: 80 Rust tests, 39 browser tests, 20 command-line tests, 11 stability tests
  • The branding assets: icon, thumbnail, cover and the gallery

Files

  • tarnpanel-1.0.0.zip6.3 MB · tarnpanel-1.0.0.zip
  • Linux x86-64 (the prebuilt binary), glibc 2.31 or newer
  • Debian 11+, Ubuntu 20.04+ or RHEL/Rocky 8+ are known to work
  • nginx, if you want to serve the panel from a domain name
  • Rust 1.85 or newer, only if you want to build the source yourself
  • A domain with public DNS and ports 80/443 reachable, for the automatic certificates
## 1.0.0
First public release.
The panel: 78 screens in 7 navigation groups, three access levels with row-level scoping, a schema engine that turns every table into a working screen, a file manager with search and compression, a DNS zone editor with BIND import and export, webmail, two-factor enrolment, a ticket system, an application catalogue, statistics and a Webalizer report.
Automatic SSL: a complete ACME client (RFC 8555) with http-01 challenges and retries.
The 1.712 feature set: HTTP/2, per-user Redis, user-selectable nginx templates, CGroups resource limits, admin SSL management, e-mail tracking with read receipts.
Pricing plans: 48 entitlements across three plans, enforced by the service layer and by the generic table editor.
The engineering: 150 tests, a process-wide write lock with real transactions, JSON errors instead of panics, an origin check on every mutating request, and a file manager that cannot escape its account directory.

Reviews (0)

0.0
★★★★★

Based on verified purchases

  • 1 ★ 0
  • 2 ★ 0
  • 3 ★ 0
  • 4 ★ 0
  • 5 ★ 0

No reviews yet — be the first to share your experience.

Related items