
Argus
Built on my own

Shown with demo data.
Transcript
The film has music and no voice. A small guide star tells the story in speech bubbles, one sentence at a time, in my words. These are the pictures and the words on screen, in order. Every name and number in it is demo data.
A drawn night sky. My apps rise as cards, each on the place it runs: a VM, two clouds and a database host. "I had a lot of small apps, spread over a VM and several clouds."
The camera steps back to my notes of what runs where. "Each place had its own console, so seeing everything meant opening every one."
Two apps move to another cloud, and the notes go out of date and are crossed out. "So I could never tell at a glance what was broken or what had drifted."
The sky dims into fog. "I needed my house rules checked all the time, and every deploy and every log in one place."
The sky gives way to a browser window with the Overview page of Argus. Its needle sweeps in, then the camera moves to the verdict and the star map. "So I built Argus, which reads the real state from the providers and never changes it."
The Map page, then a closer look at one app and the VM it shares. "It starts from each public address and follows it down, so the map draws itself."
One app opens. Its side panel lists its nine parts, from its DNS record down to its repo. "When I open an app, I see every part it runs on, from its DNS record down to its repo."
The Overview scrolls to Needs attention. Two items sit under Unexplained: a hostname with no target, and an origin not matched to any service. "Anything it cannot place is listed under Unexplained, with the reason, so nothing is dropped."
The Rules page. Rule 4 opens: broken, with its offender and what it looked at. "Then it checks 23 house rules on every sweep, and a broken rule names its offender."
The rules for one cloud. A refresh runs, and three of its rules turn to Could not check. One opens: its source timed out after 60 seconds. "If a source does not answer in 60 seconds, its rules say Could not check, never pass."
The Logs page: filters, a search box, a histogram by level, the log lines and Live. "Every app's logs arrive in the same shape, so I search all of them from one page."
Errors is picked and only the error lines stay, then a search for "session". "When I keep only the errors, the histogram shows them before I read a single line."
One log line opens in a details panel. Its message shows "Bearer [redacted]". "Then I open the line that matters, and a credential in it only ever shows as redacted."
The Deploys page, with the last seven days as a strip and the full list from three sources. "Every deploy lands in one list too, with the last seven days drawn as a strip."
A failed deploy opens. Its detail names the job and the step that failed, "Run database migrations", with its branch, commit, who started it and how long it ran. "A failed deploy is marked in rose and never hidden, so I open it and read exactly why it failed."
The Overview's alerts: one for a rule that broke, and one for a health check that recovered. "And when something breaks or recovers, Argus raises an alert, so I never go looking."
The Overview with every rule passing and the words "All quiet over the estate.", then the Argus mark. "Now one place shows me the real state of every project, and when every rule passes, it says: all quiet over the estate."
The real, current state of every project.
Read from the providers. Argus maps how each public address reaches its code, checks 23 house rules on every sweep, and keeps every app's logs in one place. It never changes what it maps.
- What it is
- A private control room for projects spread across several clouds
- What it checks
- 23 house rules, each with its reason, on every sweep
- What it shows
- The map, the rules, deploys, logs and alerts, in one place
- Built with
- Node.js, TypeScript, Hono, SQLite, React, Vite, VictoriaLogs and Docker
The map
The map draws itself.


Argus starts from each public address and follows it down: the edge, the origin, the cloud service or proxy route, the container, the app and its repo. Each part is read from the providers. Anything it cannot place is listed under Unexplained, so nothing is dropped.
- From the address downEach app's page lists its parts, from the DNS record and the certificate to the container and the repo.
- Shared partsParts that more than one app relies on are shown on their own.
- UnexplainedA record it cannot place, such as a hostname with no target, is listed with the reason.
- An outside probeA small service on another cloud checks what a stranger sees, such as origins that answer without the edge.
Rules
House rules, checked on every sweep.

23 house rules run against the map on every sweep, and each one has its reason. A broken rule names each offender and lists what it looked at.
- The last 7 daysEach rule shows what it says about each of the last 7 days.
- The verdictThe Overview says "All quiet over the estate." only when every rule passes.
- Search and filterFind a rule by its name or an offender, and filter the list by status.
- Ctrl+KJump to any app, part, rule or page, or type "broken" to find what is wrong.
- PassThe rule holds.
- BrokenEach offender is named, with what the rule looked at.
- ExceptedAn offender excepted on purpose, with its reason.
- Could not checkA source the rule needs could not be read.
Could not check
Unknown is never a pass.

Each source gets 60 seconds. A source that does not answer keeps its last good data and is marked stale. The rules that need it turn to Could not check, and they are never counted as a pass.
- Stale, with the reasonThe Overview lists a stale source with its reason, such as a timeout after 60 seconds.
- Counted on its ownCould not check has its own count, beside pass and broken.
- Drawn apartOn the chart, an app that could not be fully checked is drawn with dashed lines.
- Could not checkNever counted as a pass.
Deploys
Every deploy in one list.

Recent deploys are in one list, and a failed one is marked. They come from the build service, the edge builds and the code host, and a strip of diamonds draws the last 7 days.
- Never hiddenA failed deploy stays on the strip and in the list, marked in rose.
- One day at a timePick a day on the strip to see only that day's deploys.
- FailingAn app whose latest deploys failed shows its run of failures under Failing.
- DeployA gold diamond on the time axis.
- Failed deployThe same diamond in rose.
Logs
Every app's logs in one place.
![The Logs page of Argus searching for "session", with a histogram by level and log lines from several apps, one of them showing a bearer token as [redacted].](/work/argus/logs-1.webp)
Every app's logs arrive in one shape, with credentials redacted.
- LogsSearch, filters, a histogram by level and a live tail.
- Secret names, never valuesA part's page lists its settings and its secret names. Secret values are never shown.
- The archiveLogs are kept for 6 months, with a size cap that deletes the oldest data first.
Alerts
An alert when it breaks, and when it recovers.

An alert goes out when a rule breaks and again when it recovers. The Overview lists the last 20 sent, newest first.
- RulesA rule that breaks, and its recovery.
- SourcesA source that fails 2 sweeps in a row, and its recovery.
- Health checksA probe or health check that fails, and its recovery.
- CertificatesA certificate or credential within 21 days of expiry, and its renewal.
How it is built
Read-only by design.
Argus reads from the providers and never writes to one, except its own log archive. It never changes what it maps.
- ServerNode.js, TypeScript and Hono.
- StoreSQLite.
- InterfaceReact and Vite.
- LogsVictoriaLogs.
- Runs inDocker.
Next project
Reelhouse
Built on my own
My own streaming service for a home video library. It finds the skip-intro moment by itself, by listening to the audio.
36%smaller at 1080p, one real episode