Tunal/PLAN.md
astar76 6ab40fea3e S000: workflow scaffold
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 08:55:46 -06:00

2.5 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

  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), screenshot harness. 🧑 visual review.
  3. File browsing — tabs, split view, editable breadcrumbs, back/forward/up, places sidebar, sorting, grouping, hidden files, copy path / copy / cut / paste / rename / delete / trash / properties, editable context menus, animated list inserts/removals/reorders. 🧑 visual review.
  4. .directory support — read folder icon, display name and view settings; edit them from the app.
  5. Sudo elevation — password prompt when an operation needs root; secret never logged, never in argv, zeroed. 🧑 real-password test.
  6. Thumbnails — images, video frame at a chosen timestamp, embedded album art; plain Material icons when previews are off. 🧑 visual review.
  7. Tag editor — read/write tags with lofty, MusicBrainz lookup, Cover Art Archive covers, embed results.
  8. Audio player — quick player with a waveform seek bar.
  9. Device sharing — iOS over AFC, then Android over MTP, as locations. 🧑 real devices.
  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.

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), drag-out to other apps unless the user approves the extra platform code.
  • Pushing to a remote or publishing releases until the user asks.