Desktop App
The Ferro desktop app is built with Tauri, providing a native file browser for your Ferro server.
Installation
From Source
nix develop .#desktop
cd crates/desktop
cargo tauri build
Nix
nix develop .#desktop
This opens a development shell with Tauri dependencies.
Connecting to a Server
- Launch the Ferro desktop app
- Enter your server URL (e.g.,
https://ferro.example.com) - Enter your authentication token
- Click "Connect"
The app will display the server's root directory contents.
File Browser Features
- Directory navigation -- Browse directories with back/forward navigation
- File operations -- Upload, download, rename, and delete files
- WebDAV PROPFIND -- Uses PROPFIND with
Depth: 1for directory listing - Drag and drop -- Drag files into the app to upload
- File metadata -- View file size, modification date, ETag
Architecture
The desktop app communicates with the Ferro server over HTTP using WebDAV:
- PROPFIND requests list directory contents
- PUT requests upload files
- GET requests download files
- DELETE requests remove files
Keyboard Shortcuts
The Tauri app supports standard keyboard shortcuts:
| Shortcut | Action |
|---|---|
Cmd/Ctrl+N | New window |
Cmd/Ctrl+Q | Quit |
Backspace | Navigate up |
Enter | Open file/folder |
Tray Integration
The app can run in the system tray for background access. Use the tray icon to:
- Show/hide the main window
- Quick access to recent files
- Check connection status
Building for Distribution
cd crates/desktop
cargo tauri build
Output binaries are in target/release/bundle/:
.dmg(macOS).deb/.AppImage(Linux).msi/.exe(Windows)