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:
commit
d56659e21a
34 changed files with 3260 additions and 0 deletions
13
internal/assets/presets/minimal.json
Normal file
13
internal/assets/presets/minimal.json
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"name": "minimal",
|
||||
"description": "Ruhiger Login: nur Header-Zeile und dezenter Footer",
|
||||
"scripts": [
|
||||
{ "name": "00-header", "enabled": true },
|
||||
{ "name": "10-help-text", "enabled": false },
|
||||
{ "name": "50-landscape-sysinfo", "enabled": false },
|
||||
{ "name": "50-motd-news", "enabled": false },
|
||||
{ "name": "80-livepatch", "enabled": false },
|
||||
{ "name": "91-release-upgrade", "enabled": false },
|
||||
{ "name": "95-footer", "enabled": true, "install": "footer" }
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue