Overview

Date: 2026-05-11

Time: 15:55

Overview

This is a Textual-based terminal UI (TUI) dashboard for ftl2-servercraft, a Minecraft server lifecycle manager. It provides a real-time dashboard showing server status, player counts, watchdog state, and grace-period countdowns. Users can launch, stop, backup, verify, and reconfigure Minecraft servers through keyboard shortcuts, with all heavy operations (provisioning, teardown, backup) running in background threads while the UI remains responsive. The TUI uses FTL2's automation context manager to execute infrastructure scripts against Linode cloud instances.

Usage Patterns

The app is instantiated with a config file path and run as a Textual application:


app = ServerCraftApp(config_path="servers.yaml")
app.run()

Key keyboard bindings drive the interface:

All operations select the currently highlighted row in the DataTable.

API and Configuration

Config inputs:

FTL2 automation parameters (used in every operation):

Logging: Provisioning writes to logs/provision-{name}-{timestamp}.log in addition to the TUI activity log.

Key Behaviors

Relationships