FaberOS runs web apps in windows, with one place for permissions, a shared file Shelf, notifications, and AutoFaber, an AI that can operate any app that says what it can do. Foundry, its app store, is open to other makers: send your app from this page, and once it's reviewed it appears in Foundry and FaberOS. This page is everything an app needs, and a checker for your manifest.
One JSON object, format faberos/1. It's the same shape the workshop's own apps use.
| Field | What it is |
|---|---|
| id | Unique, lowercase: letters, digits, hyphens (2 to 40). |
| name, desc | What it's called, and what it does in one sentence. |
| entry | The https:// page FaberOS opens in a window. |
| cat | Its room: signals, ai, tools, world, play or craft. |
| hue, glyph | Its tile: a colour (0–359) and an SVG path drawn on a 24×24 grid. |
| permissions | The browser features the window may grant: fullscreen, autoplay, clipboard-write, and (FaberOS asks people first) camera, microphone, geolocation, clipboard-read, motion sensors, XR. Nothing else is granted. |
| accepts | File types it opens from the Shelf, like ".pdf" or "image/*". |
| verbs | What AutoFaber may ask it to do (below). |
| kit | true if it loads the Faber kit. |
Load https://mentifaber.org/assets/os/faber.js. Outside FaberOS every call does nothing and Faber.inOS is false, so the app works the same on its own.
Faber.notify("Indexed", "3 files are ready") // a notification in FaberOS
Faber.open("orbit") // open another app
Faber.save(blob, "report.pdf") // put a file on the Shelf
Faber.onFiles((files) => openThese(files)) // take files from the Shelf ("Open in…")
Faber.verbs({ "add-transaction": (a) => …, // what AutoFaber may ask it to do
balance: () => "Balance now $412" })
A verb is something the app can do when someone asks AutoFaber in words: "log $40 for gas", "track the ISS". FaberOS checks every argument against what the manifest declares, and asks the person before any verb that changes their data. The app's own function does the work and answers in a sentence.
{ "name": "add-transaction", "label": "Add a transaction", "changes": true,
"desc": "Log money in or out.",
"args": { "amount": "number", "label": "string", "direction?": "enum:out|in", "date?": "date" },
"words": "log add spent paid bought expense income" }
Argument types: number, string, date (YYYY-MM-DD), boolean, or enum:a|b|c. A name ending in ? is optional. At most 8 verbs, 8 arguments each.
Questions: write to the workshop.