Local Media Gallery technical specification
v0.0.0 is an unreleased specification baseline with a local Rust/Tauri gallery implementation and a live website at https://localmedia.gallery; installable Full/Lite packages have not been published.
Local Media Gallery presents local images and videos through a Rust/Tauri application with a statically exported Next.js interface. Full installation provides system integration and persistent user state. Lite provides lightweight, on-demand directory browsing and gallery sharing on supported hosts. The product targets Windows, Linux and macOS.
Reading order
Scroll horizontally if needed.
| Chapter | Document | Primary question |
|---|---|---|
| 1 | Overview | What behavior and editions does the product promise? |
| 2 | Architecture | Which components own discovery, state, presentation and platform integration? |
| 3 | Installation and distribution | How are Full and Lite delivered, installed, updated and removed? |
| 4 | Gallery lifecycle | How does a directory become a current, movable gallery? |
| 5 | Browsing and playback | How do users navigate, inspect and play media? |
| 6 | Metadata and sidecars | How is optional metadata associated and presented? |
| 7 | Configuration and state | Which preferences travel, and which state belongs to a machine? |
| 8 | Interfaces and contracts | What behavior crosses command, host and data boundaries? |
| 9 | Thumbnails and performance | How does optional preparation improve browsing at practical scale? |
| 10 | Security and reliability | How are access, integrity, failure and recovery handled? |
| 11 | Website and documentation | How do the independent landing page and versioned docs work? |
| 12 | Verification and compatibility | What evidence is needed to accept a release and its documentation? |
Glossary defines the shared vocabulary. Brand integration describes the delivered identity and its maintainer workflow. The master changelog records history rather than restating contracts here.
How to interpret requirements
Uppercase MUST, MUST NOT, SHOULD, SHOULD NOT and MAY carry the requirement meanings defined by RFC 2119 and RFC 8174. Other prose explains intent. Requirement identifiers such as OV-01 are stable cross-reference labels, not implementation tasks or delivery schedules.
Requirements describe the intended system. Examples marked illustrative or proposed do not finalize command names, wire layouts or defaults. An unresolved decision names an unsettled choice and the evidence or approval needed to settle it. A recommendation does not become mandatory merely because an example uses it. Implementation and verification claims require separate evidence.
Public chapters are self-contained contracts. Development plans and verification logs remain internal. Their absence from the website is intentional; their contents must not be required to understand a public contract.
Open decisions
Each entry has one owning chapter. It must be resolved, or explicitly excluded from a particular release's claim, before the affected behavior is advertised as supported. Unrelated work may proceed.
Scroll horizontally if needed.
| ID | Decision still open | Owning chapter |
|---|---|---|
| U-04 | Additional formats/profiles and external opening or conversion beyond the measured native viewing rows | Browsing and playback |
| U-05 | Richer preview/autoplay behavior and additional navigation/customization beyond the defined browsing defaults | Browsing and playback |
| U-07 | Disposable cache locations and future state migration/backup policies | Configuration and state |
| U-13 | Exact initial editing actions and their confirmation, undo and write behavior | Overview |
Resolved decisions
Scroll horizontally if needed.
| ID | Resolved contract | Owning chapter |
|---|---|---|
| U-01 | Initial six-row platform/dependency and package policy with explicit native proof limits | Installation and distribution |
| U-02 | Shared browsing/settings capabilities, compiled edition identity and optional preparation and explicit unavailable installation | Overview |
| U-08 | Native launch/root/lifetime, exact machine results, exit codes and current IPC identities | Interfaces and contracts |
| U-03 | Direct-file traversal, root identity and explicit recovery, with mounted/native qualification boundaries | Gallery lifecycle |
| U-06 | Attributed direct sidecar/index association, ordered duplicate members and explicit encoding policy | Metadata and sidecars |
| U-10 | Attributable small-fixture measurements, finite adaptive loading and portable manual override; tuning proposals retain evidence limits | Thumbnails and performance |
| U-09 | Explicit optional PNG preparation, selected video helper, relative validated caches and owned cleanup | Thumbnail policy |
| U-11 | Bounded process diagnostics, described explicit export and byte-preserving recovery | Diagnostics |
| U-12 | Static rendering, local search, version metadata, aliases and explicit archive corrections | Website and documentation |
Document maintenance
These Markdown files are the versioned source for the live documentation website. Maintain one authoritative definition for each contract and link to it from other chapters. The independent landing page has its own content and layout outside this versioned tree. Software, documentation and application-owned master JSON Schema versions must align when those artifacts are released together; external sidecars remain free-form.
The chapter structure draws on arc42 for architecture coverage and Diataxis for separating reference, explanation and eventual task-oriented guidance. These are organizational references, not claims of certification or obligations to reproduce a template.