{% extends "base.html" %} {# server/templates/core/ueber.html — Erstellt: 2026-10-11 CET — öffentliche Startseite, zweisprachig (de/en) · Geändert: 2026-10-22 CET — Tabs, Stand E82–E89, Reiter «IDE» und «Fly & Tigris» · Geändert: 2026-10-22 CET — Reiter «Web & review» mit Beispielbildern (Review, Monitoring, Infrastruktur, Deployments, Operations) · Geändert: 2026-10-28 CET — Reiter «Deploy & monitoring» (Batch, Zeitsteuerung, Abhängigkeiten, Überwachung, Service-Landkarte), Download mit Version · Geändert: 2026-10-28 CET — Reiter «Build» mit Übersichtsbild · Geändert: 2026-11-01 CET — Reiter «forge.toml» (Pipeline-Steuerung mit Bild), «Deploy & monitoring»: Batch-Tag mit Bild und Zuständen, Selbstheilung/Autoscaling/Überwachte Umgebungen/Performance mit Bild · Geändert: 2026-11-04 CET — Fix: Aussagen zu Bucket-Snapshots und Staging-Schlüssel an den Stand angepasst, App-Bestätigung auch per Face ID · Geändert: 2026-11-05 CET — Download: CLI-Handbuch, forge.toml-Referenz, Datenfluss (PDF) #} {% load static %} {% block title %}{% if lang == "en" %}About Forge{% else %}Über Forge{% endif %}{% endblock %} {% block content %} {# ------------------------------------------------------------- Sprachwahl #}
{% if lang == "en" %} Deutsch English {% else %} Deutsch English {% endif %}
Version {{ version }} · {{ change }} {% if lang == "en" %}

Forge — your version control for container projects

Self-hosted, end-to-end encrypted: your own version control with a signed operation log, code review in the browser, package mirror, offline builds, deploy, monitoring and self-healing in one tool.

Code review with suggestions File history & blame Deployments & scheduled deploys Parallel runner IDE integration

Download source code Compare {% else %}

Forge — deine Versionskontrolle für Container-Projekte

Selbst gehostet, Ende-zu-Ende verschlüsselt: eigene Versionskontrolle mit signiertem Operation-Log, Code-Review im Browser, Paket-Spiegel, Builds ohne Netz, Deploy, Überwachung und Selbstheilung in einem Werkzeug.

Code-Review mit Änderungsvorschlägen Datei-Verlauf & Blame Deployments & geplante Deploys Paralleler Runner IDE-Anbindung

Quellcode herunterladen Vergleich {% endif %}
{# ------------------------------------------------------------------ Reiter #}
{# ================================================================ Überblick #}
{% if lang == "en" %}

Own version control

The unit is a Change with a stable ID and versions. Strands work like branches, version numbers like tags. Nothing is overwritten; every action can be undone.

{% else %}

Eigene Versionskontrolle

Die Einheit ist ein Change mit stabiler ID und Versionen. Stränge arbeiten wie Branches, Versionsnummern wie Tags. Nichts wird überschrieben; jede Aktion lässt sich zurücknehmen.

{% endif %}
{% if lang == "en" %}

End-to-end encrypted

Storage and server only ever see ciphertext — per tenant. The device key lives in the macOS keychain; the browser decrypts with your passkey.

{% else %}

Ende-zu-Ende verschlüsselt

Speicher und Server sehen nur Chiffrat — pro Tenant. Der Geräte-Schlüssel liegt im macOS-Schlüsselbund; der Browser entschlüsselt mit deinem Passkey.

{% endif %}
{% if lang == "en" %}

Every action signed

The operation log records which device did what and when and is append-only. Reviews, deploy jobs and ops commands are signed entries too.

{% else %}

Jede Aktion signiert

Das Operation-Log hält fest, welches Gerät was wann getan hat, und wird nur ergänzt. Reviews, Deploy-Aufträge und Ops-Befehle sind ebenfalls signierte Einträge.

{% endif %}
{% if lang == "en" %}

Build, deploy, operate

Offline builds from your own package mirror, deploy by image digest via runners, then monitoring and self-healing (restart, rollback) without project keys.

{% else %}

Bauen, ausrollen, betreiben

Builds ohne Netz aus dem eigenen Paket-Spiegel, Deploy per Image-Digest über Runner, danach Überwachung und Selbstheilung (Neustart, Rollback) ohne Projekt-Schlüssel.

{% endif %}

{% if lang == "en" %}How it works{% else %}So funktioniert es{% endif %}

{% if lang == "en" %}build · mirror & quarantine · digest deploy{% else %}Bau · Spiegel & Quarantäne · Digest-Deploy{% endif %}
{% if lang == 'en' %}Forge workflow: signing, mirror & quarantine, digest deploy{% else %}Forge-Workflow: Signatur, Spiegel & Quarantäne, Digest-Deploy{% endif %}

{% if lang == "en" %} Only your device reaches the network and holds the keys. The runner builds offline from the package mirror (only signed, approved, quarantine-cleared, OSV-checked packages) and prod reuses exactly the tested staging image — pinned by digest, never rebuilt. {% else %} Nur dein Gerät erreicht das Netz und hält die Schlüssel. Der Runner baut offline aus dem Paket-Spiegel (nur signierte, freigegebene, quarantäne-geprüfte, OSV-geprüfte Pakete) und prod übernimmt exakt das getestete Staging-Image — per Digest gepinnt, nie neu gebaut. {% endif %}

{% if lang == "en" %}

Forge at a glance

  • Own version control: changes, strands, version numbers, undo
  • End-to-end encrypted per tenant; server and storage see ciphertext only
  • Signed operation log, merge without rewriting history
  • Code review in CLI and browser: comments, replies, resolve, suggestions
  • Compare any two states with syntax and word highlighting
  • File history and blame — in the browser, computed by the same core as the CLI
  • Project contract forge.toml: tests, deploy rules, monitoring, secrets
  • Package mirror with quarantine and OSV checks; builds without network
  • Deploy by digest via runners; parallel jobs with a lock per environment
  • Scheduled deploys and time windows; pause, resume or cancel from the web
  • Monitoring, alert mails and self-healing (forge-ops)
  • Encrypted secret store; secrets set by the runner at deploy time
  • Passkey + TOTP sign-in; fresh passkey confirmation for account changes
  • IDE integration for RustRover and PyCharm
  • Escape hatch: forge export --git at any time
{% else %}

Forge auf einen Blick

  • Eigene Versionskontrolle: Changes, Stränge, Versionsnummern, Rückgängig
  • Ende-zu-Ende verschlüsselt pro Tenant; Server und Speicher sehen nur Chiffrat
  • Signiertes Operation-Log, Zusammenführen ohne Umschreiben
  • Code-Review in CLI und Browser: Kommentare, Antworten, Erledigt, Vorschläge
  • Zwei beliebige Stände vergleichen, mit Syntax- und Wortfarben
  • Datei-Verlauf und Blame — im Browser, gerechnet vom selben Kern wie die CLI
  • Projektvertrag forge.toml: Tests, Deploy-Regeln, Überwachung, Secrets
  • Paket-Spiegel mit Quarantäne und OSV-Prüfung; Builds ohne Netz
  • Deploy per Digest über Runner; parallele Aufträge mit Sperre je Umgebung
  • Geplante Deploys und Zeitfenster; pausieren, fortsetzen, abbrechen im Web
  • Überwachung, Alarm-Mails und Selbstheilung (forge-ops)
  • Verschlüsselter Secret-Store; Secrets setzt der Runner beim Deploy
  • Anmeldung mit Passkey + TOTP; frische Passkey-Bestätigung für Konto-Änderungen
  • IDE-Anbindung für RustRover und PyCharm
  • Notausgang: jederzeit forge export --git
{% endif %}
{% if lang == "en" %}

An escape hatch always remains

With forge export --git you can always export everything as a Git repository — for editors, AI tools and collaboration with the Git world.

{% else %}

Ein Notausgang bleibt immer

Mit forge export --git lässt sich jederzeit alles als Git-Repository ausgeben — für Editoren, KI-Werkzeuge und die Zusammenarbeit mit der Git-Welt.

{% endif %}
{# ============================================================ Web & Review #}
{% if lang == "en" %}

Signed in securely, decrypted in the browser

  • Sign-in = passkey + TOTP — no passwords; the passkey is the first factor, a one-time code from your authenticator app the second.
  • Decryption = PRF passkey — code, reviews and docs are decrypted in the browser by the same WebAssembly core as the CLI. The server only delivers ciphertext.
  • Account changes (TOTP, passkeys) need a fresh confirmation with one of your passkeys from the last five minutes — a stolen session is not enough.
  • Tenants are separated twice: by key and by membership — other tenants are not even listed.

Operations (restart, rollback, pausing a scheduled deploy) additionally need a fresh one-time code for every single action.

{% else %}

Sicher angemeldet, entschlüsselt im Browser

  • Anmeldung = Passkey + TOTP — keine Passwörter; der Passkey ist der erste Faktor, ein Einmal-Code aus der Authenticator-App der zweite.
  • Entschlüsselung = PRF-Passkey — Code, Reviews und Doku entschlüsselt der Browser mit demselben WebAssembly-Kern wie die CLI. Der Server liefert nur Chiffrat.
  • Konto-Änderungen (TOTP, Passkeys) verlangen eine frische Bestätigung mit einem eigenen Passkey aus den letzten fünf Minuten — eine gestohlene Sitzung reicht nicht.
  • Tenants sind doppelt getrennt: per Schlüssel und per Mitgliedschaft — fremde Tenants erscheinen gar nicht.

Eingriffe im Betrieb (Neustart, Rollback, geplanten Deploy pausieren) verlangen zusätzlich für jede einzelne Aktion einen frischen Einmal-Code.

{% endif %}
{% if lang == "en" %}

Code review in the browser

Compare any two states
main line, what runs in staging/prod, any version
Readable diffs
syntax and word highlighting, side by side or inline, expandable context
Comments per line
replies, resolve and reopen
Suggested changes
applied on a device with forge review apply
File history & blame
every version of a file, origin of every line
Approvals
a change lands only with check and approval for exactly that version

Reviews are signed and encrypted in the browser and stored as create-only entries next to the log — the browser never edits code directly.

{% else %}

Code-Review im Browser

Zwei beliebige Stände vergleichen
Hauptlinie, was in Staging/Prod läuft, jede Version
Lesbare Diffs
Syntax- und Wortfarben, nebeneinander oder untereinander, Kontext aufklappbar
Kommentare je Zeile
Antworten, erledigen und wieder öffnen
Änderungsvorschläge
übernommen auf einem Gerät mit forge review apply
Datei-Verlauf & Blame
jede Fassung einer Datei, Herkunft jeder Zeile
Freigaben
ein Change landet nur mit Prüfung und Freigabe für genau diese Version

Reviews werden im Browser signiert und verschlüsselt und als nur-anlegende Einträge neben dem Log abgelegt — der Browser bearbeitet Code nie direkt.

{% endif %}
{% if lang == "en" %}

Operations pages

Monitoring
a tile per service with checks, live metrics (CPU, memory, load, availability) and an alert-mail switch
Operations
restart and rollback per environment, each with a fresh one-time code
Infrastructure
every app at the provider: machine state, region, memory, volume, deployed state
Deployments
timeline of the last 24 h with stages, open and scheduled deploys — pause, resume, cancel

The overview pages are computed in the background every minute, so they open without waiting. The CLI forge (macOS) remains the full tool.

{% else %}

Betriebsseiten

Monitoring
eine Kachel je Dienst mit Prüfungen, Live-Metriken (CPU, Speicher, Last, Verfügbarkeit) und Schalter für Alarm-Mails
Operations
Neustart und Rollback je Umgebung, jeweils mit frischem Einmal-Code
Infrastruktur
jede App beim Anbieter: Maschinenzustand, Region, Speicher, Volume, ausgerollter Stand
Deployments
Zeitleiste der letzten 24 h mit Stufen, offene und geplante Deploys — pausieren, fortsetzen, abbrechen

Die Übersichten werden jede Minute im Hintergrund vorgerechnet und öffnen ohne Wartezeit. Das volle Werkzeug bleibt die CLI forge (macOS).

{% endif %}
{# ---------------------------------------------- Beispielbilder (Demo-Tenant) #}
{% if lang == "en" %}

A look inside

Example images from a demo tenant acme with made-up services (shop-api, web-shop, billing-worker) — the real pages, with invented data. Click an image to see it full size.

{% else %}

Ein Blick hinein

Beispielbilder aus einem Demo-Tenant acme mit erfundenen Diensten (shop-api, web-shop, billing-worker) — die echten Seiten, mit ausgedachten Daten. Ein Klick zeigt das Bild in voller Grösse.

{% endif %} {# Code-Review #}
{% if lang == "en" %}

1 · Code review

Opening a project shows “Locked” first: the server only has ciphertext. One click asks for your passkey; the browser derives the key from it and decrypts with the same WebAssembly core as the CLI. A new browser becomes a device of its own and needs a grant from a device that already has access (forge device add).

After unlocking you see the changes on the left — each with its versions, check state and comment count. On the right: the compared states (main line, a version, what runs in staging/prod), whitespace switch, inline or side by side, and Approve this version.

In the diff, comments sit at their line; a suggestion names the lines it would replace. It is applied on a device with forge review apply — never by the browser.

{% else %}

1 · Code-Review

Ein Projekt zeigt zuerst «Locked»: Der Server hat nur Chiffrat. Ein Klick fragt nach dem Passkey; der Browser leitet daraus den Schlüssel ab und entschlüsselt mit demselben WebAssembly-Kern wie die CLI. Ein neuer Browser wird ein eigenes Gerät und braucht eine Freigabe von einem Gerät mit Zugang (forge device add).

Danach stehen links die Changes — je mit Versionen, Prüfstand und Anzahl Kommentare. Rechts: die verglichenen Stände (Hauptlinie, eine Version, was in Staging/Prod läuft), Leerzeichen-Schalter, untereinander oder nebeneinander und Approve this version.

Im Diff stehen Kommentare an ihrer Zeile; ein Vorschlag nennt die Zeilen, die er ersetzen würde. Übernommen wird er auf einem Gerät mit forge review apply — nie vom Browser.

{% endif %}
{% if lang == "en" %} {% include "partials/_landing_shot.html" with name="web-locked" height=190 alt="Locked project page with the button Unlock with passkey" caption="Before unlocking: the server delivers ciphertext only." %} {% include "partials/_landing_shot.html" with name="web-review" height=455 alt="Review page with the list of changes, version picker and approve button" caption="Changes, compared states and approval." %} {% include "partials/_landing_shot.html" with name="web-diff" height=440 alt="Diff of a Python file with a line comment and a suggestion" caption="Diff with a line comment and a suggested change." %} {% else %} {% include "partials/_landing_shot.html" with name="web-locked" height=190 alt="Gesperrte Projektseite mit dem Knopf Unlock with passkey" caption="Vor dem Entsperren: Der Server liefert nur Chiffrat." %} {% include "partials/_landing_shot.html" with name="web-review" height=455 alt="Review-Seite mit Liste der Changes, Versionswahl und Freigabe-Knopf" caption="Changes, verglichene Stände und Freigabe." %} {% include "partials/_landing_shot.html" with name="web-diff" height=440 alt="Diff einer Python-Datei mit Zeilenkommentar und Vorschlag" caption="Diff mit Zeilenkommentar und Änderungsvorschlag." %} {% endif %}
{# Monitoring #}
{% if lang == "en" %}

2 · Monitoring

One tile per service of a tenant. The upper part comes from the secret-free ops manifest the runner stores at deploy (from forge.toml): kind, description, region, machines, memory, volume, whether it is monitored and how it heals itself.

  • One line per environment (prod, staging) with the app name and the result of the latest check — ok or fail.
  • Live metrics straight from the provider: CPU, memory and load with a six-hour curve, availability over 24 h and 7 days.
  • Alert mails can be switched off for the whole tenant (for a planned maintenance) — the switch itself is a signed entry.

Owner page: superuser and a verified TOTP factor. No project passkey is needed — nothing here is decrypted.

{% else %}

2 · Monitoring

Eine Kachel je Dienst eines Tenants. Der obere Teil stammt aus dem geheimnisfreien Ops-Manifest, das der Runner beim Deploy ablegt (aus der forge.toml): Art, Beschreibung, Region, Maschinen, Speicher, Volume, ob überwacht wird und wie der Dienst sich selbst heilt.

  • Eine Zeile je Umgebung (prod, staging) mit App-Name und dem Ergebnis der jüngsten Prüfung — ok oder fail.
  • Live-Metriken direkt vom Anbieter: CPU, Speicher und Last mit Sechs-Stunden-Kurve, Verfügbarkeit über 24 h und 7 Tage.
  • Alarm-Mails lassen sich für den ganzen Tenant abschalten (für eine geplante Wartung) — der Schalter selbst ist ein signierter Eintrag.

Owner-Seite: Superuser und verifizierter TOTP-Faktor. Kein Projekt-Passkey nötig — hier wird nichts entschlüsselt.

{% endif %}
{% if lang == "en" %} {% include "partials/_landing_shot.html" with name="monitoring" height=345 alt="Monitoring page with three service tiles, one of them failing" caption="billing-worker fails its health check; shop-api and web-shop are healthy." %} {% else %} {% include "partials/_landing_shot.html" with name="monitoring" height=345 alt="Monitoring-Seite mit drei Dienst-Kacheln, eine davon fehlerhaft" caption="billing-worker fällt durch die Health-Prüfung; shop-api und web-shop sind gesund." %} {% endif %}
{# Infrastruktur #}
{% if lang == "en" %}

3 · Infrastructure — apps and scheduled deploys

Everything that runs at the provider, in three groups: the Forge components (server, staging server, forge-ops, runner), the tenant services (known from their ops manifests) and other apps of the organisation. Per app: machine state, region, memory used vs. configured, volume, the deployed image, the latest check and open orders.

Scheduled deploys stand at the top: one-off deploys at a chosen time and recurring schedules, each with its time in the tenant's time zone. They can be paused, resumed or cancelled — always with a fresh six-digit code; the runner carries out the order and acknowledges it.

The chips above the tables sum up the page: apps, running machines, open orders, red findings.

{% else %}

3 · Infrastruktur — Apps und geplante Deploys

Alles, was beim Anbieter läuft, in drei Gruppen: die Forge-Komponenten (Server, Staging-Server, forge-ops, Runner), die Dienste der Tenants (bekannt aus ihren Ops-Manifesten) und die übrigen Apps der Organisation. Je App: Maschinenzustand, Region, Speicher belegt gegen konfiguriert, Volume, das ausgerollte Image, die jüngste Prüfung und offene Aufträge.

Geplante Deploys stehen oben: einmalige zu einer gewählten Zeit und wiederkehrende Zeitpläne, je mit Uhrzeit in der Zeitzone des Tenants. Sie lassen sich pausieren, fortsetzen oder abbrechen — immer mit frischem sechsstelligem Code; der Runner führt den Auftrag aus und quittiert ihn.

Die Marken über den Tabellen fassen die Seite zusammen: Apps, laufende Maschinen, offene Aufträge, rote Befunde.

{% endif %}
{% if lang == "en" %} {% include "partials/_landing_shot.html" with name="infra-plan" height=280 alt="Infrastructure page with two scheduled deploys and the Forge components" caption="A recurring staging deploy and a one-off prod deploy of v1.4." %} {% include "partials/_landing_shot.html" with name="infra-confirm" height=120 alt="Cancelling a scheduled deploy asks for a six-digit code" caption="Cancel or pause only with a fresh one-time code." %} {% include "partials/_landing_shot.html" with name="infra-services" height=290 alt="Table of tenant services with state, memory, volume, deployment and last check" caption="Tenant services: the failing check and its waiting restart order are marked red." %} {% else %} {% include "partials/_landing_shot.html" with name="infra-plan" height=280 alt="Infrastruktur-Seite mit zwei geplanten Deploys und den Forge-Komponenten" caption="Ein wiederkehrender Staging-Deploy und ein einmaliger Prod-Deploy von v1.4." %} {% include "partials/_landing_shot.html" with name="infra-confirm" height=120 alt="Das Abbrechen eines geplanten Deploys verlangt einen sechsstelligen Code" caption="Abbrechen oder pausieren nur mit frischem Einmal-Code." %} {% include "partials/_landing_shot.html" with name="infra-services" height=290 alt="Tabelle der Tenant-Dienste mit Zustand, Speicher, Volume, Deployment und letzter Prüfung" caption="Dienste der Tenants: die fehlgeschlagene Prüfung und ihr wartender Neustart-Auftrag sind rot markiert." %} {% endif %}
{# Deployments #}
{% if lang == "en" %}

4 · Infrastructure — deployments

The second tab of the infrastructure page shows what the runners did in the last 1, 6, 12 or 24 hours: runs, successes, failures, the median duration and the ops commands.

  • Timeline — one lane per project; a run is a box (green, red, blue while running, dashed when planned), an ops command a diamond.
  • Pipeline run — a click on a run shows its stages: lease, prepare, test, build image, deploy, health check, receipt — each with time and duration, plus the step log.
  • Runners with their last sign of life, next up from the plan and an event log filterable by deploys, failures and ops commands.

The runner reports only stage, time, outcome and a failure class — never output or test names, so nothing from the project leaves it.

{% else %}

4 · Infrastruktur — Deployments

Der zweite Reiter der Infrastruktur-Seite zeigt, was die Runner in den letzten 1, 6, 12 oder 24 Stunden getan haben: Läufe, Erfolge, Fehlschläge, die mittlere Dauer und die Ops-Befehle.

  • Zeitleiste — eine Bahn je Projekt; ein Lauf ist ein Kästchen (grün, rot, blau während er läuft, gestrichelt wenn geplant), ein Ops-Befehl eine Raute.
  • Pipeline-Lauf — ein Klick auf einen Lauf zeigt seine Stufen: Sperre, Vorbereitung, Test, Image bauen, Deploy, Health-Prüfung, Quittung — je mit Zeit und Dauer, dazu das Stufen-Protokoll.
  • Runner mit ihrem letzten Lebenszeichen, als Nächstes aus dem Plan und ein Ereignis-Protokoll, filterbar nach Deploys, Fehlschlägen und Ops-Befehlen.

Der Runner meldet nur Stufe, Zeit, Ausgang und eine Fehlerklasse — nie Ausgaben oder Testnamen; aus dem Projekt verlässt nichts den Runner.

{% endif %}
{% if lang == "en" %} {% include "partials/_landing_shot.html" with name="infra-deploys" height=320 alt="Deployments tab with key figures and a timeline per project" caption="Key figures and the timeline of the last 12 hours." %} {% include "partials/_landing_shot.html" with name="infra-pipeline" height=240 alt="A pipeline run with seven green stages and its log" caption="A run of shop-api to staging, stage by stage." %} {% else %} {% include "partials/_landing_shot.html" with name="infra-deploys" height=320 alt="Reiter Deployments mit Kennzahlen und einer Zeitleiste je Projekt" caption="Kennzahlen und die Zeitleiste der letzten 12 Stunden." %} {% include "partials/_landing_shot.html" with name="infra-pipeline" height=240 alt="Ein Pipeline-Lauf mit sieben grünen Stufen und seinem Protokoll" caption="Ein Lauf von shop-api nach Staging, Stufe für Stufe." %} {% endif %}
{# Operations #}
{% if lang == "en" %}

5 · Operations

Per project and environment: which snapshot and image run there, how the service heals itself, and the latest finding of the monitor (here: HTTP 503 on /health/).

Restart and Roll back need a fresh two-factor code and take an optional reason. The server stores a signed command; the runner carries it out at once — without waiting for a deploy window — and writes a receipt.

Under Recent commands every command stays with who issued it, when and why, and the runner's answer — self-healing by forge-ops shows up here just like a click in the web.

{% else %}

5 · Operations

Je Projekt und Umgebung: welcher Snapshot und welches Image dort laufen, wie der Dienst sich selbst heilt, und der jüngste Befund der Überwachung (hier: HTTP 503 auf /health/).

Restart und Roll back verlangen einen frischen Zwei-Faktor-Code und nehmen einen Grund auf. Der Server legt einen signierten Befehl ab; der Runner führt ihn sofort aus — ohne auf ein Deploy-Fenster zu warten — und schreibt eine Quittung.

Unter Recent commands bleibt jeder Befehl mit Absender, Zeit und Grund und der Antwort des Runners stehen — die Selbstheilung durch forge-ops erscheint hier genauso wie ein Klick im Web.

{% endif %}
{% if lang == "en" %} {% include "partials/_landing_shot.html" with name="operations" height=360 alt="Operations page: a failing prod environment with a waiting restart command and the restart and roll back buttons" caption="billing-worker: self-healing has queued a restart; the previous one succeeded after 14 s." %} {% else %} {% include "partials/_landing_shot.html" with name="operations" height=360 alt="Operations-Seite: eine fehlerhafte Prod-Umgebung mit wartendem Neustart-Befehl und den Knöpfen Restart und Roll back" caption="billing-worker: Die Selbstheilung hat einen Neustart angestossen; der vorige war nach 14 s erfolgreich." %} {% endif %}
{# ========================================================== IDE-Anbindung #} {# ================================================================== Build #} {# ============================================================ forge.toml #}
{% if lang == "en" %}

One file controls the pipeline: forge.toml

Every project carries a contract in its root. It says what may come in, when a test, a build and a deploy count as successful, when production changes, and what happens when the running system fails. Forge executes what stands there — nothing more and nothing less. The file is versioned and reviewed like any other code, so a change to the pipeline is a change like any other.

{% else %}

Eine Datei steuert die Pipeline: forge.toml

Jedes Projekt trägt im Stamm einen Vertrag. Er sagt, was hinein darf, wann Test, Bau und Deploy als erfolgreich gelten, wann sich Produktion ändert und was geschieht, wenn das laufende System ausfällt. Forge führt aus, was dort steht — nicht mehr und nicht weniger. Die Datei wird wie jeder andere Code versioniert und geprüft; eine Änderung an der Pipeline ist darum ein Change wie jeder andere.

{% endif %}
{% if lang ==
{% if lang == "en" %}Code, Build and Run hand over through signed entries only: the deploy job, the ops manifest and the ops command. Click to enlarge.{% else %}Code, Build und Run übergeben nur über unterschriebene Einträge: Deploy-Auftrag, Ops-Manifest und Ops-Befehl. Klick vergrössert.{% endif %}

{% if lang == "en" %}Which section controls which stage{% else %}Welcher Abschnitt welche Stufe steuert{% endif %}

{% if lang == "en" %} {% else %} {% endif %}
{% if lang == "en" %}Section{% else %}Abschnitt{% endif %} {% if lang == "en" %}Decides{% else %}Legt fest{% endif %} {% if lang == "en" %}Executed by{% else %}Ausgeführt von{% endif %}
[project] · [docs]name and kind; which documents must exist; documentation generated from the codeforge check, forge doc
[packages]what may come from outside: exact pins, images with tag or digest, mirror only, quarantine, blocked vulnerabilitiesforge check, runner
[test]when a test is successful: commands, timeout, coverage; with where = "runner" again in the runner before every builddevice, runner
[review]approval before forge land: self, two (four eyes) or offforge land, precondition review
[build]how the image is made: Dockerfile, context, args, builderrunner
[deploy.<env>]when a deploy is successful and when it may happen: requires, success, on_failure, window, freeze, batch, imagerunner, ordered with forge deploy or by the batch
[deploy.defaults]shared values for every environment; each environment overrides what it names—
[running]when the application counts as runningforge-ops
[monitor] · [[monitor.check]]what is watched, how often, in which environments, and when an alarm goes outforge-ops; checks inside the machine: runner
[monitor.<env>]self-healing (on_failure), autoscaling (scaling) and performance curvesforge-ops decides, the runner acts
[schedule.<name>]planned tasks: a nightly test or a deploy at a fixed timerunner
[project] · [docs]Name und Art; welche Dokumente vorhanden sein müssen; Doku aus dem Codeforge check, forge doc
[packages]was von aussen kommen darf: exakte Pins, Images mit Tag oder Digest, nur aus dem Spiegel, Wartezeit, gesperrte Schwachstellenforge check, Runner
[test]wann ein Test erfolgreich ist: Befehle, Frist, Abdeckung; mit where = "runner" erneut im Runner vor jedem BauGerät, Runner
[review]Freigabe vor forge land: self, two (vier Augen) oder offforge land, Vorbedingung review
[build]wie das Image entsteht: Dockerfile, Kontext, Argumente, BuilderRunner
[deploy.<umgebung>]wann ein Deploy erfolgreich ist und wann er stattfinden darf: requires, success, on_failure, window, freeze, batch, imageRunner, beauftragt mit forge deploy oder durch den Batch
[deploy.defaults]gemeinsame Vorgaben aller Umgebungen; jede überschreibt, was sie selbst nennt—
[running]wann die Anwendung als laufend giltforge-ops
[monitor] · [[monitor.check]]was wie oft in welchen Umgebungen beobachtet wird und wann ein Alarm hinausgehtforge-ops; Prüfungen in der Maschine: Runner
[monitor.<umgebung>]Selbstheilung (on_failure), Autoscaling (scaling) und Performance-Kurvenforge-ops entscheidet, der Runner handelt
[schedule.<name>]geplante Aufgaben: nächtlicher Test oder Deploy zu fester UhrzeitRunner

{% if lang == "en" %}A complete contract — from land to self-healing{% else %}Ein vollständiger Vertrag — vom Abschliessen bis zur Selbstheilung{% endif %}

{% if lang == "en" %}
contract = 1

[project]
name = "ms-notes-service"
kind = "django"

[packages]                        # what may come in
mirror = "only"                   # build only from the signed mirror
python = "requirements.txt"
images = ["python:3.14-slim@sha256:…"]

[test]                            # green before anything is built
run      = ["pytest -q"]
coverage = { min = 60, report = "coverage.xml" }
where    = "runner"

[build]
builder = "runner"                # offline, built exactly once

[deploy.defaults]
target = "fly"
region = "fra"
success = { health = "/health/", within_s = 90, version = "/version/" }

[deploy.staging]                  # every landed change, at once
app  = "ms-notes-service-staging"
requires = ["test"]
auto = "on_land"

[deploy.prod]                     # once a day, what proved itself
app      = "ms-notes-service"
requires = ["test", "review", "deploy.staging",
            "project:ms-postgres/prod"]
image    = "from:staging"         # same digest, no rebuild
batch    = "daily 20:00"
window   = ["daily 19:00-21:00"]
freeze   = ["2026-12-20..2027-01-05"]
on_failure = "rollback"

[monitor]                         # watched in prod (default)
every_s = 60
alert = ["mail"]
watch = ["health", "restarts", "memory_over_pct:90"]

[[monitor.check]]
name   = "notes-api"
http   = { get = "/api/notes/?limit=1" }
expect = { json = "results", max_ms = 800 }
heal   = true

[monitor.prod]
on_failure = { action = "rollback", after = 3, cooldown = 300 }
scaling    = { watch = "memory_over_pct:90", action = "scale",
               machines = 2, memory_mb = 1024, after = 5 }

[review]
rule = "self"
{% else %}
contract = 1

[project]
name = "ms-notes-service"
kind = "django"

[packages]                        # was hinein darf
mirror = "only"                   # nur aus dem unterschriebenen Spiegel
python = "requirements.txt"
images = ["python:3.14-slim@sha256:…"]

[test]                            # grün, bevor gebaut wird
run      = ["pytest -q"]
coverage = { min = 60, report = "coverage.xml" }
where    = "runner"

[build]
builder = "runner"                # ohne Netz, genau einmal gebaut

[deploy.defaults]
target = "fly"
region = "fra"
success = { health = "/health/", within_s = 90, version = "/version/" }

[deploy.staging]                  # jeder abgeschlossene Change, sofort
app  = "ms-notes-service-staging"
requires = ["test"]
auto = "on_land"

[deploy.prod]                     # einmal am Tag, was sich bewährt hat
app      = "ms-notes-service"
requires = ["test", "review", "deploy.staging",
            "project:ms-postgres/prod"]
image    = "from:staging"         # derselbe Digest, kein Neubau
batch    = "daily 20:00"
window   = ["daily 19:00-21:00"]
freeze   = ["2026-12-20..2027-01-05"]
on_failure = "rollback"

[monitor]                         # überwacht in prod (Vorgabe)
every_s = 60
alert = ["mail"]
watch = ["health", "restarts", "memory_over_pct:90"]

[[monitor.check]]
name   = "notes-api"
http   = { get = "/api/notes/?limit=1" }
expect = { json = "results", max_ms = 800 }
heal   = true

[monitor.prod]
on_failure = { action = "rollback", after = 3, cooldown = 300 }
scaling    = { watch = "memory_over_pct:90", action = "scale",
               machines = 2, memory_mb = 1024, after = 5 }

[review]
rule = "self"
{% endif %}
{% if lang == "en" %}

How a change travels

  1. forge check validates the contract, the pins and the documents and runs [test] for exactly this snapshot.
  2. forge land needs the passed check and the approval from [review].
  3. auto = "on_land" orders staging: the runner tests again offline, builds once, rolls out and runs success.
  4. The runner pre-checks the state for prod; at the batch time it promotes the staging digest — inside window, never during freeze, only when the projects in requires run ok.
  5. On deploy the runner leaves a signed ops manifest; from then on forge-ops watches what [monitor] names.
  6. Persistent failure: on_failure restarts or rolls back, scaling adds machines or memory — always as a signed ops command that the runner executes.
{% else %}

Der Weg eines Changes

  1. forge check prüft Vertrag, Pins und Dokumente und führt [test] für genau diesen Snapshot aus.
  2. forge land verlangt die bestandene Prüfung und die Freigabe nach [review].
  3. auto = "on_land" beauftragt Staging: Der Runner testet erneut ohne Netz, baut einmal, rollt aus und prüft success.
  4. Der Runner prüft den Stand für prod vor; zur batch-Uhrzeit übernimmt er den Staging-Digest — innerhalb von window, nie während freeze, nur wenn die Projekte aus requires ok laufen.
  5. Beim Deploy legt der Runner ein unterschriebenes Ops-Manifest ab; ab dann überwacht forge-ops, was [monitor] nennt.
  6. Anhaltender Fehler: on_failure startet neu oder rollt zurück, scaling gibt Maschinen oder Speicher dazu — immer als unterschriebener Ops-Befehl, den der Runner ausführt.
{% endif %}
{% if lang == "en" %}

Rules of the file

  • Strict: unknown sections and keys are errors — a typo never switches a rule off silently.
  • No secrets: secrets only names what must exist at the provider; secret_store names values the runner sets from Forge's encrypted store.
  • Defaults keep behaviour: a new key never changes an existing contract; a new meaning raises contract.
  • Mergeable: [deploy.defaults] applies to every environment; env and success are merged key by key.
  • Plain text where needed: monitoring parts travel in the ops manifest unencrypted — no secrets in paths, queries or expected values.
{% else %}

Regeln der Datei

  • Streng: Unbekannte Abschnitte und Schlüssel sind Fehler — ein Tippfehler schaltet nie still eine Regel ab.
  • Keine Geheimnisse: secrets nennt nur, was beim Anbieter vorhanden sein muss; secret_store nennt Werte, die der Runner aus dem verschlüsselten Speicher von Forge setzt.
  • Vorgaben erhalten das Verhalten: Ein neuer Schlüssel ändert keinen bestehenden Vertrag; eine neue Bedeutung erhöht contract.
  • Zusammenführbar: [deploy.defaults] gilt für jede Umgebung; env und success werden Schlüssel für Schlüssel gemischt.
  • Klartext, wo nötig: Überwachungsangaben reisen unverschlüsselt im Ops-Manifest — keine Geheimnisse in Pfade, Abfragen oder erwartete Werte.
{% endif %}

{% if lang == "en" %}Commands{% else %}Befehle{% endif %}

forge check --contract-only{% if lang == "en" %}validate the contract only{% else %}nur den Vertrag prüfen{% endif %}
forge check{% if lang == "en" %}contract, pins, documents, tests — result signed{% else %}Vertrag, Pins, Dokumente, Tests — Ergebnis unterschrieben{% endif %}
forge doc{% if lang == "en" %}writes docs/BETRIEB.md from the contract{% else %}schreibt docs/BETRIEB.md aus dem Vertrag{% endif %}
forge deploy <env>{% if lang == "en" %}order the runner now (hotfix), or with --at{% else %}den Runner sofort beauftragen (Hotfix) oder mit --at{% endif %}
forge deploys{% if lang == "en" %}what runs where, and the last jobs{% else %}was wo läuft, und die letzten Aufträge{% endif %}
{% if lang == "en" %}

Build once, offline, from signed packages

Forge builds a container image exactly once per state, tests it before it is built, and carries it unchanged by digest from staging to prod. With the package mirror the runner builds without network: only packages that are signed, approved and free of known vulnerabilities get in. What is allowed stands in the contract forge.toml; details in the user guide, chapters 4 and 7.

{% else %}

Einmal bauen, ohne Netz, aus unterschriebenen Paketen

Forge baut ein Container-Image je Stand genau einmal, testet vor dem Bau und bringt es per Digest unverändert von Staging nach Prod. Mit dem Paket-Spiegel baut der Runner ohne Netz: Hinein kommt nur, was unterschrieben, freigegeben und ohne bekannte Schwachstelle ist. Was erlaubt ist, steht im Projektvertrag forge.toml; Einzelheiten im Handbuch, Kapitel 4 und 7.

{% endif %}
{% if lang ==
{% if lang == "en" %}From the saved state to production: tested before it is built, built once, promoted by digest. Click to enlarge.{% else %}Vom gesicherten Stand bis Produktion: vor dem Bau getestet, einmal gebaut, per Digest befördert. Klick vergrössert.{% endif %}
{% if lang == "en" %}

1 · What may come in

Every dependency is pinned exactly; images need a tag or digest, never latest. forge check refuses anything else.

{% else %}

1 · Was hinein darf

Jede Abhängigkeit ist exakt gepinnt; Images brauchen Tag oder Digest, nie latest. forge check lehnt alles andere ab.

{% endif %}
[packages]
mirror = "only"
python = "requirements.txt"
cargo  = "Cargo.lock"
images = ["python:3.14-slim@sha256:…"]
quarantine_days = 7
block_on = ["critical", "high"]
{% if lang == "en" %}

2 · The package mirror

  • A device fetches packages from PyPI, crates.io, npm and image registries with forge mirror sync and checks them against OSV; the runner never goes online for packages.
  • Every entry is signed; a package is used only when its name is approved (forge mirror approve), the quarantine has passed and OSV reports nothing from block_on.
  • The mirror report per project lists why a package is not ready and the next ready version.
  • Libraries such as Bootstrap come from the mirror with forge mirror use, with a SHA-256 per file.
{% else %}

2 · Der Paket-Spiegel

  • Ein Gerät holt Pakete aus PyPI, crates.io, npm und Image-Registries mit forge mirror sync und prüft sie gegen OSV; der Runner geht für Pakete nie ins Netz.
  • Jeder Eintrag ist unterschrieben; verbaut wird ein Paket nur, wenn sein Name freigegeben ist (forge mirror approve), die Wartezeit vorbei ist und OSV nichts aus block_on meldet.
  • Der Spiegel-Bericht je Projekt nennt, warum ein Paket nicht bereit ist, und die nächste bereite Version.
  • Bibliotheken wie Bootstrap kommen mit forge mirror use aus dem Spiegel, mit SHA-256 je Datei.
{% endif %}
{% if lang == "en" %}

3 · Tests before the build

forge check runs the tests on your device and records the result for exactly this snapshot. With where = "runner" the runner repeats them in a test image without network before every build — red means nothing is built.

{% else %}

3 · Tests vor dem Bau

forge check führt die Tests auf dem Gerät aus und hält das Ergebnis für genau diesen Snapshot fest. Mit where = "runner" wiederholt der Runner sie vor jedem Bau in einem Test-Image ohne Netz — rot heisst: Es wird nicht gebaut.

{% endif %}
[test]
run      = ["pytest -q"]
coverage = { min = 60, report = "coverage.xml" }
where    = "runner"
target   = "test"
services = ["postgres:17"]
{% if lang == "en" %}

4 · Built once, promoted by digest

The runner builds the image itself (builder = "runner") or lets the provider's builder do it. Prod takes over the image that already ran in staging — no recompiling, no new layer. forge build builds on your device exactly like the runner, offline from the mirror.

{% else %}

4 · Einmal gebaut, per Digest befördert

Der Runner baut das Image selbst (builder = "runner") oder überlässt es dem Builder des Anbieters. Prod übernimmt das Image, das schon in Staging lief — kein Neukompilieren, keine neue Schicht. forge build baut auf dem Gerät genau wie der Runner, ohne Netz aus dem Spiegel.

{% endif %}
[build]
builder = "runner"
dockerfile = "Dockerfile"

[deploy.prod]
requires = ["test", "deploy.staging"]
image = "from:staging"
{# ======================================================= Deploy & Überwachung #}
{% if lang == "en" %}

Deploy on time, in the right order — and watch that it works

Everything below is described in the project's contract forge.toml. The runner executes it; you can close your laptop after forge deploy. Details and all keys: the user guide, chapter 4.

{% else %}

Pünktlich und in der richtigen Reihenfolge ausrollen — und prüfen, dass es läuft

Alles hier steht im Projektvertrag forge.toml. Der Runner führt es aus; nach forge deploy darf der Laptop zu sein. Einzelheiten und alle Schlüssel: das Handbuch, Kapitel 4.

{% endif %}
{% if lang ==
{% if lang == "en" %}A day with batch = "daily 20:00": errors show up in the afternoon, not at 20:00. Click to enlarge.{% else %}Ein Tag mit batch = "daily 20:00": Fehler zeigen sich am Nachmittag, nicht um 20 Uhr. Klick vergrössert.{% endif %}
{% if lang == "en" %} {% else %} {% endif %}
{% if lang == "en" %}Batch state on the Infrastructure page{% else %}Zustand des Batches auf der Infrastruktur-Seite{% endif %} {% if lang == "en" %}Meaning{% else %}Bedeutung{% endif %}
readypre-check passed — at the batch time the state goes out
blockedwith a class: precondition (e.g. approval missing), dependency (another project missing or unhealthy), config (provider configuration or secrets), no-image, prepare — re-checked every 10 minutes
livethe newest proven state already runs in prod — nothing to do
none · uncheckednothing proven in staging yet, or not checked yet
readyVorprüfung bestanden — zur Batch-Uhrzeit geht der Stand hinaus
blockedmit Klasse: precondition (z.B. Freigabe fehlt), dependency (anderes Projekt fehlt oder ist krank), config (Anbieter-Konfiguration oder Secrets), no-image, prepare — alle 10 Minuten erneut geprüft
liveder jüngste bewährte Stand läuft schon in prod — nichts zu tun
none · uncheckednoch nichts in Staging bewährt, oder noch nicht geprüft
{% if lang == "en" %}

1 · Batch deploy at a fixed time

Production changes once a day — by default at 20:00 — with everything that proved itself in staging during the day.

{% else %}

1 · Batch-Deploy zu fester Uhrzeit

Produktion ändert sich einmal am Tag — Vorgabe 20:00 — mit allem, was sich tagsüber in Staging bewährt hat.

{% endif %}
[deploy.prod]
requires = ["test", "review", "deploy.staging"]
image    = "from:staging"
batch    = "daily 20:00"
{% if lang == "en" %}
  1. A state runs successfully in staging.
  2. The runner pre-checks it for prod: preconditions, provider configuration, secrets, staging image — without rolling out.
  3. At 20:00 it takes over the staging image by digest and switches: no tests, no build.
  4. Pre-check failed? The batch is skipped, the Infrastructure page says why; batches can be paused there.
{% else %}
  1. Ein Stand läuft erfolgreich in Staging.
  2. Der Runner prüft ihn für prod vor: Vorbedingungen, Anbieter-Konfiguration, Secrets, Staging-Image — ohne auszurollen.
  3. Um 20:00 übernimmt er das Staging-Image per Digest und schaltet um: kein Test, kein Bau.
  4. Vorprüfung nicht bestanden? Der Batch fällt aus, die Infrastruktur-Seite nennt den Grund; dort lässt er sich auch pausieren.
{% endif %}
{% if lang == "en" %}

2 · Deploy at a chosen time

The job lies encrypted in storage; the runner executes it when it is due.

{% else %}

2 · Ausrollen zu gewählter Zeit

Der Auftrag liegt verschlüsselt im Speicher; der Runner führt ihn aus, wenn er fällig ist.

{% endif %}
forge deploy prod --at "2026-11-07 22:30"{% if lang == "en" %}earliest time for one job{% else %}frühester Zeitpunkt eines Auftrags{% endif %}
window = ["Sat 22:00-24:00"]{% if lang == "en" %}roll out only inside windows{% else %}nur in Zeitfenstern ausrollen{% endif %}
freeze = ["2026-12-20..2027-01-05"]{% if lang == "en" %}blackout days: everything waits{% else %}Sperrzeit: alles wartet{% endif %}
expires_after_s = 1800{% if lang == "en" %}a job without window lapses after 30 min{% else %}ohne Fenster verfällt ein Auftrag nach 30 min{% endif %}
timezone = "Europe/Zurich"{% if lang == "en" %}time zone of all times{% else %}Zeitzone aller Angaben{% endif %}

{% if lang == "en" %}Waiting jobs show their reason on the Infrastructure page and can be paused, resumed or cancelled there. Restart and rollback after a failure ignore windows.{% else %}Wartende Aufträge zeigen ihren Grund auf der Infrastruktur-Seite und lassen sich dort pausieren, fortsetzen oder abbrechen. Neustart und Rollback nach einem Fehler gelten auch ausserhalb der Fenster.{% endif %}

{% if lang == "en" %}

3 · Dependencies between projects

A service names what must run first — the database before the API, the API before the frontend.

{% else %}

3 · Abhängigkeiten zwischen Projekten

Ein Dienst nennt, was vorher laufen muss — die Datenbank vor der API, die API vor dem Frontend.

{% endif %}
[deploy.prod]
requires = ["test", "deploy.staging",
            "project:ms-postgres/prod",
            "project:ms-redis/prod"]
{% if lang == "en" %}
  • ok means: deployed through Forge, newest health finding not red, no rollout of its own still open.
  • Not ok yet? The job waits ("waits for ms-postgres/prod") until its deadline or window ends.
  • In a joint rollout such as the 20:00 batch the order follows by itself: database, services, frontend.
  • Rollbacks never wait.
{% else %}
  • ok heisst: über Forge ausgerollt, jüngster Gesundheits-Befund nicht rot, kein eigener Rollout offen.
  • Noch nicht ok? Der Auftrag wartet («wartet auf ms-postgres/prod») bis zu seiner Frist oder zum Ende des Fensters.
  • Bei gemeinsamem Ausrollen, etwa im 20-Uhr-Batch, ergibt sich die Reihenfolge von selbst: Datenbank, Dienste, Frontend.
  • Ein Rollback wartet auf niemanden.
{% endif %}
{% if lang == "en" %}

4 · Monitoring: ports, health, functions

{% else %}

4 · Überwachung: Ports, Gesundheit, Funktionen

{% endif %}
{% if lang == "en" %}Level{% else %}Ebene{% endif %}{% if lang == "en" %}In the contract{% else %}Im Vertrag{% endif %}{% if lang == "en" %}Checks{% else %}Prüft{% endif %}
{% if lang == "en" %}Port{% else %}Port{% endif %}success = { tcp = true }{% if lang == "en" %}Postgres, Redis, mail: machine runs at the provider{% else %}Postgres, Redis, Mail: Maschine läuft beim Anbieter{% endif %}
Deploysuccess = { health, version, checks }{% if lang == "en" %}new version answers and reports its change{% else %}neue Version antwortet und meldet ihren Change{% endif %}
{% if lang == "en" %}Health{% else %}Gesundheit{% endif %}[monitor] watch{% if lang == "en" %}every minute: health, restarts, memory{% else %}jede Minute: Health, Neustarts, Speicher{% endif %}
{% if lang == "en" %}Function{% else %}Funktion{% endif %}[[monitor.check]]http, deep, postgres, redis, command
[[monitor.check]]
name   = "notes-api"
http   = { get = "/api/notes/?limit=1" }
expect = { json = "results", max_ms = 800 }
heal   = true

{% if lang == "en" %}Three failures in a row raise an alarm; with [monitor.prod] on_failure the runner restarts, rolls back or scales — signed, with cooldown and attempt limit (section 5). Findings never contain the response itself.{% else %}Drei Fehlschläge in Folge lösen Alarm aus; mit [monitor.prod] on_failure startet der Runner neu, rollt zurück oder skaliert — signiert, mit Pause und Versuchs-Grenze (Abschnitt 5). Befunde enthalten nie die Antwort selbst.{% endif %}

{% if lang == "en" %}

5 · Self-healing and scaling — watch, decide, act

forge-ops watches what the runner wrote into the ops manifest at deploy. It holds no project keys and never touches a machine: when a rule fires it writes a signed ops command, and only the runner executes it — at once, also outside window and freeze, because the service is already broken — and signs a receipt. Owners can send the same commands by hand from the Operations page or the Forge app, each with a fresh one-time code (in the app also Face ID).

{% else %}

5 · Selbstheilung und Skalierung — beobachten, entscheiden, handeln

forge-ops überwacht, was der Runner beim Deploy ins Ops-Manifest geschrieben hat. Es hält keinen Projekt-Schlüssel und fasst nie eine Maschine an: Greift eine Regel, legt es einen unterschriebenen Ops-Befehl ab, und nur der Runner führt ihn aus — sofort, auch ausserhalb von window und freeze, weil der Dienst schon gestört ist — und quittiert unterschrieben. Owner schicken dieselben Befehle von Hand über die Operations-Seite oder die Forge-App, je mit frischem Einmal-Code (in der App auch Face ID).

{% endif %}
{% if lang ==
{% if lang == "en" %}Every step is a signed entry: manifest, finding, command, receipt. Click to enlarge.{% else %}Jeder Schritt ist ein unterschriebener Eintrag: Manifest, Befund, Befehl, Quittung. Klick vergrössert.{% endif %}
{% if lang == "en" %}

Self-healing: on_failure

Fires when health — or a [[monitor.check]] with heal = true — fails after times in a row.

{% else %}

Selbstheilung: on_failure

Greift, wenn health — oder ein [[monitor.check]] mit heal = true — after-mal in Folge scheitert.

{% endif %}
[monitor.prod]
on_failure = { action = "restart", after = 3,
               cooldown = 300, max_attempts = 2,
               escalate = ["mail"] }
restart{% if lang == "en" %}restart the machines of the environment{% else %}Maschinen der Umgebung neu starten{% endif %}
rollback · promote_prev{% if lang == "en" %}the last good digest again — no rebuild{% else %}den letzten guten Digest zurück — kein Neubau{% endif %}
scale{% if lang == "en" %}more machines and memory (see right){% else %}mehr Maschinen und Speicher (siehe rechts){% endif %}
cooldown · max_attempts{% if lang == "en" %}pause between actions and an upper limit — then escalate (default: the alert channels){% else %}Pause zwischen zwei Aktionen und Obergrenze — danach escalate (Vorgabe: die alert-Kanäle){% endif %}
{% if lang == "en" %}

Autoscaling: scaling

Fires on a metric instead of a failure — e.g. memory above 90 % five times in a row.

{% else %}

Autoscaling: scaling

Greift bei einer Kennzahl statt bei einem Ausfall — z.B. Speicher fünfmal in Folge über 90 %.

{% endif %}
[monitor]
watch = ["health", "memory_over_pct:90"]

[monitor.prod]
on_failure = { action = "restart" }
scaling = { watch = "memory_over_pct:90",
            action = "scale", machines = 2,
            memory_mb = 1024, after = 5,
            cooldown = 900 }
{% if lang == "en" %}
  • The metric in scaling.watch must also be listed in [monitor] watch — only watched metrics are measured. restarts and memory_over_pct:<n> are useful; health belongs to on_failure.
  • scale sets both targets: machines (default 2) and memory_mb (default 1024). Set memory_mb to today's value if you only want more machines.
  • Scaling goes up only; Forge never scales back down by itself — do that at the provider once the load is gone.
  • on_failure stays required in every [monitor.<env>].
{% else %}
  • Die Kennzahl aus scaling.watch muss auch in [monitor] watch stehen — gemessen wird nur, was beobachtet wird. Sinnvoll sind restarts und memory_over_pct:<n>; health gehört zu on_failure.
  • scale setzt beide Ziele: machines (Vorgabe 2) und memory_mb (Vorgabe 1024). Wer nur mehr Maschinen will, setzt memory_mb auf den heutigen Wert.
  • Skaliert wird nur nach oben; zurück skaliert Forge nie von selbst — das geschieht beim Anbieter, wenn die Last vorbei ist.
  • on_failure bleibt in jedem [monitor.<umgebung>] Pflicht.
{% endif %}
{% if lang == "en" %}

Which environments are watched

By default only prod. Test environments may sleep with autostop — a check every minute would wake them and cost money. Watch staging as well with:

{% else %}

Welche Umgebungen überwacht werden

Ohne Angabe nur prod. Test-Umgebungen dürfen mit autostop schlafen — eine Prüfung jede Minute würde sie wecken und kostet Geld. Staging zusätzlich überwachen:

{% endif %}
[monitor]
env = ["prod", "staging"]

{% if lang == "en" %}Unwatched environments get no checks, findings, healing or alarms; the Monitoring page shows «not monitored». Where forge-ops lacks a provider token the finding is «not observable», never «unhealthy».{% else %}Nicht überwachte Umgebungen bekommen keine Prüfung, keinen Befund, keine Heilung und keinen Alarm; die Monitoring-Seite zeigt «not monitored». Fehlt forge-ops ein Anbieter-Token, lautet der Befund «not observable», nie «krank».{% endif %}

{% if lang == "en" %}

Performance curves

Name the database and Redis that belong to an environment and the key figures the Monitoring page draws as curves. Measured at the provider; the apps need an exporter.

{% else %}

Performance-Kurven

Nennt Datenbank und Redis einer Umgebung und die Kennzahlen, die die Monitoring-Seite als Kurven zeigt. Gemessen beim Anbieter; die Apps brauchen einen Exporter.

{% endif %}
[monitor.prod.performance]
database = "ms-postgres"
cache    = "ms-redis"
show = ["http_p95_ms", "http_rps", "http_error_pct",
        "db_connections_pct", "redis_memory_pct"]
{% if lang == "en" %}

6 · The service map — how all services fit together

One project of a tenant keeps a map of all services as JSON ([docs] service_map = "docs/service-map.json"). After its deploy, every project's Documentation tab shows it interactively: services in columns, their connections, views, details on click and — for owners — the live status from monitoring. The browser decrypts the map; the server only knows its path. The picture shows Forge's own map.

{% else %}

6 · Die Service-Landkarte — wie alle Dienste zusammenhängen

Ein Projekt des Tenants führt eine Karte aller Dienste als JSON ([docs] service_map = "docs/service-map.json"). Nach seinem Deploy zeigt der Reiter Dokumentation jedes Projekts sie interaktiv: Dienste in Spalten, ihre Verbindungen, Ansichten, Details per Klick und — für Owner — den Live-Status aus dem Monitoring. Der Browser entschlüsselt die Karte; der Server kennt nur ihren Pfad. Das Bild zeigt die Karte von Forge selbst.

{% endif %}
{% if lang ==
{% if lang == "en" %}Solid: synchronous call · dashed: asynchronous or fallback. Click to enlarge.{% else %}Durchgezogen: direkter Aufruf · gestrichelt: asynchron oder Ausweichweg. Klick vergrössert.{% endif %}
{% if lang == "en" %}

Forge in RustRover and PyCharm

Forge is not Git, so the IDEs show no VCS menu. Instead Forge brings shared run configurations, External Tools and a diff script; the IDE's local history covers the time between two forge save. Everything runs through the forge CLI on your Mac — decrypted content never leaves the device.

{% else %}

Forge in RustRover und PyCharm

Forge ist kein Git, darum zeigen die IDEs kein VCS-Menü. Stattdessen bringt Forge geteilte Run-Configurations, External Tools und ein Diff-Skript mit; die Local History der IDE deckt die Zeit zwischen zwei forge save ab. Alles läuft über die CLI forge auf deinem Mac — entschlüsselte Inhalte verlassen das Gerät nicht.

{% endif %}
{% if lang == "en" %}

1 · Open the projects

  • RustRover opens the repository root (the Cargo workspace is detected).
  • PyCharm opens server/ as its own project, interpreter server/.venv, Django settings config.settings.
  • Both IDEs write to .idea/ — never open the same folder in both.
  • Mark .forge/, .forge-mirror/ and target/ as Excluded, otherwise the IDE indexes ciphertext.
{% else %}

1 · Projekte öffnen

  • RustRover öffnet das Repo-Root (der Cargo-Workspace wird erkannt).
  • PyCharm öffnet server/ als eigenes Projekt, Interpreter server/.venv, Django-Einstellungen config.settings.
  • Beide IDEs schreiben nach .idea/ — nie denselben Ordner in beiden öffnen.
  • .forge/, .forge-mirror/ und target/ als Excluded markieren, sonst indexiert die IDE Chiffrat.
{% endif %}
{% if lang == "en" %}

2 · Run configurations (included)

They appear automatically in the Forge folder and start a login shell, so forge, cargo and make are found.

{% else %}

2 · Run-Configurations (mitgeliefert)

Sie erscheinen von selbst im Ordner Forge und starten eine Login-Shell, damit forge, cargo und make gefunden werden.

{% endif %}
.run/RustRovermake check, make test, make lint, make docs, forge status, forge check
server/.run/PyCharmmake server-check, make dev, make server-run
{% if lang == "en" %}

3 · External Tools (once per IDE version)

Copy the tool definition into the IDE's settings folder, then restart the IDE:

{% else %}

3 · External Tools (einmal je IDE-Version)

Die Werkzeug-Definition in den Einstellungsordner der IDE kopieren, danach die IDE neu starten:

{% endif %}
mkdir -p ~/Library/"Application Support"/JetBrains/RustRover2026.2/tools
cp scripts/jetbrains/rustrover/Forge.xml ~/Library/"Application Support"/JetBrains/RustRover2026.2/tools/
mkdir -p ~/Library/"Application Support"/JetBrains/PyCharm2026.2/tools
cp scripts/jetbrains/pycharm/Forge.xml ~/Library/"Application Support"/JetBrains/PyCharm2026.2/tools/
{% if lang == "en" %}Tool (Tools → External Tools → Forge){% else %}Werkzeug (Tools → External Tools → Forge){% endif %}{% if lang == "en" %}Runs{% else %}Führt aus{% endif %}
Statusforge status
Saveforge save -m <{% if lang == "en" %}prompt{% else %}Eingabe{% endif %}>
Diff against newest snapshotscripts/ide_diff.sh <{% if lang == "en" %}file{% else %}Datei{% endif %}> — {% if lang == "en" %}opens the IDE's diff window{% else %}öffnet das Diff-Fenster der IDE{% endif %}
Diff against versionscripts/ide_diff.sh <{% if lang == "en" %}file{% else %}Datei{% endif %}> v1.2
File historyforge log <{% if lang == "en" %}file{% else %}Datei{% endif %}>
Blameforge blame <{% if lang == "en" %}file{% else %}Datei{% endif %}>
Comment lineforge comment -m … --file … --line …
Checkforge check
Review in browserforge dashboard code
{% if lang == "en" %}

Assign shortcuts under Settings → Keymap → External Tools → Forge. If the IDE does not find forge (started from the Dock), enter the full path from command -v forge in the file.

{% else %}

Tastenkürzel unter Settings → Keymap → External Tools → Forge. Findet die IDE forge nicht (aus dem Dock gestartet), in der Datei den vollen Pfad aus command -v forge eintragen.

{% endif %}
{% if lang == "en" %}

The diff script

scripts/ide_diff.sh finds the project from any file (absolute paths, spaces allowed), restores the old version with forge and shows it next to the current file in the IDE's diff window. The old version is stored only on this device, read-only in a private temporary folder, and removed on the next call. It is tested by make ide-test, part of make check.

{% else %}

Das Diff-Skript

scripts/ide_diff.sh findet das Projekt von jeder Datei aus (absolute Pfade, Leerzeichen erlaubt), holt die alte Fassung mit forge und zeigt sie neben der aktuellen Datei im Diff-Fenster der IDE. Die alte Fassung liegt nur auf diesem Gerät, schreibgeschützt in einem privaten temporären Ordner, und wird beim nächsten Aufruf entfernt. Geprüft wird es von make ide-test, Teil von make check.

{% endif %}
{# ============================================================ Fly & Tigris #}
{% if lang == "en" %}

How Forge uses Fly.io and Tigris

Fly.io runs the Forge components and the deployed services (region Frankfurt). Tigris (S3-compatible) holds everything Forge stores — encrypted. Forge talks to Tigris with its own request signing (no AWS SDK) and to Fly only through one provider adapter, so another provider can be added later.

{% else %}

Wie Forge Fly.io und Tigris nutzt

Fly.io betreibt die Forge-Komponenten und die ausgerollten Dienste (Region Frankfurt). Tigris (S3-kompatibel) hält alles, was Forge speichert — verschlüsselt. Mit Tigris spricht Forge über eine eigene Anfrage-Signatur (kein AWS-SDK), mit Fly nur über einen Anbieter-Adapter; ein anderer Anbieter lässt sich später ergänzen.

{% endif %}

{% if lang == "en" %}Fly.io — Forge components{% else %}Fly.io — Forge-Komponenten{% endif %}

{% if lang == "en" %} {% else %} {% endif %}
{% if lang == "en" %}Component{% else %}Komponente{% endif %} {% if lang == "en" %}Machine{% else %}Maschine{% endif %} {% if lang == "en" %}Task{% else %}Aufgabe{% endif %} {% if lang == "en" %}Holds{% else %}Hält{% endif %}
Server1 shared CPU, 512 MB, volume Sign-in, overview, code view (ciphertext only), operations pages; overview pages computed in the background every minute Users, passkeys, devices (SQLite on the volume, backed up daily to its own bucket); a read key and a separate create-only write key for storage; an ops signing key; read access to the provider for machine state and metrics
Server (staging)sameFed by Forge's own pipelineIts own storage key, intended read-only
forge-opssmall Monitoring and self-healing: checks the environments, writes findings, requests restart or rollback No tenant or project key — reads only signed, secret-free ops manifests; its own storage key
Runner2 shared CPUs, 2 GB, 20 GB volume Executes deploy jobs: tests and builds without network from the package mirror (own Docker daemon), pushes the image, rolls out, checks success, rolls back on failure; up to two projects at once, a lock per environment, one pass per minute Its own device key (decrypts a project only for the duration of a job); a deploy token per target app — the only place they exist
Server1 geteilte CPU, 512 MB, Volume Anmeldung, Übersicht, Code-Ansicht (nur Chiffrat), Betriebsseiten; Übersichten jede Minute im Hintergrund vorgerechnet Benutzer, Passkeys, Geräte (SQLite auf dem Volume, täglich in einen eigenen Bucket gesichert); einen Lese-Schlüssel und einen getrennten, nur anlegenden Schreib-Schlüssel für den Speicher; einen Ops-Signatur-Schlüssel; Lesezugriff beim Anbieter für Maschinenzustand und Metriken
Server (Staging)gleichVersorgt von Forges eigener PipelineEigenen Speicher-Schlüssel, nur zum Lesen vorgesehen
forge-opsklein Überwachung und Selbstheilung: prüft die Umgebungen, legt Befunde ab, fordert Neustart oder Rollback an Keinen Tenant- oder Projekt-Schlüssel — liest nur signierte, geheimnisfreie Ops-Manifeste; eigenen Speicher-Schlüssel
Runner2 geteilte CPUs, 2 GB, 20-GB-Volume Führt Deploy-Aufträge aus: testet und baut ohne Netz aus dem Paket-Spiegel (eigener Docker-Dienst), lädt das Image hoch, rollt aus, prüft den Erfolg, rollt bei Fehlschlag zurück; bis zu zwei Projekte gleichzeitig, eine Sperre je Umgebung, ein Durchlauf je Minute Eigenen Geräte-Schlüssel (entschlüsselt ein Projekt nur für die Dauer eines Auftrags); einen Deploy-Token je Ziel-App — nur hier gibt es sie
{% if lang == "en" %}

Fly.io — deployed services

  • Every service has a prod app and a test app (staging), both reachable only in the private network.
  • Test machines sleep when idle and are woken through Flycast on the first request; prod never sleeps.
  • An image is built once and promoted by digest from staging to prod — never rebuilt.
  • Secrets come from Forge's encrypted secret store; the runner sets them at the provider during deploy. Staging has its own values, its own cache and never sends mail.
  • Success is checked via health endpoints or, for private services, via the machine state the provider reports.
{% else %}

Fly.io — ausgerollte Dienste

  • Jeder Dienst hat eine Prod-App und eine Test-App (Staging), beide nur im privaten Netz erreichbar.
  • Test-Maschinen schlafen ohne Last und werden über Flycast bei der ersten Anfrage geweckt; Prod schläft nie.
  • Ein Image wird einmal gebaut und per Digest von Staging nach Prod befördert — nie neu gebaut.
  • Secrets kommen aus Forges verschlüsseltem Secret-Store; der Runner setzt sie beim Deploy beim Anbieter. Staging hat eigene Werte, einen eigenen Cache und verschickt keine Mails.
  • Der Erfolg wird über Health-Endpunkte geprüft, bei privaten Diensten über den Maschinenzustand, den der Anbieter meldet.
{% endif %}

{% if lang == "en" %}Tigris — what lies where{% else %}Tigris — was wo liegt{% endif %}

{% if lang == "en" %} {% else %} {% endif %}
{% if lang == "en" %}Path{% else %}Pfad{% endif %} {% if lang == "en" %}Content{% else %}Inhalt{% endif %} {% if lang == "en" %}Form{% else %}Form{% endif %}
t/<tenant>/p/<project>/o/<id>Chunks, trees, snapshots, operationsencrypted, name = keyed hash, immutable
…/snapshots · oplog · HEADLists and pointer of the historyidentifiers only; the only files that are replaced
…/r/<id>Reviews: comments, replies, suggestions, approvals, deploy jobsencrypted and signed, create-only
…/secrets/…Deploy secretsvalue encrypted with the project key, signed, one revision per change
…/ops/ · …/m/ · …/lease/Ops manifests, commands, receipts, plans, run events, monitor findings, runner locksplaintext without content or secrets, signed
t/<tenant>/devices · runnersDevice grants, runner heartbeatswrapped keys, signed
t/<tenant>/mirror/Package mirrorpublic packages, every entry signed and traced to a trusted device
t/<tenant>/p/<projekt>/o/<id>Chunks, Bäume, Snapshots, Operationenverschlüsselt, Name = Hash mit Schlüssel, unveränderlich
…/snapshots · oplog · HEADListen und Zeiger des Verlaufsnur Kennungen; die einzigen Dateien, die ersetzt werden
…/r/<id>Reviews: Kommentare, Antworten, Vorschläge, Freigaben, Deploy-Aufträgeverschlüsselt und signiert, nur anlegen
…/secrets/…Deploy-SecretsWert mit dem Projekt-Schlüssel verschlüsselt, signiert, eine Revision je Änderung
…/ops/ · …/m/ · …/lease/Ops-Manifeste, Befehle, Quittungen, Pläne, Lauf-Einträge, Monitor-Befunde, Sperren der RunnerKlartext ohne Inhalte und Geheimnisse, signiert
t/<tenant>/devices · runnersFreigaben der Geräte, Lebenszeichen der Runnerverpackte Schlüssel, signiert
t/<tenant>/mirror/Paket-Spiegelöffentliche Pakete, jeder Eintrag signiert und auf ein vertrautes Gerät rückführbar
{% if lang == "en" %}

Tigris — who may do what

  • Your device (CLI) reads and writes its projects.
  • Runner and forge-ops each have their own key.
  • Server: reads with one key; writes only with a second key and only create-only — review entries, ops commands, the alert switch, secret entries, mirror entries, project docs (apart from one documentation pointer).
  • Staging server: its own key, intended for reading only (Tigris role ReadOnly).
  • Writing means creating: contents are named by their hash, entries are created with If-None-Match, sequence numbers are retried on collision — concurrent writers never overwrite each other.
{% else %}

Tigris — wer was darf

  • Dein Gerät (CLI) liest und schreibt seine Projekte.
  • Runner und forge-ops haben je einen eigenen Schlüssel.
  • Server: liest mit einem Schlüssel; schreibt nur mit einem zweiten und nur anlegend — Review-Einträge, Ops-Befehle, den Alarm-Schalter, Secret-Einträge, Spiegel-Einträge, Projektdoku (bis auf einen Doku-Zeiger).
  • Staging-Server: eigener Schlüssel, nur zum Lesen vorgesehen (Tigris-Rolle ReadOnly).
  • Schreiben ist Anlegen: Inhalte heissen nach ihrem Hash, Einträge werden mit If-None-Match angelegt, Folgenummern bei einer Kollision neu vergeben — gleichzeitige Schreiber überschreiben sich nie.
{% endif %}
{% if lang == "en" %}

Tigris — safety and cost

  • Recovery does not rest on the bucket alone: every client keeps a full copy of its projects, the server database is backed up daily into a separate bucket, and Tigris bucket snapshots can be switched on in addition (SETUP.md).
  • forge verify and a restore test (save → delete → restore → byte compare) run in every CI.
  • Requests are kept low: pull lists objects only when there is a new state, project names and trust are cached, forge-ops looks only at projects that are due, unchanged findings are not rewritten, the runner passes once per minute.
  • Large files need no special handling — content-defined chunks are stored once per project.
{% else %}

Tigris — Sicherheit und Kosten

  • Wiederherstellen hängt nicht am Bucket allein: Jeder Client hält eine volle Kopie seiner Projekte, die Server-Datenbank wird täglich in einen eigenen Bucket gesichert, und Tigris-Bucket-Snapshots lassen sich zusätzlich einschalten (SETUP.md).
  • forge verify und ein Restore-Test (sichern → löschen → wiederherstellen → Byte-Vergleich) laufen in jeder CI.
  • Anfragen bleiben wenige: pull listet Objekte nur bei neuem Stand, Projektnamen und Vertrauen werden zwischengespeichert, forge-ops schaut nur fällige Projekte an, unveränderte Befunde werden nicht neu geschrieben, der Runner läuft einmal je Minute.
  • Grosse Dateien brauchen keine Sonderbehandlung — inhaltsdefinierte Stücke liegen je Projekt nur einmal.
{% endif %}
{# ============================================================== Vergleich #}
{% if lang == "en" %}

Comparison with other version control systems

{% else %}

Vergleich mit anderen Versionsverwaltungen

{% endif %}
{% if lang == "en" %}Feature{% else %}Merkmal{% endif %} Forge Git Forgejo / Gitea SVN Mercurial
{% if lang == "en" %}Model{% else %}Modell{% endif %} {% if lang == "en" %}Change + signed operation log{% else %}Change + signiertes Operation-Log{% endif %} Commits, DAGGit platform{% if lang == "en" %}central, revisions{% else %}zentral, Revisionen{% endif %}Commits, DAG
{% if lang == "en" %}Encryption{% else %}Verschlüsselung{% endif %} {% if lang == "en" %}End-to-end per tenant{% else %}Ende-zu-Ende pro Tenant{% endif %} {% if lang == "en" %}optional (third-party){% else %}optional (drittpartei){% endif %} optional{% if lang == "en" %}none{% else %}keine{% endif %}optional
{% if lang == "en" %}Every action signed/auditable{% else %}Jede Aktion signiert/überprüfbar{% endif %} {% if lang == "en" %}yes{% else %}ja{% endif %} {% if lang == "en" %}partly (GPG){% else %}teilweise (GPG){% endif %} {% if lang == "en" %}partly{% else %}teilweise{% endif %} {% if lang == "en" %}no{% else %}nein{% endif %} {% if lang == "en" %}partly{% else %}teilweise{% endif %}
{% if lang == "en" %}Own package mirror / offline build{% else %}Eigener Paket-Spiegel / Build offline{% endif %} {% if lang == "en" %}yes{% else %}ja{% endif %} —{% if lang == "en" %}no{% else %}nein{% endif %}{% if lang == "en" %}no{% else %}nein{% endif %}{% if lang == "en" %}no{% else %}nein{% endif %}
{% if lang == "en" %}Code review integrated{% else %}Code-Review integriert{% endif %} {% if lang == "en" %}yes (CLI + browser){% else %}ja (CLI + Browser){% endif %} {% if lang == "en" %}no{% else %}nein{% endif %} {% if lang == "en" %}yes{% else %}ja{% endif %} {% if lang == "en" %}no{% else %}nein{% endif %} {% if lang == "en" %}no{% else %}nein{% endif %}
{% if lang == "en" %}Deploy from the same tool{% else %}Deploy aus demselben Werkzeug{% endif %} {% if lang == "en" %}yes (runner){% else %}ja (Runner){% endif %} {% if lang == "en" %}no{% else %}nein{% endif %} {% if lang == "en" %}no{% else %}nein{% endif %} {% if lang == "en" %}no{% else %}nein{% endif %} {% if lang == "en" %}no{% else %}nein{% endif %}
{% if lang == "en" %}Self-hosting{% else %}Selbst-Hosting{% endif %} {% if lang == "en" %}yes{% else %}ja{% endif %} {% if lang == "en" %}yes{% else %}ja{% endif %} {% if lang == "en" %}yes{% else %}ja{% endif %} {% if lang == "en" %}yes{% else %}ja{% endif %} {% if lang == "en" %}yes{% else %}ja{% endif %}
{% if lang == "en" %}Parallel working strands{% else %}Parallele Arbeitsstränge{% endif %} {% if lang == "en" %}yes (strands){% else %}ja (Stränge){% endif %} {% if lang == "en" %}yes (branches){% else %}ja (Branches){% endif %} {% if lang == "en" %}yes{% else %}ja{% endif %} {% if lang == "en" %}limited{% else %}eingeschränkt{% endif %} {% if lang == "en" %}yes (branches){% else %}ja (Branches){% endif %}
{% if lang == "en" %}Export to Git{% else %}Herausgabe an Git{% endif %} forge export --git {% if lang == "en" %}native{% else %}nativ{% endif %} {% if lang == "en" %}native{% else %}nativ{% endif %} —{% if lang == "en" %}converter{% else %}Konverter{% endif %}
{# =============================================================== Download #}
{% if lang == "en" %}

Download · source code without password

Forge {{ version }} — the version running on this server

Source code of server and client. The client is the forge CLI (Rust workspace), the server is the Django server. Both archives are free of secrets (no keys, no .env, no data).

{% else %}

Download · Quellcode ohne Passwort

Forge {{ version }} — die Version, die auf diesem Server läuft

Quellcode von Server und Client. Der Client ist das forge-CLI (Rust-Workspace), der Server der Django-Server. Beide Archive sind frei von Geheimnissen (keine Schlüssel, keine .env, keine Daten).

{% endif %}

{% if lang == "en" %}Forge Server{% else %}Forge-Server{% endif %}

forge-server.tar.gz · {{ version }}
Download

{% if lang == "en" %}Forge Client (CLI){% else %}Forge-Client (CLI){% endif %}

forge-client.tar.gz · {{ version }}
Download
{% if lang == "en" %}

Documentation · user guide (no password)

The English documentation covers the architecture, components, security model, workflow, deploying on time (batch, windows), dependencies between projects, monitoring of ports, health and functions, the service map, the full CLI reference and a worked example. PDF and SVG diagrams can be downloaded below without a password.

{% else %}

Dokumentation · Benutzerhandbuch (ohne Passwort)

Die englische Dokumentation umfasst Architektur, Komponenten, Sicherheitsmodell, Workflow, zeitgesteuertes Ausrollen (Batch, Zeitfenster), Abhängigkeiten zwischen Projekten, die Überwachung von Ports, Gesundheit und Funktionen, die Service-Landkarte, die vollständige CLI-Referenz und ein durchgearbeitetes Beispiel. PDF und SVG-Diagramme können unten ohne Passwort heruntergeladen werden.

{% endif %}

Forge Guide · PDF

forge-guide.pdf · {{ version }}
Download

{% if lang == "en" %}CLI handbook · PDF{% else %}CLI-Handbuch · PDF{% endif %}

forge-cli-handbook.pdf · {{ version }}
Download

{% if lang == "en" %}forge.toml reference · PDF{% else %}forge.toml-Referenz · PDF{% endif %}

forge-toml-reference.pdf · {{ version }}
Download

{% if lang == "en" %}Data flow, encryption & backup · PDF{% else %}Datenfluss, Verschlüsselung & Backup · PDF{% endif %}

forge-data-flow.pdf · {{ version }}
Download

{% if lang == "en" %}System overview{% else %}Systemübersicht{% endif %}

forge-system-overview.svg
Download

{% if lang == "en" %}Service map{% else %}Service-Landkarte{% endif %}

forge-service-map.svg
Download

{% if lang == "en" %}Build overview{% else %}Übersicht Bauen{% endif %}

forge-build-overview.svg
Download

{% if lang == "en" %}Workflow overview{% else %}Workflow-Übersicht{% endif %}

forge-workflow-overview.svg
Download
{% endblock %} {% block scripts %} {% endblock %}