User manual
What fileOS is
Section titled “What fileOS is”fileOS keeps your files on computers that you control: a small box at home, a server, your laptop. Each of these is a node. Your nodes, and the nodes of people you know, keep each other up to date.
There are only a few ideas:
- Everything is a folder. Your photos, your notes, a chat with your family and even the apps are folders.
- A shared folder is a folder that more than one node keeps. When you share a folder with a friend, their node keeps a copy, and changes go both ways.
- Your node, your rules. Each node has rules that say who may read, write or keep what. You can see every rule, and take any of them back.
- Apps only see what you let them see. An app is a small program in a sandbox. It can only use the folders you gave it.
Using your files
Section titled “Using your files”These commands work on the node that runs on your computer. Paths start with
the folder, for example /photos/2026/beach.jpg.
| Command | What it does |
|---|---|
fos ls /photos |
The names in a folder |
fos cat /notes/todo.txt |
Print a file |
fos put /notes/todo.txt FILE |
Put a file (or the text you type) |
fos rm /notes/todo.txt |
Take a file away; old versions are kept |
fos append /family/chat "…" |
Add a line to a stream, such as a chat |
fos status |
What your node is doing |
Sharing a folder
Section titled “Sharing a folder”- Make a folder:
fos new family /family. It prints the folder ID. - Give your friend’s node access:
fos grant /family <their node key> all. - Your friend mounts it on their node:
fos mount <folder ID> /family.
Now you both see the same files. Your friend’s writes go to your node, which puts them in order, and then come back to everyone.
If your friend’s node has different rules from yours, its copy can stop at
the first change its rules do not take. fos status then says FORK. Nothing
is lost; your friend can change their rules or make a new folder.
An app is a folder with a .app name, such as Photos.app. Install one with
fos install Photos.app. When you install it, your node gives the app only
the access that its manifest asks for. The photos app reads the photos in
/photos and keeps an index on your node: fos kv photos shows it.
To run a node, see the administration manual.