appstate-backup
A minimal GTK4/Libadwaita desktop app for backing up installed Flatpak and Snap application lists on Ubuntu 24.04+. Built with Vala and Meson.
Features
- Two tabs: Backup and Restore (stub)
- Detects installed platforms (Flatpak, Snap) at runtime
- Exports app lists to text files and bundles them into a timestamped zip
- Saves backups to your Desktop with unique names
- Status bar shows progress and completion
Backup Output
A backup creates a zip like:
~/Desktop/appstate-YYYYMMDD-HHMMSS.zip
├── flatpaks.txt # one "app.id remote" per line
└── snaps.txt # one snap name per line
Restore (planned)
Restore is currently a placeholder in the UI.
Requirements
- Ubuntu 24.04+
- GTK4 (>= 4.10)
- Libadwaita (>= 1.4)
- Vala (>= 0.56)
- Meson (>= 0.60)
zipinstalled
Build & Run
meson setup build
meson compile -C build
./build/appstate-backup
Tests
meson test -C build
Notes
- Backup destinations use your XDG Desktop directory when available.
- Checkbox states do not persist between sessions.
License
TBD