Skip to content

Repository files navigation

Rust Commander logo

Rust Commander

A fast two-panel file manager and transfer client — written in Rust.
SFTP · SCP · FTP/FTPS · WebDAV · S3 · Azure · Google Cloud Storage — on your desktop and in your browser.

CI Release License: MIT Rust 1.91+ Tauri 2 Platforms

Highlights · Screenshots · Quick start · Documentation · Building


Rust Commander: local folder on the left, an SFTP server on the right, nearby instances in the sidebar and an SSH terminal below

✨ Highlights

🗂️ Classic commander, modern feel

Two panels, session tabs, bookmarks, drag & drop and full keyboard control with the original Norton Commander layout and function key bar — or Total Commander's. Light and dark theme, ten skins, English and German.

🌐 Every protocol in one place

SFTP, SCP, FTP/FTPS, WebDAV, S3 and compatibles (MinIO, R2, Wasabi …), Azure Blob and GCS. Copy server to server — SFTP → S3 — without touching your disk.

🔍 Fingerprints before you copy

See which files are identical, different or new on the target — checksummed where the files live (sha256sum over SSH, FTP HASH) — and copy only what changed.

🔄 Sync with a checklist

One- or two-way synchronization by time, size or checksum, mirror mode, and a checklist of every action before anything runs. Or keep a remote folder up to date live.

📝 A real code editor, everywhere

Edit local and remote files with language detection, linting while you type, formatting (Prettier, rustfmt, gofmt, ruff …) and a diff view of your changes.

🌲 Remote Explorer

Browse every SSH host from your saved sites and ~/.ssh/config as a tree, with preview — nothing is installed or copied on the target. Even works without SFTP.

🖥️ Headless web mode

rcmd serve runs Rust Commander on a server and serves the full UI over HTTPS. Works on phones, too.

📡 Finds its peers on the LAN

Instances discover each other automatically. Open their web UI with one click or mount another instance as a file panel with a pinned TLS certificate.

💻 Terminal & tunnels

SSH and local shells in tabs, local port forwarding (-L) and SOCKS5 proxies (-D) through any SSH session.

🔐 Secure by default

Host-key verification, TLS checks, an encrypted credential vault (XChaCha20-Poly1305, optional Argon2id master password), throttled and CSRF-protected web logins.

🎨 Skins

Ten built-in skins — from the standard look to Retro Blue, Nord, Solarized, Catppuccin, Gruvbox, Dracula and High Contrast — that color everything, terminal and editor included. Adjust accent, row height, fonts and corners, or create your own in the skin editor or as a small JSON file: Skins · Creating skins.

📸 Screenshots

Fingerprints before copying Built-in editor with linting
Fingerprint comparison Editor
Remote Explorer Synchronization checklist
Remote Explorer Synchronization checklist
Nearby instances on the LAN Share this instance
Nearby Share this instance
Skins Skin editor
Skins in Preferences Skin editor

🚀 Quick start

Desktop

Download the latest version from the releases page:

macOS (Apple silicon + Intel) Windows 10/11 Linux
rustCommander-<version>-macos-universal.dmg rustCommander-<version>-windows-x64-setup.exe
or …-portable.exe
.AppImage · .deb · .rpm

See Installation for first-start notes, or build it yourself. What changed in each version: CHANGELOG.md. Start Rust Commander, press Ctrl+N to open the Site Manager and connect. The keys follow the original Norton Commander: F5 copy, F6 move, F7 new folder, F8 delete, F4 edit, F2 user menu, F9 menu, F1 all shortcuts. View → Keyboard layout switches to Total Commander.

On a server (web mode)

rcmd set-password        # once
rcmd serve               # → https://<host>:8822/  (self-signed certificate, fingerprint is printed)

Or with Docker:

docker build -t rust-commander .
docker run -d -p 8822:8822 -p 47800:47800/udp -v /srv:/data \
  -e RCMD_PASSWORD=change-me --name rcmd rust-commander

Scripting

rcmd script -c "open sftp://deploy@example.com" \
            -c "synchronize remote ./dist /var/www/html -delete -criteria=checksum" \
            -c "exit"

📚 Documentation

The full documentation lives in docs/ and can be built as a website with mdBook (mdbook serve docs).

Getting started User guide Reference
Introduction The interface Keyboard shortcuts
Installation Sites and sessions Command line (rcmd)
Building from source Protocols Scripting
Quick tour Transfers · Fingerprints File masks
Synchronization Configuration files
Deployment Editor · Remote Explorer Development
Headless server Terminal and SSH tunnels Architecture
Security LAN discovery · Web mode Testing · Releasing
Skins · Creating skins Skin tokens

🛠️ Building

Requirements: Rust (stable, 1.91+), Node.js 20+, and on Linux the Tauri prerequisites (libwebkit2gtk-4.1-dev, librsvg2-dev, libayatana-appindicator3-dev, libxdo-dev).

npm --prefix ui ci && npm --prefix ui run build   # user interface
npm ci && npm run build                           # desktop app → target/release/bundle/
cargo build --release -p rc-cli                   # headless server + CLI → target/release/rcmd

Try the UI without any backend: npm --prefix ui run dev, then open http://localhost:5173/?mock=1.

cargo test --workspace     # Rust tests
npm --prefix ui test       # UI unit tests + Playwright smoke test

Architecture at a glance

crates/rc-core        Vfs abstraction + all protocols, transfer queue, sync, search, vault, tunnels, archives
crates/rc-discovery   LAN discovery via UDP broadcast and multicast
crates/rc-api         application state + RPC dispatcher (one API for desktop and web)
crates/rc-server      HTTP(S) server: embedded UI, /api/rpc, WebSocket events, upload/download
crates/rc-cli         rcmd: serve, discover, script, set-password, sites
src-tauri/            desktop app (Tauri 2)
ui/                   React + TypeScript + Vite, identical for desktop and web

More in Architecture and Known limitations.

📄 License

MIT — see LICENSE.

Releases

Packages

Used by

Contributors

Languages