Skip to content

A social filesystem

Dan Abramov’s essay A Social Filesystem explains the AT Protocol, the protocol behind Bluesky, as a filesystem. Each person has an “everything folder” of small files called records. Apps don’t own that data: they read and write formats, and an app’s database is only a view built from everyone’s folders.

Most social products need that metaphor explained. Retro PC already has the real thing: every account has its own folders, apps are registered by the file types they open, and windows update when a file changes. This page proposes building Retro PC’s social and federated features on that filesystem.

Idea from the essay Retro PC today
The file format is the API; apps and formats are many-to-many fileTypes and openWith in the app registry. Notepad opens .txt; Open With lists every app for a file
An “everything folder” each person owns Each Retro PC account’s files, kept on the server and following them to any device
Files are the source of truth; apps react to them Partly. The desktop keeps its icon layout in a hidden desktop.ini, not in a database
A stream of every change fsChanged, which every open window already follows
An account ID that survives renames windows_accounts.id, which works like Windows XP’s SID
Validate on read Every payload is parsed with a Zod schema before it’s used

Windows XP kept each program’s data in a hidden Application Data folder. Retro PC’s social data would live there as records: one folder per collection, one small JSON file per record.

Application Data/
net.retropc.messenger.profile/
self the display name, picture and personal message
net.retropc.zone.score/
3mclfkzg4uc2k one solo game result
net.retropc.guestbook.entry/
3mcleqsh7cc2k an entry you signed in someone's guestbook
  • A collection name is a reversed domain, so anyone can define one without a clash.
  • A record name is a time-based key, so names sort in the order they were made.
  • Deleting a record undoes what it records, in every app that shows it.

A collection’s schema is its format, like a file extension’s. Each would be a Zod schema in @retro/protocol, registered like a fileTypes entry with a label and an icon, so Explorer can show records like any other file. Apps check each record against the schema when they read it and skip what doesn’t match, as Picture Viewer skips a file that isn’t a picture.

A permanent address names any record on any node:

retro://<identity>/<collection>/<record>

A guestbook entry links to the guestbook it was signed in; a badge links to the score that earned it. Counts come from those links: a guestbook’s entry count is the number of entry records, in everyone’s folders, that point at it.

An app’s database becomes a cache built from records. The Retro Zone fits this already: each node’s net.retropc.zone.score records are collected into the leaderboards, instead of the Zone’s tables being the only copy.

Everything in an AT Protocol repository is public, which doesn’t suit a desktop where most files are private. Windows XP already had the answer in its own interface, so Retro PC can use the same words:

Windows XP In a social filesystem
Make this folder private The default: the folder stays on its machine
Share this folder on the network The folder’s records are published to other nodes
Shared Documents Records everyone on the machine can read
My Network Places Other people’s shared folders, open in Explorer
FrontPage’s My Webs folder A personal site: a shared folder of page records

Making a homepage becomes putting files in a folder and sharing it. Retro Internet Explorer draws the pages from any node that has a copy: a small GeoCities on the Retro Web.

Data Fits a social filesystem Carried by
Profiles, Zone scores and badges, guestbooks, personal sites Yes: public and lasting Records, possibly on the AT Protocol itself
Messenger, Retro Mail, calls, live games No: private or real-time Retro PC’s own node-to-node protocol

Using the AT Protocol for the public layer would bring portable identity and existing tools. Its cost is a dependency on did:plc, the AT Protocol’s identity directory, which is still run centrally while it moves to an independent organization. The next section compares ways to avoid that.

A retro:// link names an identity, not a node, so it keeps working when someone moves. That needs a record of each identity’s current keys, handle and node, and somebody has to keep it.

Option Who keeps it Independent Survives a move Survives a dead node Works with Bluesky
Plain user@node (today) Each node Yes No No No
did:web The account’s own domain Yes Only with its domain No Yes, hostnames only
did:plc on plc.directory Bluesky’s directory No Yes Yes Yes
A private PLC directory Retro PC Yes Yes Yes No
did:webvh Each node, with a signed history of changes Yes Yes With a copy of the history No
A shared Nodelist directory Every peered node Yes Yes Yes No

did:webvh is a Decentralized Identity Foundation standard: the identifier is derived from the first signed entry of a log, and every later change is signed and chained to it, so no registry is needed.

The shared Nodelist directory would be Retro PC’s own: did:plc’s signed, hash-chained log, with the central server replaced by every peered node keeping a copy, as FidoNet nodes all kept the nodelist.

  • An identity is the hash of its first signed log entry.
  • Each change is signed by the person’s key and points at the entry before it, so any node can check the whole history itself.
  • Peered nodes pass changes along, so a node that goes away loses nothing.
  • Two validly signed changes after the same entry are detectable, and a recovery key can settle them within a fixed window, as did:plc allows for 72 hours.

Plain user@node is enough until accounts need to move between nodes. A private PLC directory is the one option to avoid: it has all of did:plc’s machinery, but nothing outside Retro PC would accept its identities.

  1. Public social data on the AT Protocol, or everything on Retro PC’s own protocol?
  2. Which records come first? A profile and Zone scores are the lowest-risk start.
  3. Is “Share this folder” the one switch between private and federated, for files and sites alike?
  4. When accounts need to move, did:webvh or a shared Nodelist directory?