Mori
A private, offline media and file browser.
- Type
- Desktop app
- Runs on
- macOS · Windows · Linux
- Get it
- Buy and download
- Price
- €4.99 One-time purchase
How it’s built
Private source
The source code is private. How it’s built is still described below.
- App
- Tauri 2
- Rust
- React
- TypeScript
- Vite
- Isolation
- Sandboxed decoder workers
- macOS system sandbox
- Content-Security-Policy
Architecture
A Tauri 2 desktop app: a React and TypeScript interface running in the system webview, and a Rust backend that owns everything touching the disk. The split is deliberate — the interface is where untrusted names and previews get displayed, so it's also the part given the least power. File bytes only reach it through a custom mori:// protocol.
Threat model
Mori assumes media from an unfamiliar drive may be malformed or deliberately crafted: image and container bugs, decompression bombs, disguised extensions, symlink tricks, filenames that spoof their own extension. It treats decoding itself as the risky step and keeps that work away from the rest of the app.
Isolated decoding
The Mac App Store build sends bytes, never file paths, to a separately sandboxed XPC decoder service. The service can handle multiple requests and can write to its own private container, but has no user-folder or network access. Decoding uses Rust image libraries and, for supported macOS formats, native ImageIO/CoreGraphics APIs. Input, output, pixel, memory and time limits bound the work; the host validates returned data. Standalone builds use a separate worker transport.
Security model
The interface has no direct filesystem or shell access; its Tauri capability allow-lists Mori's own commands and uses opaque file ids rather than paths. The Store host has the outgoing-network entitlement required for WKWebView compatibility. Its Content Security Policy blocks remote content and requests, while allowing the local app protocols. Core file processing stays offline, with no developer analytics. File types come from magic bytes, displayed names have control and bidi-override characters replaced, and file changes pass a backend mutation policy.
Filesystem boundaries
File access goes through Rust. Store protocol requests require a current grant for the selected root. Relative file paths reject .. and absolute components; canonical paths are checked against that root. On Unix, confined reads and copy, create, rename and delete operations use directory descriptors and refuse symlinked ancestors when opening them.
Indexing & browsing
Opening a drive loads its last index snapshot immediately while a background thread rescans it. Each entry carries a pre-folded search key — lower-cased, accents stripped, Unicode normalised — so "cumpleanos" finds "cumpleaños". Gallery, grid and list are one virtualised view, so folders with tens of thousands of files stay smooth.
Builds & verification
macOS v1.1.0
Not signed with an Apple Developer ID or notarized yet, so macOS warns once. On macOS 15 and later, open it from System Settings → Privacy & Security → Open Anyway; on earlier versions, Control-click Mori and choose Open.
sha256:22b798703e5e385d008161e2348cd4ef182635737b747ea6d3aaa73e50ccacadsha256:466cbbe1c4a233a59ed107aa76c112fb64e25378e33c3c799c6e748a24ffc369Windows v1.1.0
Not signed with a publisher certificate yet. SmartScreen says "Windows protected your PC" the first time — choose More info → Run anyway.
sha256:72651c6caf88794e89b1df447cdd6e4eff6da0097faf0f1f39deeda4ec0999ebsha256:7953525490e8fed50065eda9abf6092291fda76a33312e160192ffa19134dc07Linux v1.1.0
sha256:1fdebf2c7e77f7069884bcfd7685961855c6cf828765f7f780e7a06efeb55eb5sha256:584ecfee40fce32490b61107c26b4b9adb4f09479916753d3e4d358a65a38ac4
