Skip to content
DE EN
Project

HomeInfotainment

An application that reads existing documents and tracks deadlines — instead of maintaining the same information a second time.

Node.js16 modulesno front-end framework
Starting point

Information maintained twice soon stops agreeing with itself

The documents existed as files and the deadlines were in them — just scattered. The obvious route would have been a list to type everything into a second time. That was precisely what I wanted to avoid: two places holding the same fact means one of them will eventually be wrong.

So the application reads the existing files and evaluates them. Entry still happens where the documents arise anyway. The dashboard shows what follows from them — and keeps no second copy of its own.

Out of regard for the confidentiality of the documents involved, this page describes the architecture, not the content.

Architecture

Three decisions that have proved themselves

The core knows no module names

On start-up the core reads the module directory and takes whatever is there. Each module describes itself in a small file: name, title, symbol, order. Adding a module therefore means: create a folder, put three files in it, restart. There is no list in the core that one could forget to extend.

A broken module takes nothing down with it

If a module fails while loading or rendering, a notice appears in its place — everything else keeps running. That sounds obvious but is not: the more convenient route is to let the error bubble up, and then a typo in a peripheral feature takes down the whole application.

The interface is rendered on the server

No front-end framework. Pages are assembled on the server and arrive complete in the browser; JavaScript is used only where it genuinely contributes. For an application that mostly displays figures and deadlines, that is both the simpler and the more durable design — it carries no dependencies that will need chasing in two years.

Figures

Size

16modules
26test files
21'000lines of code, excluding tests
0front-end frameworks

Testing runs on the test runner built into Node — above all where a calculation error would prove expensive. As of August 2026.

In hindsight

What I take from it

The project is small enough to keep in view alone and large enough to make the usual mistakes. The most valuable part was not the code but the question of where a piece of information is allowed to originate in the first place — and the answer that the application has to make do with what already exists.

The second point concerns language: folders, files and functions carry German names. That is unusual and was a deliberate choice — the subject matter is German, and translating in one's head costs something every time one looks at the code.

Contact

Shall I take a look at your website?

St. Gallen, Switzerland · Everything in writing, no calls and no meetings

Send an email