XAV is an experiment to store files and folders on your existing atmosphere account, built on the atproto spaces beta
Try it now
you can try out the file manager here -> https://xav.whey.party/
You would need an atmosphere account on a PDS with space beta support.
If youre confused, all you need is to have a Bluesky account to try out XAV Preview.
Okay but what is it
XAV lets you share files and folders using your existing atmosphere account.
Think of it like Google Drive, except instead of sharing files between Google accounts, you share them with other people using their existing atmosphere accounts.
With XAV, files and folders live on your Personal Data Server, which is the service responsible for hosting all your Bluesky posts and other atmosphere contents. What makes XAV special is that it uses the recently-released spaces beta feature set to store and share your files securely to only people you share it with (although if you want to, you can make your XAV Drive publicly readable to anyone)
XAV is still in the Preview phase, which means XAV technical specifications and even the name of the project is still due for further changes. So while you can already play around with XAV File Manager right now on https://xav.whey.party, i cannot guarantee that your data will be persisted for the full release of the project.
Technical writeup
the rest below is mostly technical stuff
for now, you can access the actual record definitions here on my PDS which contains the published lexicon schemas.
XAV Drives
A drive is exactly one AT Protocol space, and XAV gives it exactly one writer, which is the owner of the space itself. The space write API has no conditional write, so if two people edited the same file at once, one save could silently overwrite the other.
The filesystem is a record tree, with nodes referencing its singular parent node to form a file system. The current specs distinguish between three record types, one for the drive itself / root node, another for folders, and another for files. There is no built-in child list / backlinks, so the app builds the index locally when you open a drive. For future work, indexing might be delegated to an AppView. The file node / record type splits the actual file binary into chunks to get around the blob size limits. And the drive has a optional health check feature to report missing or inconsistent pieces of the file chunks (but cant repair it).
ACLs & Write Proxy
Read sharing uses the normal PDS space memberspace ACL system, in which the reader's PDS issues a short-lived delegation token, exchanges it for a space credential, and signs reads.
Write sharing is one of the harder parts of XAV to get right. I decided on a write proxy service design, in which the owner gives the proxy a write-only OAuth grant for one drive, and the proxy checks its own ACL for the list of allowed editors, and applies writes as the owner, so the space still has one writer.
For the XAV Preview, we host an example Write Proxy server (https://writeproxy.whey.party), but unfortunately code for it is not ready yet to be released for self hosting.
Design
The file manager takes a lot of design cues from Google Drive on purpose, but the model doesn't match one-to-one. Currently sharing is for the whole drive, though there are plans for future revisions of the XAV spec to allow sub-drives, in which folders are converted to a brand new drive, with its own separate ACL to allow for a nicer paradigm more closely resembling Google Drive. And also XAV doesn't send invites because there isnt a good way to notify other people yet, although atmail.network looks very promising.
The name and namespace are temporary too. "XAV", party.whey.files.*, and xav.whey.party will probably not survive the full release of XAV. After Preview end i will probably rename, move the namespace, and open-source the code properly. Until then i cant guarantee that the files you upload in the current XAV Preview have a migration path towards the full release version.
Future work could include FUSE/WebDAV support, and maybe a dedicated AppView for thumbnailing, indexing, full text search, and a built-in write proxy.
whats next?
Theres still quite a bit of work ahead before XAV leaves Preview. Ill be publishing the XAV v0 specifications, File Manager source code, Write Proxy specifications, and a reference implementation on my Tangled account before the full release.
The project is still experimental, and both its name and technical specifications are subject to change. Ill share further updates here on my Bluesky at .
id love to hear feedback and have discussions around the specs as i start publishing them. i dont want XAV to be just my own take on file storage over atproto, and hopefully we can work towards something that the wider community can agree on and build upon.