Miftahul Arifin
All projects
Servers & APIs

Astral

A server dashboard you copy onto a box and run. Nothing to install.

RoleSolo build
Year2026
StatusOpen source · MIT
Built withRust · Svelte
Astral dashboard showing live CPU, memory, network and storage, a 6-hour history chart and top processes
7.1 MBsingle binary
1.53 mslaunch time
8.88 MBpeak memory

Why I built it

Setting up small servers, I kept hitting the same gap. Prometheus and Grafana are heavy and need their own infrastructure; SSH and top give no history and no dashboard. Nothing lightweight and self-contained sat in between.

What it does

How it’s built

One binary, no runtime on the host. The Svelte app is compiled at build time and embedded into the Rust binary, so assets load from memory, not disk.

Live updates use Server-Sent Events rather than WebSockets: data only flows server-to-browser, so the simpler protocol is enough. History goes into an embedded SQLite database.

The hard part

Keeping it a single file. Every convenience (a frontend dev server, an external database, a config service) had to be designed out so the result still runs with nothing but scp and one command.

Stack

RustSvelteSQLiteServer-Sent EventsDocker