Getting started
Keep, send, and receive files privately. Everything is encrypted with keys that only you hold.
Set up your account
- Open your inviteEvery quattle account starts with an invite from someone who already has one.
- Choose a usernameUse 3 to 32 letters, numbers, dots, dashes, or underscores, starting with a letter or number. quattle never asks for an email address.
- Set a password or a passkeyEither one unlocks your keys. Passwords need at least 12 characters.
- Save your recovery codesYou'll see eight codes, just once. Type one back to confirm you've saved them, and your vault opens.
There's no way to reset a password. Because quattle never holds your keys, a passkey, a security key, or a recovery code is the only way back in if you forget it.
Sign in
- Sign in with your username and password, or with a passkey saved on your device.
- Turn on Remember this device to stay signed in for 7 days. Otherwise, you're signed out after 12 hours.
- A remembered device keeps its own copy of your key, which only that device can use.
- To see your remembered devices or sign any of them out, go to Settings › Sessions.
Install the app
- iPhone and iPad: In Safari, tap Share, then tap Add to Home Screen.
- Mac: In Safari, choose File › Add to Dock. In Chrome, click the install button in the address bar.
- Windows and Android: Choose Install from your browser's menu.
- The app opens straight to your vault. On iPhone and iPad, notifications work only in the installed app.
Vault
Your files and folders are encrypted in your browser as they upload, and they can only be opened on your devices.
Upload
- Click Upload, or drag files and entire folders onto the page.
- Each file is encrypted in your browser before it's sent, so only encrypted data ever leaves your device.
- Files can be up to 500 MB on the free plan, or up to 2 GB with quattle+.
- You'll find New Folder and Create Document next to Upload.
The ··· menu
- Each file's ··· menu lets you rename, move, duplicate, tag, favorite, share, download, compress, or delete it.
- At the bottom of the menu are the file's checksum and File ID. The File ID is how quattle-cli, quattle.js, and tokens refer to the file.
- On a Mac or PC, you can also right-click a file to open the same menu.
Quick Look
- Preview images, videos, audio, PDFs, and text files without leaving your vault.
- Use the arrow keys or swipe to move through a folder. A counter shows where you are.
- Videos and audio start playing right away, without downloading the whole file first.
Views
- List view works everywhere. On larger screens, you can also use Columns.
- In Columns view, the preview pane shows a file's dates, checksum, File ID, tags, and menu.
- Sort by date added, date modified, kind, name, size, or tag.
- Show All items, or only Yours, Shared, Received, or Favorited items. Received shows files that arrived through your receiving links or embeds, wherever you've since moved them, and the folders that lead to them.
Search
- Click the search button, or press /.
- Search looks through the file names in your entire vault and shows where each file is. Paste a File ID to reveal that exact file and where it is.
- Names are decrypted on your device. quattle never sees or indexes them.
Tags and favorites
- A tag is a name and a color. Tagged files show a colored dot, and tagged folders take on the tag's color.
- To filter by tag, use the toolbar.
- Everything you favorite appears together under the Favorited filter.
- In shared folders, your tags and favorites are visible only to you.
Editor
- Choose Edit from a file's menu to open text, Markdown, and code files. Markdown files include a preview.
- Create Document starts a blank file in the current folder.
- Press ⌘S to save. Every save is encrypted, just like an upload.
Versionsquattle+
- When you replace a file, either by uploading one with the same name or by saving in the editor, quattle keeps the previous copy.
- Choose History from the file's menu to view an earlier version, go back to it, or delete it.
- Version history is off until you turn it on in Settings. You can keep the last 1, 5, 10, 25, or 100 versions of each file.
- Kept versions count toward your storage.
- If your quattle+ subscription ends, quattle stops keeping new versions. The versions you already have stay in History for 30 days, so you can still view, restore, or delete them. After that, they're deleted automatically.
Compress
- Compress turns files or a folder into a zip archive, built right in your browser. The archive is a single file, so your file size limit applies to it.
- Decompress unpacks an archive into a new folder next to it.
Select
- Click Select to show checkboxes. To select everything, choose Select All or press ⌘A.
- You can download, move, compress, or delete everything you've selected at once.
- On a phone, the toolbar has room for one extra button. To pick it, choose Choose Shortcut from the ··· menu.
Trash
- Deleted items stay in the trash for 30 days on the free plan, or 180 days with quattle+. After that, they're deleted permanently.
- Items in the trash still count toward your storage. To free up the space right away, choose Empty Trash.
- Moving a file to the trash ends its sharing links and public copy, and removes it for anyone who added it. Restoring the file doesn't bring any of these back.
- Deleting a shared folder you own ends access for every member at once.
Keyboard shortcuts
- /Search your files
- ?Show keyboard shortcuts
- ↑↓Move through files
- ←→Move between columns or previews
- ReturnOpen
- SpaceQuick Look
- F2Rename
- ⌘⌫Delete
- ⌘ASelect all, while selecting
- ⌘SSave in the editor
- EscClose or clear
Export
- To download every file you own as a single zip archive, go to Settings › Export. Your files are decrypted in your browser, and your folders stay intact.
- To download a shared folder you've joined, use the download option in its ··· menu.
- If your vault is large, export one folder at a time. Some browsers need to hold the entire archive in memory.
Sharing
Send files with a link, collect files from anyone, and share secrets that can be read only once.
Sharing links
- To share a file, choose Share from its menu.
- The file's key is part of the link, after the #. Browsers never send that part of a link to a server.
- quattle only stores and delivers the encrypted file. The recipient's browser decrypts it.
- Anyone with the complete link can open the file. quattle can't.
- If you replace a file, its links stay the same and open the new version.
Link options
- Expires: After anywhere from 5 minutes to 30 days, at a time you choose, or never.
- Open limit: From 1 to 500 opens.
- Passphrase: Optional. You can only add one when you create the link.
- Download button: Show it or hide it.
- Shown name: Use the file's name, or choose a different one.
- Name and note: For your own reference. Recipients never see them.
Receiving links
- Anyone with a receiving link can send you files, without needing an account.
- Each file is encrypted in the sender's browser with your account's public key.
- Files arrive in the folder you choose.
- Each file can be up to 500 MB on the free plan, or up to 2 GB with quattle+.
- You can set a total size, a largest file size, accepted file types, an expiration, and a note for the sender.
Secrets
- A secret is a short piece of text, like a password, a key, or a code, that can be read only once.
- The page shows nothing until the reader chooses Reveal. Revealing a secret destroys it.
- You can see when a secret is opened and when it's revealed. Until it's revealed, you can still revoke it.
- An unread secret can expire after anywhere from an hour to 30 days, or stay available until it's read.
Add Shared Link
- Add Shared Link is in the toolbar, or in the ··· menu on a phone.
- Use it to keep a file another quattle user shared with you in your own vault, or to join a shared folder from its invitation.
- Files and folders you add this way don't count toward your storage.
- View-only links, and files inside a shared folder, can be opened from their link but can't be added.
- Revoking a link doesn't remove the file for anyone who already added it. To do that, use People with access in the file's Share sheet.
Hotlinking
- Hotlinking creates a public copy of a file at a simple address, so you can use it in web pages and image tags.
- It's the only way quattle serves a file unencrypted, so an admin has to turn it on for your account.
- Choose Enable Hotlinking from a file's menu. It works with files up to about 52 MB.
- Common web image, video, and audio formats, along with PDFs and plain text, open in the browser. Other formats, including SVG and HEIC, download instead.
- Your account may have a monthly request allowance. If it runs out, public copies pause until the next month.
Links page
- To open the Links page, click the link count above your vault.
- It's organized into Sharing, Receiving, Collaborating, and Secrets, and shows the activity for each item.
- You can edit or revoke any active link. Expired links move to a separate list, where you can delete them.
Limits
- Free plan: Up to five sharing links, five secrets, and one receiving link at a time.
- Links created with tokens count toward these limits. Expired and revoked links don't.
- quattle+: No limits.
Shared spaces
Work in the same folders as other quattle users, protected by a key that only members hold.
Share a folder
- Choose ShareOpen the folder's ··· menu and choose Share.
- Send the invitationYou'll get an invitation link for one person, shown once. To invite someone else, choose Shared With › Invite.
- They joinThey open the link while signed in, or paste it into Add Shared Link.
- Work togetherThe folder appears in their vault, marked as shared by you.
Members
- Members can add, rename, move, edit, and delete items in the folder.
- Tags and favorites stay private to each person.
- Choose History from the folder's menu to see the latest 200 changes and who made them.
- Any member can leave at any time. When a member leaves or is removed, their sharing links to files in the folder stop working.
Owner
- The owner of a shared folder provides the storage. Everything in it counts toward the owner's plan, and the owner's file size limit applies.
- The owner can remove members, or choose Stop Sharing to make the folder private again. Either way, those members' links to its files stop working.
- Moving a file or folder out of the shared folder ends any links members made to it.
- Deleting the folder removes every member and ends its links. Restoring it from the trash doesn't bring either back.
Encryption
- Each shared folder has its own key. The invitation carries it after the #, and each member's app stores it securely with their account.
- The keys for files inside the folder are protected by the folder's key, not by any one person's key.
- Removed members can't see anything new. Copies they already saved stay with them.
Limits
- Free plan: Own one shared folder at a time, and join as many as you like.
- A shared folder in your trash still counts, and stays listed under Collaborating, until you stop sharing it or delete it permanently.
- quattle+: No limits.
- Tokens, quattle-cli, and the Finder mount can't access shared folders.
Account
Settings is where you manage every way into your account, and how to leave it.
Ways to sign in
- Password: Unlocks your account key. You can change it in Settings.
- Passkey: Uses Face ID, Touch ID, or your device passcode. A passkey holds key material, so it can unlock your files on its own.
- Security key: A YubiKey 5, or any key that supports hmac-secret. It works just like a passkey.
- Authenticator codes: Asks for a six-digit code after your password. Codes protect you if your password is stolen, but they can't unlock your files.
- Recovery codes: Your last resort. Each code works once, and creating a new set replaces the old one.
Sessions
- Sessions lists every remembered device, starting with this one, and when each one expires.
- Choose Remove to sign a device out immediately.
- Sign out everywhere ends every session, and each remembered device deletes its copy of your key.
Notifications
- Files arriving: A file comes in through a receiving link or a token.
- Support replies: Someone answers one of your support conversations.
- Shared folders: Someone joins or adds to a folder you're in.
- Sharing links: A link you shared is opened for the first time.
- Secrets: A secret you sent is revealed.
- Storage: Your vault is 90% full, or holds more than your plan allows.
- Security: A new device signs in and is remembered, or a passkey or security key is added or removed.
- You turn on notifications separately on each device, and your choices apply to all of them. The Notifications page lists every device.
- Notifications never include file names, messages, or anything you've stored.
Appearance
- quattle matches your device's light or dark appearance.
- To keep quattle in light or dark regardless of your device, open the menu and choose the sun for Light or the moon for Dark at the top. Choose the computer to follow your device again. The same choice applies on the quattle website.
Invites
- Each invite creates one account.
- Every invite that's redeemed adds 1 GB to your storage, up to 2 GB in total.
- If you revoke an invite that hasn't been used, you get it back.
Support
- Support is a conversation right inside the app.
- You can attach one file to each message, like a screenshot, up to 8 MB. Attachments don't count toward your storage.
- Messages are encrypted to the support team's key, so only the people helping you can read them.
- If notifications are on, you'll know as soon as someone replies.
Delete your account
- Deleting your account immediately and permanently removes every file, folder, and link you created.
- Nothing can be recovered afterward, so export anything you want to keep first.
Automation
Tokens let scripts, Shortcuts, the command line, and assistants work with your vault, without your password or your keys.
Tokens
- Create tokens on the Automation page. Each token is shown once, and quattle stores only a hash of it.
- A write token can add files. A read token can list and download them. No token can do both.
- Tokens can expire after 30 days, 90 days, or a year, at a time you choose, or never.
- Revoking a token stops it immediately.
Write tokens
- Folder: Files go to Token Drops unless you choose another folder, or Vault (root directory).
- Upload limit: Set a limit per hour, day, week, month, or year. Every file counts as one upload, whatever its size.
- Links: Optionally let the token create sharing links, receiving links, and secrets. Links made by a token can't have a passphrase.
- Encryption: quattle-cli, quattle.js, and assistants encrypt files on your device. A plain form upload, like the one Shortcuts sends from iPhone and iPad, is encrypted by quattle the moment it arrives and is never stored unencrypted.
- A write token can't read any file, not even one it just added.
Read tokens
- Scope: One folder and everything in it, or your entire vault.
- Keys: Each read token has its own key pair. Your app gives it access to the files and folder names within its scope.
- Changes: Optionally allow renaming, moving, and deleting, for the Finder mount and assistants.
- Read limit: How many megabytes it can download in each period. Listing files doesn't count.
- Confirmation: Your app checks each read token before giving it access to new files. If a token shows Confirm, confirm it only if you created it.
Webhooks
- When: A file arrives through a write token, an embed, or a receiving link.
- From: All of them, or only the tokens, embeds, and receiving links you choose.
- Drop payload: Includes
event,at,tokenId,label,size, andlinked. - Arrival payload: Includes
event,at,linkId,note, andsize. - Signature: The
x-quattle-signatureheader is a base64url HMAC-SHA256 of thex-quattle-timestampvalue in milliseconds, a dot, and the body, signed with the secret shown when you create the webhook. - Delivery: quattle waits up to 2 seconds for a response and doesn't follow redirects. A failed delivery is retried once after 10 seconds, and once more during nightly maintenance.
- Failures: After ten failures in a row, the webhook turns off until you choose Turn on.
- Test sends a sample event. History shows the last 50 deliveries from the past 30 days, and you can redeliver any of them.
- Webhooks never include file names, contents, or keys.
What tokens can't reach
- Shared folders, whether you own them or joined them. Their keys are held by members' apps, not by tokens.
- The trash and version history.
- Anything outside a token's scope.
Works with
- quattle-cli, including its Finder mount
- Shortcuts on iPhone, iPad, and Mac
- Assistants, through quattle-cli
- quattle.js on your own website
- Your own code, using the same endpoints as quattle-cli
Good to know
- Free plan: One write token, one read token, and one webhook at a time. quattle+ removes these limits.
- Folders created by a token appear in the app the next time you open it.
- Files sent through a receiving link become available to read tokens after you next open the app.
- When you rename a folder in the app, tokens see the new name within a minute, as long as the app stays open.
Billing
quattle is free to start. quattle+ adds more storage, larger files, and version history, and removes every limit.
| Feature | Free | quattle+ |
|---|---|---|
| Price | Free | $9 a month or $79 a year |
| Storage | 6 GB | 256 GB |
| File size, browser | 500 MB | 2 GB |
| File size, CLI | 500 MB | Up to your storage limit |
| Version history | Not included | Included |
| Trash | 30 days | 180 days |
| Shared folders you own | 1 at a time | Unlimited |
| Shared folders you join | Unlimited | Unlimited |
| Sharing links | 5 at a time | Unlimited |
| Secrets | 5 at a time | Unlimited |
| Receiving links | 1 at a time | Unlimited |
| Write and read tokens | 1 of each at a time | Unlimited |
| Webhooks | 1 at a time | Unlimited |
| Embeds | 1 at a time, with quattle branding | Unlimited, branding optional |
Each redeemed invite adds 1 GB of storage on either plan, up to 2 GB. Expired and revoked links never count toward a limit.
Paying
- Monthly: $9 a month. Cancel anytime.
- Yearly: $79 a year.
- Code: $79 for 12 months, redeemed on the Billing page. Codes never expire.
- Stripe handles payment and tax at pay.quattle.app. quattle never sees your card details.
- Choose Manage Subscription to open Stripe's portal, where you can change plans, update your card, or cancel.
- Stripe sends your receipts to the email address you give them.
If your subscription ends
- The day it endsYour files stay readable and your links keep working. quattle stops keeping new versions, and the trash goes back to 30 days. Anything in the trash older than that is deleted that night.
- While you're over the free planNew uploads pause. You'll get reminders along the way to download or delete files until you're back within the limit.
- 30 days after it endsYour earlier file versions are deleted, which frees the storage they used.
- After 60 days over the limitEverything moves to the trash. Sharing links, receiving links, public copies, and access for anyone you shared files with end permanently.
- 30 days laterThe trash empties.
- The 60 days start on the first night your vault is found to be over the free plan's limit.
- If you subscribe again, your storage returns immediately. You can restore trashed files yourself until the trash empties, but you'll need to create new links.
- quattle never decides which files to keep. Your files are encrypted, so only you can make that choice.
Storage
- Storage counts the encrypted size of your uploads, your kept versions, and items in the trash until it's emptied.
- A shared folder counts only toward its owner's storage.
- There are no ads or sponsors on any plan.
Security
What's encrypted, which keys protect it, and exactly what quattle can see.
Keys
- Account key: Created randomly on your device. quattle only stores copies of it that are locked by your password, passkeys, security keys, and recovery codes.
- Account key pair: Receiving links, write tokens, and embeds encrypt files with its public half. The private half is locked by your account key.
- File keys: Each file has its own key, locked by your account key, or by the folder's key in a shared folder.
- Shared folder keys: Each shared folder has its own key, held securely by every member.
- Read token keys: Each read token has its own key pair, and the keys for files within its scope are locked to it.
- Passkeys and security keys: Each one can unlock your account key, so either can open your vault on its own.
- Remembered devices: Each one keeps a copy of your key that only that device can use.
Encrypted
- File contents, in authenticated chunks. If even one byte is changed, the file fails to open instead of opening incorrectly.
- File and folder names
- Support messages and attachments
- Names in a shared folder's history
- Secrets, link names, and private notes
Visible to quattle
- File sizes, timestamps, and how many files and folders you have
- Which files are in which folders, by File ID
- Folder paths sent with a write token, which appear in its history
- The file extension of each file sent through a receiving link
- Token and webhook names, webhook addresses, and receiving link notes
- Embed settings and invite notes
- Tokens, when they're used. quattle stores only their hashes, except for embed tokens.
- Encrypted file data, how often links are opened, and standard request logs
A plain form upload to a write token, like the one Shortcuts sends from iPhone and iPad, passes through quattle once so it can be encrypted on arrival.
Links
- Sharing link: Carries the file's key after the #, which browsers never send to servers.
- Receiving link: Carries your public key after the #. Each file is encrypted with it in the sender's browser.
- Secret: Carries its key after the #. The text stays encrypted until it's revealed.
- Shared folder invitation: Carries the folder's key after the #.
Verification
quattle testchecks quattle-cli, byte for byte, against known answers generated by the app's own cryptography.- quattle.js runs the same checks in any browser with
selfTest(). - Every release is published with its checksums, and Homebrew refuses any download that doesn't match.
- The app is served from this site under a strict content security policy, with no third-party scripts.
- SECURITY.md, in the repository, documents every key, how each one is protected, every request, and where trust is still required.
What encryption can't protect against
- A compromised device: Anything that can read your screen or keystrokes can read what you open.
- A weak password: Your password unlocks your account key, so an easy-to-guess one puts your files at risk.
- A leaked link, token, or secret: Whoever has it can open whatever it opens, until you revoke it.
- Losing every way in: If you lose your password, passkeys, security keys, and recovery codes, nobody can get in for you.
quattle-cli
End-to-end encrypted command line, with git-annex support
Move files in and out of your vault from the terminal, scripts, and scheduled jobs. It's a single file that needs nothing beyond Python 3, and every file is encrypted on your device.
- quattle.py 1.7.99a63b1f79565e6f92feee20a8b73a5a3ce2c94598fd82ecf01729eecb4625123
- quattle_annex.py36aa89e310a2cff1412e6b0c83f8ef618f89fd5bb0abc6c8657449808bebd189
- vectors.jsona808c1958fcc0f8cdabc4339db531d25d7b46c32b3696eac61c6c02817a6f88e
- quattle-cli.zipd40eed6d38a779f8a121aeadb228bb793438bfb89172f90b4b28d7e65485fe78
Install
- InstallUse Homebrew, or download two files.
- TestThis checks the cryptography against known answers. You should see
all vectors pass. If you don't, stop here. - Sign inThis saves a read token and a write token from the Automation page.
brew install quattle/tap/quattlequattle testquattle login
Install without Homebrew
mkdir -p ~/quattle && cd ~/quattlecurl -O https://quattle.app/cli/quattle.pycurl -O https://quattle.app/cli/vectors.jsonshasum -a 256 quattle.pypython3 quattle.py test
The checksum should match the quattle.py hash above.
In a-Shell on iPhone and iPad:
cd ~/Documentscurl -O https://quattle.app/cli/quattle.pycurl -O https://quattle.app/cli/vectors.jsonpython3 -c "import hashlib;print(hashlib.sha256(open('quattle.py','rb').read()).hexdigest())"python3 quattle.py test
Homebrew
- Run
brew upgrade quattleto get each new release. - The formula checks each release against the hashes above before installing it.
- It installs
quattleandgit-annex-remote-quattle, using Homebrew's Python and OpenSSL. - It keeps its own copy, so an existing
~/quattlefolder isn't touched. - The examples here use
quattle. If you downloaded the files instead, runpython3 quattle.py.
Tokens
- quattle-cli never uses your password. It uses a read token and a write token, each with one job.
quattle loginsaves them in the Keychain on a Mac, or in a.quattlefolder that only you can read on other systems.quattle logoutremoves them.- You can also set
QUATTLE_READ_TOKENandQUATTLE_WRITE_TOKEN. Environment variables take priority. - Tokens are never read from command arguments, so they stay out of your shell history and process lists.
- Write limit: How many uploads are allowed in each period. Every file counts as one, whatever its size.
- Read limit: How many megabytes can be downloaded in each period. Listings don't count, and each download counts the bytes it requests when it starts.
Commands
put
- Uploads a file, encrypted on this device. With quattle+, a file can be as large as your remaining storage. On the free plan, the limit is 500 MB.
- A file over the limit is refused before anything is encrypted.
- Uploads stream in parts, several at a time. If an upload is interrupted, run the same command again to resume it, as long as the file hasn't changed.
--path folder/subplaces the file in a folder inside the token's folder, creating any missing folders up to 8 levels deep.--namesets the file's name in your vault.--workers Nsets how many parts upload at once, 3 by default.- Use
-to read from standard input, along with--name:pg_dump db | quattle put - --name backup.sql - If the token can create links, a sharing link is printed. Uploading the same unchanged file to the same folder stores it only once.
ls
- Lists the files the read token can see, with each one's path, size, date, and ID.
--pathlimits the list to one folder and everything in it.
folders, mkdir
folderslists every folder the read token can see, including empty ones, with file counts and IDs.mkdir Documents/2026creates a folder inside the write token's folder, along with any parent folders it needs.
get, cat
getdownloads and decrypts a file, then prints its SHA-256 checksum so you can compare it with the one in the app.-osets the output file name.- Interrupted downloads resume, and every chunk is authenticated.
catstreams the decrypted file to standard output.
sync, watch
syncmirrors a folder into your vault, sending only new or changed files and keeping subfolders intact.- It compares names, sizes, and modification dates, skips hidden dot files, and is safe to run again.
watchruns a sync every 60 seconds until you press Control-C.--everychanges the interval.- Neither command ever deletes anything, on your computer or in your vault.
verify, restore
verifyconfirms that a folder matches your vault without downloading anything, by checking each file against its encrypted checksum. It exits with code 1 if anything differs.restorerebuilds the read token's files in a folder, skipping any that already match.--pathrestores a single folder into the top of the destination. Asking for a folder the read token can't see is an error.
rm
- Moves a file to the trash. This requires a read token that's allowed to delete.
share
- Creates a sharing link for a file that's already in your vault, using the write token's link settings.
- This uses both tokens, and the file must be in the write token's folder.
receive
- Creates a receiving link into the write token's folder, or into the folder you give with
--path. --labelgives the link an encrypted name.--notesets the note senders see.--minutes,--max-file-mb, and--types pdf,jpgset its limits.- This requires a token that's allowed to create links. The free plan allows one open receiving link.
secret
- Encrypts a one-time secret on this computer and prints its link. Revealing the secret destroys it.
- Use
-to read the text from standard input. --minutessets when an unread secret expires, up to 30 days, and0keeps it until it's read. Otherwise, the token's link lifetime applies, or one day if the token's links never expire.- This requires a token that's allowed to create links. The free plan allows five open secrets.
serve
- Runs a WebDAV bridge on localhost that mounts your vault in Finder. See Desktop for details.
- With only a read token, the mount is read-only. With both tokens, you can read and write.
- When you skip around in a file, like scrubbing through a video, only the chunks you need are decrypted.
--portsets the port, 8787 by default.--drop-pathnames the token's folder while it's empty.
mcp
- Runs a tool server for Claude, ChatGPT, and other assistants. See Assistants for details.
- It uses standard input by default. Add
--http 8788to listen on localhost instead.
test, version
testruns the self-check again, offline and without tokens, and names the encryption library in use.versionprints the release number, so you can match it against the hashes above.
--json
- Every command except
cat,serve, andmcpprints a single JSON document.watchprints one for each successful check. - Progress messages go to standard error. Failures print
{"error": "..."}and exit with code 1.
Details
git-annex
- You can use quattle as a git-annex remote. git keeps track of names and history, and your vault keeps the encrypted contents.
git-annex-remote-quattleneeds to be on your PATH, and Homebrew installs it for you. Without Homebrew, also keepquattle_annex.pynext toquattle.py.- This uses both tokens, and the read token must cover the write token's folder.
prefixchooses the folder,annexby default.dropmoves content to your trash, using a read token that's allowed to delete.
git annex initremote quattle type=external externaltype=quattle \ encryption=none prefix=annexgit annex copy big.bin --to quattlegit annex get big.bin --from quattle
Speed
- quattle-cli encrypts with OpenSSL, or with CommonCrypto on a Mac without Homebrew's OpenSSL, using your processor's built-in AES instructions. That means hundreds of megabytes per second.
- If neither is available, it falls back to a built-in Python cipher that's slower but produces identical results.
testshows which one is in use and proves they match. - In a-Shell on iPhone and iPad, parts upload one at a time.
Errors
- Errors appear exactly as the server reports them.
- Too large: Refused before any data is sent.
- Allowance used: Refused until the next period begins. The error tells you which allowance ran out.
- Out of storage: Refused until you free up space.
- Revoked or expired token: Refused everywhere.
- Connection problems: Reported only after eight retries. A retry never creates a duplicate link or secret.
Good to know
- To open a printed link, put it in quotes, like
open "url", or copy and paste it. Some terminals mangle the #, which sends the key to the server. If that happens, treat the link as compromised. - A write token can't list or download files. A read token can download only what it covers, and keeps a daily history of what it served.
- quattle-cli runs anywhere Python 3 does, including a-Shell on iPhone and iPad.
- In a-Shell, pressing Control-C can leave a command running and cause the next one to fail. To stop it, close a-Shell from the app switcher.
Shortcuts
Upload photos and files from the share sheet, and get a sharing link copied to your clipboard.
Get the shortcut
- Download the shortcutOr follow the steps below to build it yourself in about five minutes.
- Add your write tokenOpen the shortcut once in the Shortcuts app and paste your token into the Authorization header.
- Share anything to itChoose the shortcut from the share sheet in any app to upload a photo or file.
How your files are protected
- iPhone and iPad: Shortcuts can't run quattle's encryption, so the shortcut sends your file to quattle over a secure HTTPS connection. quattle encrypts it the moment it arrives and never stores it unencrypted.
- Mac: Your shortcut can hand files to quattle-cli instead, which encrypts them on your Mac before they're sent. To set this up, see Quick Action under Desktop.
- For files that should never reach quattle unencrypted, even briefly, upload them in the quattle app or from your Mac.
Build it yourself
- Receive from Share SheetTurn on Images, along with any other types you want. Set If there's no input to Continue.
- Get Contents of URLSet the URL to
https://quattle.app/d/and the method to POST. Add a header namedAuthorizationwith the valueBearer, a space, and your write token. - Request Body: FormAdd a File field named
fileand set it to Shortcut Input. To choose a folder, you can also add a Text field namedpath, likephotos. - Get Dictionary from Contents of URLThen add Get Value for
linkin Dictionary. - If Dictionary Value has any valueAdd Copy to Clipboard, then Show Notification with the title
quattleand the bodyUploaded · link copied to your clipboard. - OtherwiseAdd Show Alert with Contents of URL, and turn off Show Cancel Button.
- End IfGive the shortcut a name, and you're done.
Common mistakes
- A JSON request body: JSON is the default, but quattle needs Form. Until you change it, quattle responds with "Send the file as form data."
- A Text field for the file: This turns your photo into text, and quattle responds with "No file in the request."
- Testing with the play button: Running the shortcut on its own sends no file. Test it from the share sheet instead.
- Changing your token: Edit only the Authorization header. If the editor won't keep your change, duplicate the shortcut and edit the copy.
Details
- Files can be up to about 99 MB.
- Links follow your write token's settings for lifetime, download button, and open limit.
- The token can only add files. It can't read anything in your vault.
Desktop
Use your vault in Finder, from the menu bar, or with a right-click, all through quattle-cli's bridge on your Mac.
Finder
- Start the bridgeRun
quattle serveafter signing in withquattle login. - Connect to ServerIn Finder, choose Go › Connect to Server, then enter
http://localhost:8787in full. - Connect as GuestYour vault mounts like a disk.
- Quick Look works, videos play with scrubbing, and copying files out runs at disk speed.
- Drag files in to upload them encrypted. Drag items to the Trash to move them to your quattle trash.
- Creating, renaming, and moving happen in place, so IDs, links, and history are kept.
- Changes made in the app appear within about 15 seconds. If a window seems out of date, leave the folder and open it again.
Tokens
- Write token: New files go into its folder. For a mount you can write to anywhere, set its folder to Vault (root directory).
- Read token: Allow renaming, moving, and deleting. Otherwise, when an app saves a file, you'll end up with both the old and new copies.
- If you drop a file outside the token's folder, it's placed inside the token's folder with its path intact, and the bridge tells you where it went.
- Only the bridge holds your tokens. Finder and other apps never see them.
- The bridge listens only on localhost.
Keep it running
- A launch agent starts the bridge when you log in, and restarts it if it stops.
- In the file below, replace
youwith your username. Paste in your tokens, or leave them out if you've usedquattle login. Then load it once. - If you installed with Homebrew, replace the first two program arguments with
/opt/homebrew/bin/quattleon Apple silicon, or/usr/local/bin/quattleon Intel.
Launch agent
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict> <key>Label</key><string>app.quattle.serve</string> <key>ProgramArguments</key><array> <string>/usr/bin/python3</string> <string>/Users/you/quattle/quattle.py</string> <string>serve</string> </array> <key>EnvironmentVariables</key><dict> <key>QUATTLE_READ_TOKEN</key><string>your-read-token</string> <key>QUATTLE_WRITE_TOKEN</key><string>your-write-token</string> </dict> <key>RunAtLoad</key><true/> <key>KeepAlive</key><true/></dict></plist>
Save it as ~/Library/LaunchAgents/app.quattle.serve.plist, then run:
launchctl load ~/Library/LaunchAgents/app.quattle.serve.plist
Quick Action
- Store your write tokenSave it in your Keychain once, so no script ever contains it.
- Build the appIn Automator, choose File › New › Application. Add a Run Shell Script action, set Pass input to "as arguments," paste in the script below, and save it to Applications as quattle Upload.
- Make the Quick ActionIn Shortcuts, create a shortcut named Upload to quattle, turn on Use as Quick Action in Finder, and set it to receive Files. Add one Run Shell Script action, with input passed "as arguments," that runs
open -a "quattle Upload" "$@". - Allow accessThe first time you use it on a file on your Desktop, macOS asks for permission once.
- Right-click a file and choose Quick Actions › Upload to quattle. Files are encrypted on your Mac before they're sent.
- The same app works from any shortcut on your Mac, including one you use from the share sheet.
- To add Save PDF to quattle to every Print dialog, create an alias in
~/Library/PDF Services. - Why an app? A Quick Action's script runs as Finder, and macOS never gives Finder scripts access to Desktop, Documents, or Downloads. An app gets its own permission.
Commands and script
security add-generic-password -a quattle -s quattle-write -w
export QUATTLE_WRITE_TOKEN="$(security find-generic-password -a quattle -s quattle-write -w)"for f in "$@"; do /usr/bin/python3 "$HOME/quattle/quattle.py" put "$f"done
mkdir -p ~/Library/"PDF Services"ln -s "/Applications/quattle Upload.app" ~/Library/"PDF Services"/"Save PDF to quattle.app"
Menu bar
- Install SwiftBarSwiftBar turns a script into a menu bar item. When it asks for a plugin folder, choose SwiftBar Plugins in your Documents folder, as shown below.
- Add the pluginSave quattle-swiftbar.sh there as
quattle.5m.sh. The 5m tells SwiftBar to refresh it every five minutes. - Sign inRun
quattle login, and a lock appears in the menu bar.
- See your file count and total size, along with your twelve newest files, each with Copy Sharing Link and Download.
- Browse every folder, with Upload Clipboard Here.
- Use Upload File, Upload Finder Selection, or Upload Clipboard to upload into a folder you choose.
- Choose New Receiving Link, Seal Clipboard as Secret, or Mount Vault in Finder.
- With a Vault (root directory) token, uploads go exactly where you choose. Otherwise, they go inside the token's folder.
- The plugin requires the Homebrew installation, and it doesn't hold any tokens or keys of its own.
- macOS asks once for permission for SwiftBar to access the plugin folder, Finder, and System Events.
brew install --cask swiftbarcurl -o ~/Documents/"SwiftBar Plugins"/quattle.5m.sh https://quattle.app/cli/quattle-swiftbar.shchmod +x ~/Documents/"SwiftBar Plugins"/quattle.5m.sh
rclone
- A single WebDAV remote connects rclone to the bridge.
- Running
syncon a schedule gives you an encrypted offsite backup made of real files you can open, share, and restore one at a time. copyworks in either direction and never deletes anything.checkcompares files without transferring them.- With the default token, point rclone at a folder inside Token Drops. A Vault (root directory) token can reach every folder.
- Deleting, renaming, and moving require a read token that's allowed to change files. Deleted files go to your trash.
bisyncworks, but it's experimental in both rclone and quattle.- Skip
rclone mount. It requires macFUSE, and Finder can already mount your vault.
rclone config create quattle webdav \ url http://localhost:8787 vendor otherrclone sync ~/Documents "quattle:Token Drops/Documents"rclone check ~/Documents "quattle:Token Drops/Documents"
Best uses
- Great for: Moving files in and out, browsing, previewing, and playing media.
- Not a working folder: Apps that keep documents open, save automatically, or save through temporary files work best with files on your disk. Edit locally, then drag or sync the finished file in.
- Not for backup apps: Arq, restic, and Time Machine store data in packs that would fill your vault with files nothing can open. Use
rclone syncorquattle syncinstead.
Good to know
- Empty folders appear, and a folder created in the app shows up within a minute while the app is open.
- A folder created on the mount is saved wherever the write token can reach. Elsewhere, it lasts only while the bridge is running, or until a file is added to it.
- Folders renamed on the mount show their new names in the app the next time you open it.
- Shared folders never appear, because tokens don't hold their keys.
- Nothing works offline. The mount is a live view of your vault, not a copy.
- Spotlight, the Files app, and the share sheet aren't supported. Those require a native app.
- Finder's hidden housekeeping files are accepted and then discarded.
Assistants
Claude, ChatGPT, and other assistants can work with your vault through quattle-cli, which runs on your Mac alongside your keys.
How it works
- quattle-cli runs as a tool server on your Mac.
- Files the assistant reads are decrypted on your Mac with your read token, and files it writes are encrypted there with your write token.
- quattle's servers only see encrypted files and names, plus the folder paths the assistant uses.
- Anything you ask the assistant to read is processed on its provider's servers. That's the only place your files go unencrypted.
- This works only on a desktop computer, because a browser tab or a phone can't reach a program on your Mac.
Claude Desktop
- Download quattle.mcpbThis is quattle-cli, packaged as a Claude extension.
- Open it and click InstallIt appears under Connectors.
- Paste your tokensAdd a read token, plus a write token, or leave the write token out for a read-only connection.
- Your tokens are kept in your Keychain. The only other requirement is Apple's python3, which macOS offers to install if needed.
- The read token controls what Claude can see, and whether it can rename, move, and delete.
- The write token controls where Claude adds files, and whether it can create links.
Use a copy of quattle-cli you already have
In Claude, choose Settings › Developer › Edit Config. Add the following with your username and tokens, then restart Claude.
{ "mcpServers": { "quattle": { "command": "/usr/bin/python3", "args": ["/Users/you/quattle/quattle.py", "mcp"], "env": { "QUATTLE_READ_TOKEN": "your-read-token", "QUATTLE_WRITE_TOKEN": "your-write-token" } } }}
ChatGPT and other assistants
- Start the serverRun
quattle mcp --http 8788. - Add it to your assistantEnter
http://127.0.0.1:8788/mcpwherever it asks for an MCP server.
- The server listens only on your Mac. Your tokens stay with the server and are never given to the assistant.
- To keep it running, use the launch agent under Desktop with this command, in place of
serveor alongside it.
What assistants can do
- Folders: List folders, including empty ones, and create or rename them.
- Find: List and search files by name and folder, within the read token's scope.
- Read: Text, Markdown, code, CSV, and JSON files as they are. PDF, Word, Excel, and PowerPoint files as text. Images as images.
- Write: Create a file from text in the write token's folder, encrypted before it leaves your Mac.
- Share: Create a sharing link, a receiving link, or a one-time secret, using the write token's link settings.
- Change: Rename, move, and delete, if the read token allows it. Deleted files go to your trash.
- Nothing is downloaded until you ask about a file.
- Assistants never see shared folders, or anything outside your tokens' scope.
Embeds
Collect files on any website, encrypted in each visitor's browser. Paste in a ready-made upload box, or build your own with quattle.js.
Upload box
- Create oneGo to Embeds and choose New.
- Customize itSet the heading, description, button, folder, appearance, accent color, and limits.
- Paste the snippetAdd one iframe tag to your page, and the box is live right away.
- Largest file: Enforced by quattle.
- Total per visit: Checked in the visitor's browser.
- File types: Checked in the visitor's browser, whether files are chosen or dragged in. quattle only receives encrypted data, so it can't check file types itself.
- Number of files: Accept one file at a time, or several.
- Folders: Files go to the folder you choose, or senders can type a folder name or pick one from a list you set.
- When finished: Show a success message, then optionally redirect to an https address.
- Branding: The quattle logo appears on the free plan. With quattle+, you can hide it.
- Each upload box has its own write token, which is visible in your page and has no upload limit. To stop a box, pause or delete it.
- From the Embeds page, you can pause or edit a box and see its history. Changes take effect the next time the page loads.
Encrypted uploads from any web page
One module, with no dependencies and nothing to build. You design the form, and quattle.js handles the encryption, using a token that can add files but never read them.
- quattle.js 1.2bd18f0e57dedab525da0fc43eb1e241dd51859e01b39e54ac8ae0e5bdeb77b50
- vectors.jsona808c1958fcc0f8cdabc4339db531d25d7b46c32b3696eac61c6c02817a6f88e
Add it to your site
- Make a write tokenCreate one for each site on the Automation page, with an upload limit, an expiration, a folder, and links only if you want them.
- Import the moduleLoad it from quattle.app, or host your own copy and check it against the hash above. Put your code in its own script file, because a strict security policy blocks inline scripts.
- Call
drop()It encrypts the file, uploads it in parts with progress updates, and makes it available to your read tokens.
import { drop } from "https://quattle.app/sdk/quattle.js";try { const result = await drop(token, file, { path: "intake", onProgress: (state) => { meter.value = state.sentBytes / state.totalBytes; }, }); if (result.link) show(result.link);} catch (trouble) { status.textContent = trouble.message;}
Options
pathplaces files in a folder within the token's scope.namegives the file a different name.onProgressreceivessentBytesandtotalBytesas the upload runs.basesends requests somewhere other than quattle.app, like your own proxy.
Results
linkis included when the token creates links. The part after the # is the key.repeatedis set when the same unchanged file is already in that folder. Nothing is stored twice.linkRefusedis set when all five of the free plan's sharing links are in use. The file is still saved.- Errors are thrown as plain, readable sentences, so you can show them to people as they are.
- A file over the size limit is refused before anything is encrypted.
The token
- By design, the token sits in your page where anyone can see it. It can add files and read its own label, its limits, and your storage use.
- Anyone can use up its allowance and create folders. If links are turned on, they can also create receiving links and secrets, which stay open even after you revoke the token. Refused requests appear in its history.
- Proxy: Optional. A proxy on your own domain can hold the token and forward the
/d/requests. Pass its address asbase. It only ever relays encrypted data.
Content security policy
- Add the address quattle.js loads from to
script-src. - Add
connect-src https://quattle.appfor the upload. - If your site doesn't use a content security policy, you don't need to change anything.
Self-test
selfTest("https://quattle.app/cli/vectors.json")runs the same known-answer checks as the app and quattle-cli, right in the visitor's browser.
Good to know
- quattle.js works in any current browser, using WebCrypto and the same encrypted format as the rest of quattle.
- Your account's limits and the token's limits apply on either plan.
- Parts upload one at a time. If the visitor closes the tab, the upload stops, and unfinished parts are cleared within a week. Uploads can't be resumed.
- quattle.js has no interface or branding of its own. The live example is a simple page whose source you can view.
Ideas
- Client intake on a business website, in place of email attachments
- A place for clients to send work back to a photographer or designer
- Attachments on a contact form or bug report
- A drop box for an event, with a token that expires at the end of the day
- A simple page where anyone can send you a file, no account needed