Skip to the content
Search

Skip the list of pages

The web console

The six screens a browser gets, what each one answers, and what it can ask the stack to do.

The same stack, drawn in a browser. lemonfiber ui serves it, and what it draws is the answer to the same questions the terminal asks — the two surfaces reach the core the same way, so neither can tell you something the other would deny.

Getting to it

Run lemonfiber ui. It takes a loopback socket — whichever port is free, unless --port names one — and prints the whole address together with a token minted for that run. Opening that address is the whole of getting in.

Nothing is installed and nothing keeps running afterwards. Stop the command and the console is gone, along with the token: the next run mints another, so an address you kept from last time will not let anybody in.

The connection is plain text unless --tls asks for it encrypted, and it says which as it starts. --tls is for a paired phone rather than a browser: a browser warns about a certificate nobody it trusts signed, and a phone pins this one instead. On loopback plain text costs you nothing a program already on your machine could not do anyway. Over a network it would, which is why --lan is refused until --set-password has set one — and why the password is asked for rather than the token, because a token printed to a terminal is not something you can type from a phone.

The six screens

AddressScreenWhat it answers
/OverviewHow the whole stack is doing, and what needs you
/checksChecksWhat the diagnosis found, and what to do about each finding
/storageThe diskWhat is on the disk, how fast it is filling, and what checked
/logsLogsThe scrollback, filtered by service
/requestsWhat's been asked forWhat the household has requested, and where each one got to
/settingsSettingsThe quality new media is fetched at, every setting, how the line is shared, the versions the stack stands on, and pairing a phone

Each is a real address rather than something the page remembers. That is worth saying because of what it buys: every screen can be typed in, bookmarked, opened in a second tab, and left behind by the back button. A screen held in a variable can do none of those, and a browser is the one surface where people expect all four.

The overview

Eight panels, read in the order they matter: what is wrong, then how things stand, then what is moving.

PanelWhat it shows
What needs youAnything asking for a decision, first
How things standThe health summary for the whole stack
Your diskFree space, and whether anything is filling it
What your stack can runThe forms the stack declares
The programs that run your stackEach service and what it is doing
What you can ask forThe actions available, and what each one does
Waiting in lineWhat is queued
Downloading nowWhat is moving right now

A panel whose source stopped answering says so and greys itself, rather than holding the last value it saw. Stale numbers on a dashboard are worse than none: they are the shape a working answer has, and nothing about them says how old they are.

What it can ask for

Every action the console offers is one of the web API's actions: the same table the terminal dashboard reaches, and each one a command you could have typed. They are asked for through the same entry point the command line uses, so the console cannot do anything the terminal cannot, and cannot do it differently. That is not a limitation it works around — it is the reason both surfaces can be trusted to describe one stack. The web API contract's writing section lists them.

An action that only reads and writes lemonfiber's own files comes back with its outcome. One that reaches the container engine runs for minutes, so it is answered straight away with the name of the work, and the work carries on somewhere the connection cannot reach. A tab closed mid-repair takes nothing with it.

Who it is for

This console is the operator's. What somebody who merely lives here is handed is one address, which lemonfiber front-door names.