How Marfa works
What an item is, how items connect, where they sit and who can reach them, on one example.
Marfa is one home for everything you keep: your files first, then the notes, tasks and bookmarks around them. Take a trip to Lisbon: a beach photo, a packing list, and a task to book flights.
Your instance
The library
What you keep
Lisbon trip
A view of items tagged lisbon
lists
beach.png
A file: a photo
lisbon
attached to
Packing list
A note
lisbon
keep
The feed
What services send
Book flights
A task from Todoist
delete
The bin
Restore within 60 days
syncs both ways
~/Documents/Lisbon
A directory on your computer
beach.png
Packing list.md
Items
- An item is one thing you keep: the photo, the packing list, the task. Each keeps its own history of versions.
- A file you save becomes an item. Marfa keeps the photo's bytes, and the item holds its title, its tags and any text Marfa reads from it.
- An item's type says what kind of thing it is, such as a note, a task or a photo, and which details it holds, such as a due date. Types nest: a photo is a kind of file, so a search for files finds your photos too.
- Every app and agent you approve works on the same items.
How items connect
- A tag is a free label, such as
lisbon, on any item of any type. - An edge links one item to another and says how: the photo is attached to the packing list. The photo stays an item of its own.
- A view is a saved list, such as every item tagged
lisbon, newest first. It's an item too, so every app shows the same list.
Where items sit
- The library holds what you chose to keep: what you saved, or what an agent saved for you.
- The feed holds what services send through connectors, such as your Todoist tasks. Keeping an item moves it to the library; it stays the same item. An item you don't keep stays in the feed, unless its type sets how many days the feed holds it.
- The bin holds what you delete, with its attached files. You can restore an item as it was for 60 days, unless you change that setting.
- A synced folder puts items on your computer as files. The folder lives on your instance; the directory, such as
~/Documents/Lisbon, is where its files sit. The photo isbeach.png, the notePacking list.md, and a change on either side reaches the other. See Sync a folder.
Who reaches your items
- You're the owner, the one person in your instance, and you sign in with your password or a passkey.
- An app or agent signs in through your browser, and you approve what it may reach: which types, and whether it may change them.
- A key is a credential you make for a script or a connector, holding only what you name.
You can see and revoke any app or key at any time. The Glossary defines every word these docs use.