Tunal/PLAN.md
2026-11-18 09:18:19 -06:00

3 KiB

Tunal — vision

Goal

A fast, fully animated desktop file manager for Linux (Wayland and X11), written in Rust with Slint and Material You styling that follows the system accent and light/dark mode live. Deliverable: the tunal binary from this Cargo workspace, with README.md and FEATURES.md (feature map against the reference app, kept current). Recipient: astar76, daily use on Arch Linux.

Current state

Nothing built yet: the brief (PROMPT.md), the app icons in assets/ and this workflow scaffold. Rust 1.99.1 installed; Material Symbols font installed system-wide.

Phases

Feature phases 1–11 build without new tests (D-013); phase 12 tests the solid app.

  1. Workspace — Cargo workspace with the crates in CLAUDE.md §1, README, FEATURES.md (feature map), font + license in assets/fonts/.
  2. App skeleton — window, theme from the portal with live re-theme, Theme / Motion token globals, base animated components (button, icon button, row, tab, chip, menu, dialog, toast), screenshot command.
  3. File browsing — location layer + ops engine + trash, details and icon grid views, type-to-filter, tabs, split view, editable breadcrumbs, back/forward/up, places sidebar, sorting, grouping, hidden files, copy path / copy / cut / paste / rename / delete / trash / properties, Open / Open with, settings, editable context menus, in-app drag and drop with a drop menu, animated list changes.
  4. .directory support — read folder icon, display name and view settings; edit them from the app.
  5. Elevation — pkexec/polkit root helper; Tunal never sees the password (D-018).
  6. Thumbnails — images, video frame at a chosen timestamp (ffmpeg CLI), embedded album art; plain Material icons when previews are off.
  7. Tag editor — read/write tags with lofty for one or many files, MusicBrainz lookup, Cover Art Archive covers, embed results.
  8. Audio player — quick player (symphonia + cpal) with a waveform seek bar.
  9. Device sharing — iOS over AFC (idevice/usbmuxd), then Android over MTP (own client on nusb), as locations.
  10. Network — SFTP locations (russh + russh-sftp), saved connections in places, agent/key/password auth, known_hosts checking with unknown-host prompt, hosts from ~/.ssh/config.
  11. Native drag and drop — drag files to/from other apps and file clipboard interop, Wayland then X11 (D-014).
  12. Testing — automated tests, screenshot matrix + /unslop, /improve-animations + 🧑 visual review, 🧑 real-world checks (password, devices, other apps, SFTP host).
  13. Packaging — desktop entry, install script, final README/FEATURES.

Out of scope

  • Copying any code, names, strings, icons or branding from the reference app; naming it or other file managers in the UI, binaries or docs.
  • Non-Linux platforms for now (Windows/macOS packaging).
  • Protocols other than local, AFC, MTP and SFTP (the location layer must allow them later).
  • AcoustID fingerprinting (later option), removable drives (UDisks), recursive search.
  • Pushing to a remote or publishing releases until the user asks.