Everything is one object.
Your app gets ctx and nothing else. Start with the quickstart — five minutes to a DEV badge on a real site — and come back here when you need a call.
npm create @fave1/app my-app cd my-app npm install npm run dev
get started
Quickstart
Scaffold, run it with a DEV badge, upload.
Concepts
One app, two modes. Panel and page, one wall.
App mode
Your app’s own page. Links that open straight to the right thing, the screen, sign-in.
Beyond ctx
Audio, clipboard, share, screen capture — and what may leave the page.
build with ai
Say what you want and Studio builds it in the console — no setup. Or bring Claude Code, Cursor, Codex: your assistant reads these docs as Markdown, and every new app comes with an AGENTS.md that points it here.
Studio
Describe your app in the console. It’s written, checked and in your launcher on any site — keep talking to change it.
AGENTS.md
How a Fave1 app works, the commands, and the rules review checks. Claude Code reads it through CLAUDE.md.
npx fave1 docs
Every page, live from this site — the newest even on an older CLI. npx fave1 docs ctx-storage prints one; offline, it reads the copy inside the CLI.
llms-full.txt
All of it on one page — paste the link into any chat. Or /llms.txt for the map, .md on any page’s address.
declare
manifest.json
ID, name, icon and the permissions you ask for. Read without running your code.
Permissions
Each one is a sentence people read — and a switch they can turn off.
api
ctx.ui
Draw the panel with blocks.
ctx.page
The live DOM of the page you’re on.
ctx.storage
Private JSON on the account — every site, and app mode.
ctx.files
Their files on the account — images and exports, up to 25 MB each.
ctx.shared
One value, one link. Anyone with it reads; let them edit if you want.
ctx.stickers
Give a sticker for their My Fave1 home — a trophy, a badge, their pet.
ctx.purchases
Sell things inside your app for Fave1 credits. Fave1 holds the price and the Buy button.
ctx.pub
Public JSON other people can read — boards, streaks, hides.
ctx.live
Rooms — several people edit the same thing at once, pushed the moment it changes.
room.direct
A direct line between two players — browser to browser, for every frame.
ctx.user
Whether someone is signed in, an id for this person that is yours alone, and whether this page can use their account without asking.
ctx.config
A JSON you edit in the console — live in a minute, no review.
ctx.t
Your app in their language — locales/en.json and the ones you add.
ctx.notify
A reminder they set — or a note for what someone did for them. A number on your icon; on() while your app is open.
ctx.clipboard
Copy and paste. Pasting asks the person every time.
ctx.ai
Claude, ChatGPT, Gemini or Grok on Fave1 AI, paid from their Fave1 credits — text and voice. No keys anywhere.
ctx.camera
Their camera while your app is open. Fave1 asks first and shows a red dot.
ctx.mic
Their microphone while your app is open. Fave1 asks first and shows a red dot.
types/fave1.d.ts
Every call typed. Ships with the template.
kit
ship
Testing
Run your build on your real account — sign-in, the first-use prompt, saves on every site — before anyone else sees it.
Publishing
Upload a build, pre-check it, then Submit for review. Roll back and hide without a new review.
Requests
Apps people already asked for — pick one and the votes are waiting.