feat: add motd-assist TUI for managing dynamic MOTDs

Initial Go project built with Bubble Tea and Lip Gloss:
- Live preview and management of /etc/update-motd.d scripts
- Embedded presets (ubuntu-default, minimal, server-dashboard)
- Bundled POSIX sh style scripts (brand header, sysinfo panel, footer)
- Snapshot/restore safety around applying changes
- CLI subcommands preview, apply, restore, list-presets
- Unit tests for detect, sanitize, and apply logic
This commit is contained in:
Tronax 2026-08-24 14:19:28 +02:00
commit d56659e21a
Signed by: Tronax
SSH key fingerprint: SHA256:2pKKXDZucWvaF/GzXNz0FY53EAO1YDLN80bqS+TTz/o
34 changed files with 3260 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{
"name": "server-dashboard",
"description": "Server-Übersicht: Branding-Header, Sysinfo-Balken und Update-Hinweis",
"scripts": [
{ "name": "00-header", "enabled": false },
{ "name": "10-help-text", "enabled": false },
{ "name": "50-motd-news", "enabled": false },
{ "name": "10-brand-header", "enabled": true, "install": "brand-header" },
{ "name": "20-sysinfo-panel", "enabled": true, "install": "sysinfo-panel" },
{ "name": "90-updates-available", "enabled": true },
{ "name": "95-footer", "enabled": true, "install": "footer" }
]
}