Overview and quick start
From README.md in the repository, rendered 2026-11-12. These documents describe the main branch; the released version is 0.0.1-alpha.16. Sections marked 'after 0.0.1-alpha.16' are not in a release yet.
Alpha software — do not use for production data. Varsto is in early development. Bugs can cause data loss or corruption, file formats and protocols may change without a migration path, and the cryptography has not been independently audited yet. Do not use it as the only copy of anything. You are responsible for keeping your own backups and for checking that you can restore from them. Each released storage-format version keeps a reader; see docs/spec/format-versions.md.
"Varsto" is a working name and may change before the first public release.
Source: https://github.com/janttsu/varsto (issues and pull requests welcome). Website: https://varsto.net.
Varsto is an end-to-end encrypted file sync, sharing and backup app that uses your own devices and storage services of your choice. You bring the storage; the app does the rest.
Goals
- Bring your own storage. S3-compatible keys, any rclone-compatible remote, a local folder, or removable disks (for example old hard drives in a USB dock). Cold storage such as Glacier is understood and used for rarely accessed data.
- No one to trust, and no shortcuts. All content, file names and metadata are encrypted on your devices, and keys stay with you. External disks and cloud providers see opaque blocks only. Designed for post-quantum security (hybrid classical + post-quantum). Security is never traded for speed: there is no weaker "fast mode". Hardware security keys (FIDO2 / YubiKey), special-protected folders, and a recovery kit you store physically in several places. See docs/architecture/security-principles.md.
- No tracker, no account, no vendor cloud. Devices find each other on the local network, and through a rendezvous record in your own storage (there is no DHT). Designed to avoid single points of failure.
- Fast, block-level sync. Files are split into blocks whose size follows the file; only changed blocks move, and the blocks of small files travel together in packs, so a folder of thousands of notes is a few objects on the storage, not thousands. Peer-to-peer transfer between your own devices, also offline over a LAN, with the cloud brought up to date when you are back online.
- Safety nets. Version history, trash (optionally on cold storage), a marker in every synced folder so an unmounted disk never reads as "everything deleted", a mass-deletion guard that holds large deletions until you confirm them, send-only and receive-only folders per device, encrypted off-site backups of any directory (read-only snapshots kept on your storages only, each for the days you choose), durability policies with alerts, peer-to-peer transfer between your devices on the LAN and over the internet, zstd compression before encryption, Strongroom folders that open only with a FIDO2 security key (libfido2 tools), a printable recovery kit (24 words, 2-of-3 shares) with a personal recovery package checklist (docs/recovery.md), place labels on storages and disk groups (geographic sites are planned), and provider-independent recovery. What the design tolerates, and what it does not, is listed in docs/failure-model.md.
- Alerts on your phone. Push notifications through ntfy (also your own server), Pushover or Telegram when a storage fails, a disk fills or a backup does not run, with a choice of what each channel receives and an option to keep names out of the messages (docs/notifications.md).
- Clients. Linux, Windows (the installer is the only download; it has its own window, icons, start at login and automatic updates: docs/windows.md), macOS, Android, and iOS as a Simulator build and an unsigned
.ipafor sideloading (docs/ios-build.md; not run on a real device yet); a command line on Linux, macOS and Windows.
None of this is finished. See docs/architecture for the design principles and docs/spec for the status of the format and protocol specifications.
Status
Alpha (0.0.1-alpha.16, storage format 3): the core works on Linux, macOS and Windows (since alpha.9 the macOS and Windows packages are built and tested on GitHub-hosted runners on every change, the Windows one on Windows Server 2025; they have not been through the manual checklists on real machines yet) as a background service with a tray or menu-bar app, a local desktop interface, a command line, and an Android shell (a release-signed, sideloadable APK; an earlier debug APK must be uninstalled before it is installed, which removes that device's copy of the vault). The iOS app (apps/ios, crates/varsto-ffi) is built and launched on the iOS Simulator in CI but has not run on a real device yet; there is no vendor relay for vaults without a reachable device, and no audit yet. See docs/spec/alpha-0-format.md for what it does and does not do.
Released in 0.0.1-alpha.13 (spec sections 1 to 31): small blocks stored in packs (fewer objects and requests on buckets), the interface, tray and website in English, Finnish and Swedish, organizations for business use (administrators, device approval, removing a person, a signed log), peer-to-peer and the background service on by default, a default durability policy, block sizes that follow the file size, encrypted chunked sync through any directory, S3-compatible bucket or rclone remote, signed per-device ledger and convergence between devices that are never online together, conflict copies and a local trash copy of deleted files, selective sync with placeholders, transferrer disks, untrusted replica devices, folder sharing with another user by key (sealed to a post-quantum request code), encrypted thumbnails, self-update, hybrid Ed25519 + ML-DSA-65 signatures, an MCP server with per-folder grants, durability policies with alerts, peer-to-peer transfer between your devices on the LAN and over the internet (QUIC with hole punching, and a relay through one of your own reachable devices when punching fails; tested on localhost and on the maintainer's own networks only), zstd compression before encryption, Strongroom folders that open only with a FIDO2 security key (libfido2 tools), a printable recovery kit (24 words, 2-of-3 shares), a pool of removable disks that are filled, checked, ejected and recognized when they come back (with "attach this disk" prompts for files that are on a disk that is away), Varsto's own last-accessed record with cost advice from open price data, and backups: read-only snapshots of a directory kept on the storages only (never on your other devices), deleted from them once their retention in days has passed, and restored only into a directory you name.
Released in 0.0.1-alpha.14 (spec sections 32 to 60): live activity between devices, the bit-rot check (scrub), whole drives for disk pools (disk init, disk insert, verified writes), backups with restic (one device keeps every folder as a full plaintext copy and backs it up into a restic repository outside the vault, restorable with restic alone), file analyses and varsto search, scoped MCP keys, ledger rebuild after losing ledger copies, media-aware parallel verification and hardware-decoded thumbnails, disk bookkeeping and the suggestion of the next disk to dock, the recovery package guide and the progress bar, imports of git-annex repositories (disk by disk, read-only), cloud drives through rclone (Dropbox, OneDrive and others, with the provider's hashes checked) and local folders (optionally emptied once their files are safe), the vault-wide trash, storage quotas and draining a storage, local debug logs, original names with local name mapping, folder safety (a marker in every synced folder, the mass-deletion guard, send-only and receive-only folders), ignore rules, file metadata (permissions, symbolic links, extended attributes, ownership), version history of overwritten files, QR invitations and varsto:// links, router port mapping for peer-to-peer, minimum free disk space, the event stream for the interface, read-only members of shared folders, organization rules on which device platforms may belong, the change history of files (varsto changes), and staged moves to disk pools (varsto move, resumable jobs that go on disk by disk).
Released in 0.0.1-alpha.15 (spec sections 62 to 71): storage format 2 (nonces from the packed bytes, zstd level 3, a chunker keyed per folder, and every block in packs, so a storage sees pack sizes only; vaults of alpha.14 and earlier must be recreated), a folder overview with a safety indicator, a live visualization with real full screen, the Windows setup program with a native window and automatic updates, an unsigned iOS .ipa, varsto update --daily with a separately signed daily channel, pairing that offers every local address and falls back across them, forwarding of other devices' blocks to this device's storages, a grace period for new data before a verification violation, an interface that stays responsive while the service is busy, modern GPT partitioning for disk init, and a French website.
Released in 0.0.1-alpha.16 (spec sections 72 to 83, docs/spec/format-3-design.md): storage format 3. The ledger claims packs of a few fixed sizes instead of every block, each folder keeps a signed block map, every record is signed and names its key, manifests and trash lists are a base plus small deltas, and a storage sees opaque objects of a few sizes and nothing else. A folder key reaches a device only as a grant an owner approved by hand, so a device that joins with the vault words sees folder names and no content until it asks (varsto folder request) and an owner answers (varsto folder approve); varsto folder add asks for a second set of 24 recovery words, which give every folder a recovery copy, and pairing shows six words on both devices. Peers talk TLS only and compare ledger heads, so a storage that withholds or rolls back batches shows a warning. Also in this release: an optional rendezvous service for finding peers across networks and relaying when nothing else works (docs/rendezvous.md), joining and membership changes that work offline and a sync that no longer fails because one storage is down, one Import page with torrent and YouTube imports (docs/torrents.md, docs/youtube.md), a mailbox that carries blocks to disks that are away, and varsto service remember on servers without a desktop session. Vaults from alpha.15 and earlier must be recreated; there is no upgrade path (a format 3 build refuses them and says how; the alpha.15 binary stays the tool to read an old vault; docs/spec/format-versions.md).
Quick start
cargo build --release # produces target/release/varsto
varsto desktop # local graphical interface in your browser (127.0.0.1 only)
export VARSTO_PASSPHRASE='a long passphrase'
varsto --home ~/.varsto-laptop init --name laptop # prints the vault key and a kit with two word sets (vault words, recovery words) once
varsto --home ~/.varsto-laptop storage add-local box /mnt/box
varsto --home ~/.varsto-laptop storage add-s3 cloud --endpoint https://s3.fr-par.scw.cloud --region fr-par --bucket my-bucket --access-key-id AK... # asks for the secret key; VARSTO_S3_SECRET or --secret-file in scripts
varsto --home ~/.varsto-laptop storage add-rclone hetzner storagebox:varsto # any rclone remote
varsto --home ~/.varsto-laptop folder add docs ~/Documents/synced # asks for the 24 recovery words (or VARSTO_RECOVERY_WORDS): the folder's recovery copy
varsto --home ~/.varsto-laptop sync
varsto install # Linux: varsto on PATH, tray at login, menu entry. Background sync (systemd user unit / macOS launch agent) is set up by any command once a vault exists; varsto uninstall turns it off
varsto tray # Linux/Windows: tray icon + background service (macOS: Varsto.app; Windows: use the installer, docs/windows.md)
varsto service remember # keep the passphrase so the service unlocks itself after a restart: desktop keyring, else (also over SSH) systemd-creds, else the kernel keyring until reboot; says which one. varsto service forget removes it
varsto update --check # self-update from the download page (also checked automatically)
varsto update --daily # the newest daily (test) build instead of a release; signed with its own key, never automatic
varsto transfers --watch # uploads, downloads and peer traffic running now
# on another device that can reach the same storage:
varsto --home ~/.varsto-desk join --name desk --storage-path /mnt/box # asks for the vault key (hex or the 24 vault words); --recovery-words also opens every folder that has a recovery copy
varsto --home ~/.varsto-desk folder request docs # no content yet: ask the owners; prints six words to compare (the Files page of the app does the same with Request access, which a phone needs: it has no command line)
varsto --home ~/.varsto-laptop sync && varsto --home ~/.varsto-laptop folder approve docs desk # on an owner device: shows the same six words, asks "Do the six words match?"
varsto --home ~/.varsto-desk sync # reads the grant
varsto --home ~/.varsto-desk folder attach docs ~/synced
varsto --home ~/.varsto-desk sync
varsto --home ~/.varsto-desk status --json
varsto --home ~/.varsto-desk fsck --verify
# recovery kit: the vault words and the recovery words, 24 each (and 2-of-3 shares of each), for paper
# or metal; it asks for the recovery words that `init` printed (they never change; `recovery escrow`
# writes the copies a folder lacks), and says in capitals when they are missing from the printout
varsto --home ~/.varsto-laptop recovery kit --shares
# what else to keep if every device is lost (storage keys, disks, security keys) and the restore steps
varsto --home ~/.varsto-laptop recovery guide --format html --output recovery-guide.html # new in 0.0.1-alpha.14
# a Strongroom: the folder key exists only while your security key is touched (needs fido2-cred/fido2-assert)
varsto --home ~/.varsto-laptop strongroom create taxes ~/Taxes
varsto --home ~/.varsto-laptop strongroom unlock taxes --minutes 15
# peer-to-peer is on by default (port 17893): devices exchange encrypted blocks directly (LAN
# automatically; internet through NAT, with one of your own reachable devices as the relay when
# hole punching fails); `varsto p2p disable` turns it off
varsto --home ~/.varsto-server p2p enable --public 203.0.113.5:17893 # reachable: relays for the others
varsto --home ~/.varsto-laptop p2p status # NAT guess, public address, path to every peer
varsto --home ~/.varsto-laptop p2p traffic --watch # live speed, totals and path per peer
varsto --home ~/.varsto-laptop p2p rendezvous status # the optional meeting-point service that finds devices across networks (set <url>, --off; docs/rendezvous.md)
# a durability policy: two cloud copies, one at home, verified within 30 days; exit code 0/1/2/3.
# A folder without its own policy uses the default: 1 copy on any storage, 1 in external storage,
# 1 on your own disks (a directory storage or a disk pool), verified by another device within 30 days.
varsto --home ~/.varsto-laptop policy set docs --min-copies 2 --place cloud=2 --place home=1 --verified-within-days 30
varsto --home ~/.varsto-laptop policy check
# find files by their analysis, tags and path (record an analysis in the interface or with `varsto analysis`)
varsto --home ~/.varsto-laptop search receipt 2026
# a lost or stolen device: remove it from another device (new vault keys for everything written
# afterwards) and order it to wipe itself when it next reaches a storage; then print a new recovery kit
varsto --home ~/.varsto-laptop device list
varsto --home ~/.varsto-laptop device revoke phone --wipe --yes
varsto --home ~/.varsto-laptop org create --name "Acme" --user alice # business use: administrators, approvals, a signed log
varsto --home ~/.varsto-laptop org remove-user bob --wipe --yes # every device of a person, in one step
# a backup: read-only snapshots of a directory, kept on the storages only, each for 90 days
varsto --home ~/.varsto-laptop backup add photos ~/Pictures --retention-days 90 # takes the first snapshot; then daily
varsto --home ~/.varsto-laptop backup list && varsto --home ~/.varsto-laptop backup snapshots photos
varsto --home ~/.varsto-laptop backup restore photos 2026-10-01 --to ~/Restored # or a number, or latest
# restic (new in 0.0.1-alpha.14): this device mirrors every folder under /srv/varsto-mirror and backs it up daily
varsto --home ~/.varsto-server restic setup --root /srv/varsto-mirror --repo sftp:nas:/restic --password-file ~/.restic-pass --init
varsto --home ~/.varsto-server restic run && varsto --home ~/.varsto-server restic restore-hint # the hint: restore without Varsto
# imports (new in 0.0.1-alpha.14), one folder per source: git-annex repositories disk by disk, cloud drives through rclone, local folders
varsto import git-annex /media/disk-03/photos # then the disk it suggests next; see docs/import-git-annex.md
varsto import dropbox mydropbox: # also onedrive, or rclone <remote:path>; see docs/import-cloud.md
varsto import dir /media/old-drive --remove-source # removes source files once stored and the policy is met; docs/import-local.md
varsto import status && varsto import verify photos
# torrents larger than the disk (Linux, daily builds): batch by batch through transmission-daemon into a storage
varsto import torrent show.torrent --folder show --storage cheapest --free-min 15% && varsto import jobs run show # docs/torrents.md
# a pool of removable disks: fill, check, eject, retire; files on a disk that is away say "attach disk data-01 (shelf)"
varsto storage add-pool shelf --place shelf
varsto disk add /media/me/data-01 --pool shelf --label data-01
varsto disk list && varsto disk check data-01 --full && varsto disk eject data-01
# selective sync, transferrer disks, replicas and sharing:
varsto folder attach docs ~/synced --selective && varsto folder files docs && varsto folder fetch docs big.mp4
varsto paths free ~/synced/big.mp4 && varsto open-placeholder ~/synced/big.mp4.varsto-placeholder # what the file-manager actions run
varsto verify-release varsto-<version>-x86_64-unknown-linux-musl.tar.gz --github # check a download against the signed SHA256SUMS
varsto storage add-local stick /media/usb --carrier # a transferrer: carries only what the other device lacks
varsto replica token # give to an untrusted backup device
varsto --home ~/.varsto-replica replica init --name nas --token <t> --source /mnt/shared --target /mnt/nas/varsto
varsto --home ~/.varsto-shared share request --name ville # another Varsto user: a request code and six words, sent to you by any channel
varsto share create docs --to <request code> --fingerprint "<their six words>" # a grant on the storage; prints your six words
varsto --home ~/.varsto-shared share accept --name laptop --owner-words "<your six words>" --storage-path /mnt/sharedTest data only. Keep your own backups.
Repository layout
| Path | Purpose |
|---|---|
crates/ |
Rust workspace: varsto-core (library), varsto-cli (the varsto binary: CLI, service, tray, desktop interface), varsto-ffi (C ABI for iOS), varsto-window (the Windows window), varsto-rendezvous (the optional meeting-point service) |
apps/ |
macos (menu-bar app, Swift), android (foreground service + WebView), ios (SwiftUI shell, build on a Mac) |
docs/ |
Architecture, specifications, testing guides (lab runbook, benchmarks) |
tests/ |
Test matrix and shared test assets |
scripts/ |
test/ (test scripts and the VM lab), cloud-build/ (Scaleway fallback builds), screenshots/, bench/ and nat-test/ (measurements), signing helpers; see BUILDING.md |
installer/, ops/ |
The Windows installer; scripts for the web server (screenshot and daily-channel sync) |
website/ |
The static project website, its build and deploy scripts |
brand/ |
Product name and brand settings in one place |
Licence
Varsto is source-available, not open source. It is licensed under the PolyForm Shield License 1.0.0: you may use it for any purpose, privately or in a company, except for providing a product that competes with it. It may not be sold, repackaged or rebranded as a competing product; redistribution of unmodified copies under the licence is allowed. The name and logo are covered separately by TRADEMARK.md. Storage formats and protocols are intended to be openly specified so that your data stays recoverable.
Contributing, security and testing
- CONTRIBUTING.md
- SECURITY.md
- TESTING.md
- BUILDING.md (every platform, CI, screenshots, daily channel, website)
- RELEASING.md
- HANDOVER.md (current state)