The generator's reference, now yours.
These are the exact documents the Vibes code generator reads when it builds apps: the API contracts for backends, data, access control, AI calls, and every creative skill. They're rendered from the platform source on every deploy, so they update when the platform does and can't drift.
Prefer the terminal? npx vibes-diy skills lists and dumps the
same docs. For guides and walkthroughs, start at the
docs overview.
backend.js — the app's server-side backend
server-side backend.js file: answer HTTP/webhook requests at the app's /_api URL, react to committed data changes, and run scheduled jobs — its writes go through the app's own access rules; keeps a copy of another system's records (a shop's orders, a CRM's contacts) with a scheduled read from a watermark, one record per outside id, which the shop's order email can ring through a Zap;reads each message someone pastes or sends and acts on it with an agent run over the app's own tools (ctx.agent.run: file the order an email describes, set the rest aside with a reason);reads a web page, feed or API the person names and hands it to the page through /_api; emails, notifies and reminds people through ctx.notify by handle — a weekly digest, a summary for the owner, a Monday email to the manager — and invites a recipient who is not in the app yet; texts the app's followers, takes their replies into a replies database, and runs a first-to-reply-gets-it offer as a claims database the texted #claim=<id> link points at; sends a record to a tool the person names (Slack, Google Sheets, a CRM, Zapier) through a Zapier Catch Hook the owner connects; and takes records in from Zapier — a Google Forms response, a new sheet row, an email — at its /_api URL, checked against a shared secret, including the person's own Gmail: a Zap they filter forwards only the mail they choose, which is how an app reads receipts or newsletters from an inbox; and reads mail sent to the app's own email address in its `email` export — order confirmations or receipts the person forwards to the app, messages a venue or a supplier sends it, a club's shared inbox
Fireproof Database API Guide
cloud-backed document database with live sync
CallAI Helper Function
easy API for LLM requests with streaming support
useVibe Hook — write gating
Gate write surfaces on the app's own access.js via useVibe().can
useViewer Hook
Get the current viewer's identity and capability gates
ImgGen Component
Generate and edit images
createVibe — meta-vibes (a vibe that builds another vibe)
Hand off to the builder to generate a second, personalized vibe (interviewer / meta-vibes)
Dates and calendars — the app knows today; subscriptions as a live .ics feed
dates and calendars: any app that keeps a date — due dates, deadlines, streaks and check-ins, schedules and shifts, reminders, timelines, 'tomorrow', 'Friday', 'every Monday' — resolves relative words against today, saves at once and shows the resolved date, and dates its sample records around the day they are written so the demo opens alive; plus live calendar subscriptions (webcal/.ics): each user's dated items as a phone-calendar feed that updates as they add more, with the backend.js aggregation recipe and the iOS-proof ICS format rules
D3.js Reference for Coding Agents
D3.js data visualization library for creating interactive charts, graphs, maps, and data-driven documents using SVG, HTML, CSS. Includes scales, selections, transitions, animations, force simulations, geographic projections, data binding, DOM manipulation, data viz, dataviz
Three.js API
Three.js 3D graphics library for WebGL rendering: mesh geometry, materials, lighting, animation, cameras, textures, GLSL shaders, GLTF/OBJ/FBX model loading, physics, particle systems, post-processing, visual effects, 3js, and 3D infographics told chapter by chapter with bars rising off a map or timeline. Anything played or steered also loads touch-games for phone controls; a place the person walks through as a player (a garden, house, museum or cave, first-person) also loads world-controls, and a model turned, spun or orbited on its own (a product viewer, a globe) stays three-js
Web Audio API: fundamentals, and heavyweight engines that arrive by runtime import
Web Audio fundamentals: the AudioContext from the gesture unlock, oscillators, decoded-file playback, gain and filters, and heavyweight engines (Tone.js and the like) imported at runtime from a pinned URL in a memoized loader, with one Stop that silences every voice. A music toy (a drum machine, a synth, a sequencer, a metronome) names \
Babylon.js WebXR Reference for Coding Agents
Babylon.js 3D engine with first-class WebXR: immersive VR and AR passthrough, hit-testing, surface anchors, particle systems, SolidParticleSystem, custom GLSL shaders, controller and hand-tracking events, PBR materials, Quest performance patterns. babylon, babylonjs, WebXR, VR, AR, spatial computing, immersive, mixed reality, xr, augmented reality, virtual reality, Quest, Vision Pro
Access Control (`access.js`) — permission design
server-side access.js file — the record rules every app ships with: who reads and writes each record, the creator granted at creation, invites into an object, membership/roles, approval-to-join, moderation, private per-user data, DMs. Name it on every first build, an app the person keeps to themselves included: its rules give each person their own record tree and a publish step
Blockly — block editors whose blocks write real code
Block editors built with Blockly, where people snap pieces together instead of typing code. Two audiences, one recipe. Teaching code: Scratch-like coding playgrounds for kids and beginners, drag-and-drop page builders with a live preview and Code Peek, turtle and robot sequences. Business logic edited by the people who own it: no-code rules engines (credit scoring, fraud flags, approval thresholds, compliance checks, discount and pricing rules, eligibility, routing and triage) whose blocks compile to a JSON rule tree the app evaluates in the browser and in backend.js; CRM, ERP and ticket workflow automations (when a record arrives, if it matches, tag it, assign it, send it to a queue, schedule a follow-up); low-code form and screen builders; device, robot and conveyor step sequences; QA, test-case and integration scripts (steps, expectations, mock responses). Covers the one pinned esm.sh ?bundle import, custom blocks with connection checks as the type system, JSON toolboxes with shadow defaults, custom CodeGenerator output (HTML, JSON, steps) and the standard javascriptGenerator run in a sandboxed iframe with step highlighting, workspace JSON saved to Fireproof with autosave, a Blockly theme from the app's tokens, locales via setLocale, and the zelos renderer on phones. blockly, scratch, blocks, block editor, visual programming, drag and drop code, no-code, low-code, rules engine, rule builder, decision rules, business rules, policy builder, workflow builder, automation builder, if-this-then-that, approval flow, test builder, puzzle pieces
Bluesky — public profiles, follows and feeds, with no login
Reading PUBLIC Bluesky data with no credential of any kind: the unauthenticated XRPC host, profiles, follows and followers, an account's own feed, actor search, why post search is not available without a session, checking a response's status before parsing it because a refusal comes back as HTML, and paging on the cursor rather than on emptiness
Board, tile and card games — boards that fit a phone, deals that repeat, rules that hold
Load it for every board, tile, card or word game — checkers, tic-tac-toe, connect four, go, mancala, sudoku, minesweeper, 2048, solitaire — turn-based play one move, tap, guess or card at a time, alone, against the app, passing one phone or against a friend on their own phone from a shared link; also bingo cards dealt per player from a shared pool, daily word guesses with an on-screen keyboard and a share grid, crosswords, word searches, grouping puzzles, letter hives, hex, poker and other card games with hidden hands, trivia rooms and dice scoresheets with house rules (chess has its own skill, which loads this one). Covers SVG boards in the app's theme tokens (square, hex, ring, graph and stacked shapes) dressed in a look from the request's world (a dauber on paper, skate wheels, poker chips, wooden tiles), seeded deals and daily seeds, win-line detection, turns, undo, AI opponents, and who sees what — public tables, private hands, members-only clubs.
Business paper — invoices, quotes and reports to print
Invoices, quotes, estimates, receipts, statements and monthly reports printed from the app's own records (jobs, clients, orders): one page per record with a letterhead, a for block, line items, subtotal, tax and total computed in plain code, a document number and date, and a Print or save as PDF button whose print style shows only the pages
Canvas theme colours — the look's tokens as colours a canvas can paint
The app's theme tokens as concrete colours a canvas, p5 sketch, Three.js scene or Blockly theme can paint with: cssColor, readLook and watchLook in lib/look.js, read at mount and repainted on a restyle.
Character games — a picture becomes a toy figure, and every figure gets a gallery
Turn a character into a 3D toy action figure, and hang a whole cast in a 3D gallery. A superhero drawing, a cosplay photo, a game character or a few words become a cel-shaded three.js figure with the character's body proportions, costume colours and pattern, hair, mask and top accessories (cape, wings, shield, hammer, horns, glowing fists, an aura and more), read by one callAI vision call into a small figure spec people can keep and edit; and a full-screen gallery room where every character's portrait hangs on a wall and the chosen one's figure turns on a stage in front of it, missing figures sculpted from the portrait and shared for everyone. character maker, character creator, action figure, toy figure, figurine, superhero figure, hero maker, 3d character, character gallery, cast gallery, hall of heroes
Chess — the rules from chess.js, the opponent from Stockfish, the board drawn your way
Load it for every standard chess app on the 8×8 board — play the computer at a chosen strength, play a friend from a shared link, puzzles, opening trainers, blunder coaches, game reviews, club ladders (other boards and rule sets are chess-variants'). Real rules from chess.js (castling, en passant, promotion, check, mate, every draw), a Stockfish engine opponent and analysis in a Web Worker, move lists, PGN and FEN, clocks, and the board drawn in SVG, with react-chessboard drag-and-drop, or in 3D.
Chess variants — small boards, odd pieces, a club's own rules, and an engine that plays them
Load it for chess on anything but the standard 8×8 rules — minichess on 5×5 or 6×6 boards, pawns-only games, atomic, crazyhouse, antichess, horde, three-check, King of the Hill, Chess960, shogi, xiangqi, new pieces, and a chess club's own invented variant. Rules from Fairy-Stockfish's ffish library, a variant written in a few lines of config, and a Fairy-Stockfish engine opponent in a Web Worker at any strength, on a board of any size.
Connections — a visitor's own account, spent by your app
Connect a visitor's own GitHub profile, Threads, Instagram or LinkedIn account with one click, read it from backend.js, and post to their Threads, Instagram or LinkedIn — config.connections, useConnection, @vibes.diy/social
debugging — working out what a deployed app is actually doing
GitHub — connect a repo to your app
Work with somebody's GitHub repo — a pull request bot, a code reviewer, an issue sorter, a repo dashboard, anything reading files, commits or a README or answering GitHub webhooks — through the vibes.diy GitHub App: a Connect link to /github/install, config.github in backend.js, ctx.github.fetch for repo calls and the /github-webhook route for events (a visitor's GitHub profile alone is connections)
Group plans: collect, decide, act once, report
A job a group does together that ends in one result or one action: poll everyone then pick a date, collect each person's top picks then return a short bookable list, a meeting point that respects what each person privately needs, items people claim, an RSVP or order placed once for the group. Answers are one row per person, a person's private need is read only by its author and the scheduled tick that computes the plan, the plan record is written only by backend.js and quotes no private need, the scheduled tick notifies the owner only when a decision is needed (quorum, conflict, deadline) and stops at its check budget, an approval counts only from a member other than the proposer and only while the proposal's text, audience and amount are unchanged, and each outside action is claimed once as an intent (ifRev: null) and is done only when a receipt confirms it. A single person's own list or tracker, or a poll with no decision to act on, does not need it
Hydra — live-coded video from chains of functions
Live-coded video with Hydra, the browser video synth of the algorave scene, where a moving picture is a chain of functions written as text (osc, noise, voronoi, shape, kaleid, modulate, feedback through src(o0)): a sketch pad with an editor, examples, a callAI box that rewrites the sketch and a shared gallery; a video synth whose knobs write the sketch, with the camera as a source; VJ decks and full-screen visuals for a set; visuals that move with the room's sound or with a Strudel pattern's beat through a.fft. Covers the AGPL engine fetched after first paint by a pinned esm.sh dynamic import (never bundled, credited visibly), the engine and every sketch running in a sandboxed frame the app drives by postMessage, so a shared sketch never reaches the app's data, errors shown while the last good one plays, the verbatim text-to-sketch system prompt, the microphone and camera from a press. hydra, hydra-synth, live coding visuals, livecoding visuals, live visuals, video synth, vj, vjing, algorithmic video, generative video, audio-reactive visuals, algorave visuals, feedback visuals, kaleidoscope visuals
Keepsake — the thing they print, share or hand out
A thing people print, share or hand out — a ticket, invitation, menu, poster, certificate or place card: one framed artifact drawn by the skin in a fixed shape, with the look's components as its editing controls beside it, and a print style that prints only the artifact
Live rooms — a place people are in at the same time
A room people are in at the same time, for any app whose point is being there together and that no game, world or chat skill covers: a watch party, a standup, a shared timer or countdown, a hangout, a live poll, a room friends join from a link. Covers the room id in the URL (#room=), the invite link, presence as a never-saved draft with a heartbeat and expiry, who is here with avatar faces and an 'N here' count, other people's cursors, optimistic local-first writes, seats and turns with a shared turn clock. A block world, a board or card game, or a group chat names its own skill, which loads this one.
Maps — a world overview, or a street map of places near the person
maps of every kind. World overviews (countries, travel journals, places visited, best places to live, territory games, choropleths) use bundled country outlines and SVG markers that render immediately. Street maps of places near the person (restaurants, coffee, parks, \
Match style — wear the style the person brings
The person brings an existing style to match — a brand guide, pasted CSS or design tokens, their own brand colours and font, a design system with its own components (Material 3, Apple's HIG / iOS settings, plain shadcn), or a screenshot or site to copy faithfully — so the app drops the look's components and wears that style: its palette written onto the theme variables in its own :root block, Google Fonts, plain JSX + Tailwind components
Media capture — photos, a live camera and voice recordings
voice memosVoice memos, voice notes and any app that records audio, and any app where the person adds a photo or uses the camera: a plant or receipt identifier, profile and avatar photos, a selfie booth, a scanner. The photo picker that offers Take Photo and the photo library (preview, paste, drag-and-drop, downscale, location stripped), a live camera viewfinder (front/back switch, permission asked on the tap, a picker when the camera is blocked), and a voice recorder (timer, level meter, play back before saving).
Member area — tiers, a members' discussion, and members-only tools
A member area with TIERS on top of a payment recipe — gold and platinum, supporter levels, a top tier that gets the owner's own tools — for a creator's audience from YouTube, a newsletter or a community: load it beside stripe-subscriptions (renewing, the default), square (when the person names Square) or stripe (dues or a season pass), never on its own, and only when the person asks for tiers, a members' discussion or members-only tools. Each tier is an owner-written plan record with a rank, copied onto the membership by backend.js; a member of rank N holds channels tier-1 through tier-N while entitled; every post, room and message names its lowest tier in minRank; members post in rooms their tier reads, checked with ctx.requireAccess in access.js; members-only tools run in backend.js and answer 403 below the tool's rank before ctx.callAI; on Square or a one-time Stripe charge a tier is a pass whose paidThrough each paid order moves forward. One database for memberships, plans, posts, rooms and messages. A single members-only feed with one price and no tiers, discussion or tools is stripe-subscriptions alone
Microphone and camera streams — asked for on the tap, stopped when done
Opening the microphone or camera: getUserMedia inside the tap that needs it, voice and music constraints, a plain reason when the stream is blocked, missing or busy, and every track stopped on finish, unmount and page hide.
Motion — things that move when you scroll, tap and wait
Pages that move when you scroll, tap and wait, built on Motion's vanilla animate, scroll, inView, stagger and press: launch and story pages whose sections reveal as they arrive, a bar that fills with how far you have read, numbers that count up, headline sequences with timed offsets and springs, cards that spring in, buttons that squash when pressed, parallax heroes, scroll-told explainers. Covers the pinned lazy import of the vanilla entry (no second React), a helper module whose every helper returns a stop for the effect's cleanup and reads reduced motion when it runs, above-the-fold content that stays visible, scroll progress with target and offset, sequences with at, springs, gestures, and keeping JSX class-only while Motion writes transforms through refs. animation, animate, scroll animation, scroll-driven, scrollytelling, parallax, reveal on scroll, fade in on scroll, count up, spring, bounce, micro-interaction, press effect, landing page motion, feel alive, motion one, framer motion, gsap
Occasion — the app dresses for the day it's for
The app is FOR an occasion or a theme — Halloween, Christmas, Hanukkah, Diwali, Lunar New Year, Thanksgiving, Valentine's, a birthday party, a wedding, a baby shower, game day, a pirate or dinosaur party — even when the person describes no appearance: the occasion is the style, so the app wears its palette, a display face, its objects as motifs, a hero that sets the scene and words in the day's voice, by the reskin technique
The owner's own key — one secret the app runs on
Hidden: the owner's own key for a third-party service as one Setup item (missing-key verdict, Settings → Secrets steps, no redeploy), kept to backend.js, the /_api second door that spends it only on the owner's calls, refusals that keep their reason, and rotation
p5.js API
p5.js creative-coding library for 2D canvas and WEBGL sketches: generative art, flow fields, particle systems, Perlin noise, seeded deterministic sketches, kaleidoscopes, screensavers, visualisers, drawing and painting toys, plotter-style patterns, still gallery renders with noLoop, and fragment shaders. Covers instance mode in React (one useEffect, instance.remove() on cleanup), the version-pinned esm.sh import, sizing from the host element, pixelDensity, randomSeed/noiseSeed determinism, trails, and touch. p5, p5.js, processing, sketch, creative coding, generative art, canvas art, noise field. Anything played or steered also loads touch-games for phone controls
Photo input — the picker that offers the camera and the photo library
The photo picker that offers the camera and the photo library: a hidden accept=image/* input with no capture behind the app's own button, multi-select, paste and drag-and-drop, an immediate preview with remove and replace, and shrinkPhoto (downscale, EXIF and location stripped) before storing.
Physics — things with mass, built with Matter.js
2D physics toys and games built with Matter.js, where objects have mass and meet other objects: marble runs and Rube Goldberg builders whose pieces are documents with build and play modes, plinko and pachinko, slingshots and catapults that knock a tower down, dominoes, pinball, ragdolls and soft bodies, word piles and pages whose elements fall and can be flicked. Covers the pinned esm.sh default import, the engine in a ref with a fixed-step loop and disposal, painting bodies from their vertices on a DPR canvas in the app's theme tokens, the mouse constraint with pixelRatio for touch, pieces as Fireproof documents rebuilt into bodies, seeded replays, labelled collisions and sensors for scoring, and the Render.create ordering trap. physics, gravity, bounce, bouncy, collide, collision, tumble, fall, marble run, rube goldberg, plinko, pachinko, catapult, slingshot, dominoes, knock down the tower, pinball, ragdoll, soft body, matter.js. Anything played or steered also loads touch-games for phone controls
Reskin — a new appearance, the same app
look like…
Rich text — notebooks, journals, wikis and documents with Tiptap
Notebooks, journals, wikis, notes apps and document editors built on Tiptap: pages with headings, lists, checklists, links and images, a list of documents and one editor, a shared page a team edits with the last editor named, meeting notes with action items, a recipe book with real pages, a journal with one entry per day. Covers every Tiptap package pinned to one version by its esm.sh URL (one ProseMirror, no second React), an editor module with createEditor, load, flush, run and destroy, a saved note as its JSON plus plain text and a derived title, a title field beside the page saved with the body (after its own pause and on close, so drafts keep their titles), saving after typing pauses with flush on blur and switch, loading a document without a save echo (setContent with emitUpdate false), destroy in the effect's cleanup, the page styled from the host with arbitrary variants, toolbar commands and active states, and images as _files. notebook, notes, note taking, journal, diary, wiki, document editor, rich text editor, text editor, wysiwyg, writing app, markdown editor, meeting notes, knowledge base, tiptap, prosemirror
Shippo — read a merchant's own orders, the labels bought for them, and the box each one used
Reading a Shippo merchant's own shipping: load it when the person names Shippo and their orders, labels, boxes or packing — my Shippo orders, a packing station for the orders in Shippo, which box each label went out in, my saved box sizes. Read only, on the owner's own Shippo API key (live or test, from API Configuration > Developer keys), pasted once into the vibe's Secrets as SHIPPO_API_KEY and sent as Authorization: ShippoToken: the setup steps the app shows until the key is in; every Shippo call in backend.js with ctx.fetch, never from the page; a scheduled poll every 15 minutes of GET /orders/ with start_date, results=100 and page, a few pages per poll, one record per order keyed by its object_id; the box each label used from GET /transactions/{id} then GET /parcels/{id}, read once each from a capped follow-up list; the saved boxes from GET /user-parcel-templates; list reads kept under Shippo's 50 a minute (10 on a test key); records only backend.js writes and only the owner reads; buying labels and refunds stay in Shippo
Post as you — one draft, out to Threads, LinkedIn and Instagram
Post as the visitor to their own Threads, LinkedIn and Instagram — a composer that cross-posts one update with an optional photo, a Connect and Renew button per network, one result and link per network — config.connections posting scopes, useConnection, apiFetch, threads/linkedin/instagram from @vibes.diy/social
Sound core — short sound effects that play on a phone
Short sound effects that play on a phone: the AudioContext unlock inside the gesture, a synthesized blip per core action, one master gain with a mute toggle, and restraint (core actions only, never spawns or ticks).
Speech — the app speaks out loud and listens to a recording
Apps that talk and listen: read text aloud in a natural voice (a narrator, a language tutor, a story reader, spoken quiz questions), turn a recording into words (dictation, voice notes to text, an interviewer that asks aloud and hears the answer), and ask the model about a recording. speak() returns a playable WAV with 30 voices and plain-words style; transcribe() takes a MediaRecorder Blob as it is.
Spotify — play tracks with no credentials, search the catalog with the owner's app
Spotify on a page: playing tracks, albums, playlists and an artist's top tracks in Spotify's own player, which needs no credentials and no setup; and reading Spotify's public catalog (search, albums, tracks) with the owner's own Spotify app credentials: the setup steps the app shows when SPOTIFY_CLIENT_ID/SPOTIFY_CLIENT_SECRET are missing, the client-credentials token minted in backend.js and cached in memory rather than stored, searching artists/albums/tracks, the boundary that a listener's own top tracks and playlists need a connection instead, and keeping every refusal's reason
Spreadsheet import — drop a CSV, map its columns, one record per row
Bring a CSV or TSV file (exported from Excel, Numbers or Google Sheets) into the app as one record per row: the person picks the file, a mapping step shows the first five rows with a guessed field per column they can change and the key column that matches rows, rows are written in batches with a progress count, importing the same file again updates rows and adds none twice, the result says how many were added, updated and skipped and why, and each imported row belongs to its importer or to the person a chosen column names. Use for importing an existing list of clients, contacts, jobs, stock or members from a spreadsheet; a short list typed or pasted into a form does not need it
Square payments — take real money into the owner's own Square account
Taking real money through Square, for an owner who already sells on Square: load it only when the person names Square — Square, my Square account, pay with Square, Square checkout, sell on Square, a Square payment link — and every other ask to take money, with no Square in the words, is the stripe skill. One-time payments into the owner's own Square account on the owner's own Square access token, pasted once into the vibe's Secrets as SQUARE_ACCESS_TOKEN (SQUARE_ENV=sandbox for Square's developer sandbox): the setup steps the app shows until the token is in, linking the Square Developer Console's Credentials page; every Square call in backend.js with ctx.fetch, never from the page; the first active location that takes cards and its currency; the owner's product catalog as records only the owner writes, priced in the currency's smallest unit (cents for USD, yen for JPY), and backend.js pricing every line from those records; one pending order then one Square payment link opened in a new tab; an order marked paid only after backend.js reads Square's order back and matches our reference_id, total, a tender and nothing left to pay; a scheduled sweep that settles orders whose buyer closed the tab; a notice to the owner per sale; refunds in the Square Dashboard
Squarespace orders — read a seller's own store: new orders and each customer's totals
Reading a Squarespace seller's own store: load it when the person names Squarespace and their orders, customers or shop — my Squarespace orders, the orders to pack from my Squarespace store, which Squarespace customers order most. Read only, on the owner's own Commerce API key (Commerce Advanced plan, Orders and Profiles set to Read Only), pasted once into the vibe's Secrets as SQUARESPACE_API_KEY: the setup steps the app shows until the key is in; every Squarespace call in backend.js with ctx.fetch and a User-Agent, never from the page; a scheduled poll every 15 minutes of the orders modified since the last poll, the first page by modifiedAfter and modifiedBefore together and every later page by cursor alone, one record per order keyed by its Squarespace id; each customer's order count and lifetime spend from their profile's transactionsSummary, looked up by email; records only backend.js writes and only the owner reads; fulfilment and refunds stay in Squarespace
Stripe payments — take real money into the owner's own Stripe account
Taking real money through Stripe Checkout: load it whenever the person asks for money to move — pay the bill, split the check, a restaurant check, pay at the table or at the counter, a tip or a tip jar, donate or a donation page, sell tickets, sell products buyers pay for, buy now or purchase online, a charge, a deposit, dues, a checkout, a client paying an invoice online (pay an invoice, bill a client), pay with Stripe, the word Stripe, or a named payment app buyers pay through (Apple Pay, Cash App, Zelle, Venmo, Chime: card, Apple Pay and Cash App Pay ride Checkout, and a P2P app the person keeps is a manual lane beside it whose handle the owner types); money through Square (pay with Square, my Square account, a Square checkout) is the square skill instead, never this one — one-time charges into the owner's own Stripe account through ctx.stripe, connected once with Connect Stripe (a monthly or yearly subscription is the stripe-subscriptions skill): what is for sale and its price is the owner's product catalog, product records in the app's database that only the owner writes (access.js) from the app's own Products screen, starting empty with the owner's first product, and backend.js charges the price it reads from the product the buyer names, never an amount from the browser or a constant in backend.js; anyone pays by default, signed in or not (a guest's order is written by backend.js for them, and sign-in only when the owner asks for it: members only, a roster, a my-orders page), a venue's guest checkout (a check, a tip, a donation, an invoice paid by link with a pay-by date and an overdue state — the payment keyed to the thing paid and its session), one payer paying the whole check by default with splitting as a second choice and the balance reserved with a revision-checked write before any session opens, the Connect Stripe setup item read from ctx.stripe.status(), test mode first with the order's mode passed on every call and live once the owner takes this app live, every Stripe call in backend.js with no Stripe.js in the page, one pending order then one Checkout Session opened in a new tab, an order marked paid only after the backend reads the session back from Stripe and matches it to the order, integer amounts in cents, and a scheduled sweep that settles orders whose buyer never came back. A storefront, plans page, booking page or invoice maker that only records orders or marks invoices paid by hand takes no payment and does not need this; offer it as the [pay] option instead
Stripe subscriptions — a paid membership that follows Stripe's state
A paid membership or subscription through Stripe Checkout in subscription mode, ONLY when the person asks for recurring money — monthly, yearly, subscribe, membership fee, paid tier, paywall — into the owner's own Stripe account through ctx.stripe, connected once with Connect Stripe: the plans are the owner's, plan records in the app's database with a price and a month or year interval that only the owner writes (access.js) from the app's own Plans screen, starting empty with the owner's first plan, and backend.js subscribes at the price it reads from the plan the member names, never an amount from the browser or a constant in backend.js; the Connect Stripe and Customer Portal setup items, test mode first with the membership's mode passed on every call and live once the owner takes this app live, every Stripe call in backend.js with no Stripe.js in the page, one pending membership then one Checkout Session opened in a new tab, entitlement computed from Stripe's status plus one GRACE_DAYS knob for a past_due card, members-only content as a channel the membership record grants and the backend withdraws, cancellation and card changes in Stripe's Customer Portal, and a scheduled sweep that re-reads every live subscription. A one-time charge (dues once, a ticket, a deposit) is the stripe skill; an app with members-only content that charges nothing does not need this — offer it as the [pay] option instead
Strudel — live-coding music from text patterns
Live-coding music with Strudel, where the music is a pattern written as text: a pattern pad with an editor, examples, play and stop and saved patterns; a groovebox whose pads write mini-notation and whose lights follow the engine's events; knob instruments that re-evaluate a pattern as sliders move; generative radios; a prompt box that asks callAI to rewrite the groove; a shared groovebook with an access rule. Covers the AGPL engine fetched at play time by a pinned esm.sh dynamic import in a memoized player (never bundled, credited visibly), the engine and every pattern running in a sandboxed frame the app drives by postMessage, so a shared pattern never reaches the app's data, the Dirt-Samples kit and the drum-machine banks from jsDelivr, mini-notation and the effect chain, the verbatim text-to-pattern system prompt for callAI, cpm as cycles per minute with the beats-per-cycle table, onEvalError for patterns that did not compile, hush on stop, and onTrigger for visuals. strudel, tidal, tidalcycles, live coding, livecoding, algorave, mini-notation, pattern music, algorithmic music, generative music, text patterns, code music
Board surface — how a board, tile or card game looks
How a board, tile or card game looks: the board dressed in a material from the request's world, drawn by the skin
Surface: the play area — the look reaches a full-screen game
A full-screen game wears the app's look: sky, fog, light, player and lane lines painted from the theme tokens (or, in a place the person named, from that place's own sky through one sky function for the dome and fog, or one 2D sky gradient), a day/night cycle between look colours, and the HUD as kit components on the look's surfaces.
Presence surface — who is here, where they are, and the way in
How a live room shows its people: overlapping avatar faces at the top right, a live 'N here' count, an Invite button that copies the room's link, and other people's cursors and selected cells in their own theme colour.
Surface: the stage, a picture set in the page with the look around it
A picture set in the page: the stage drawn in its own medium (Three.js for depth and 3D infographics, SVG for flat, exact and printable, D3 for data-driven layout, canvas for pixels), framed in a Card with kit controls beside it, coloured from the theme and in the literal colours the subject names, every target reachable by keyboard.
Third-party embeds — another site's player inside the page
Hidden: another site's player inside the page — store the pasted link and build the iframe src from its parsed id, one EmbedFrame with title, lazy loading and the allow tokens the vibe's frame delegates, a link out under every player, a press-to-load card for long lists, and keyless oEmbed titles and thumbnails
Touch games — the play area is the controller
Phone-first controls for every game played in real time, tapped or steered (a turn-based board, card or word game is board-games) — load it on its own for a tap game or a whack-a-mole grid, and beside three-js, voxel, physics, p5, worlds or ui-game for every other real-time game, 3D scene you move through, or canvas toy: the play area is the controller (select-none touch-none surface, Pointer Events with pointer capture), swipes that fire mid-move with chaining, tap vs swipe on one surface, a floating ghost stick under the thumb, hold-to-boost with drag steering, pull-back-and-release aiming, gesture trails and feedback, sound effects on the core actions with a mute toggle, the world painted in the app's look, and keyboard twins for desktop. game, mobile game, tap game, whack-a-mole, reflex game, touch controls, swipe, joystick, runner, racer, flyer, shooter, snake, slingshot, platformer, arcade, flappy, one thumb
Vibe tools: the verbs a person can ask for by text
The verbs a person could ask for by text instead of tapping (vote for a place, claim a slot, book a table, add a book to the list), declared in backend.js as a static `export const tools` (at most 8) so an assistant in a group chat can do them for that person. Each tool has a one-line description, typed input fields, who it is for (anyone, members, owner), and either a handler shared with the page's button through a fetch route or a declared one-record write (`key: \` for one record per person). A plain record (a list item, a note) needs no tool, since an assistant saves it directly through access.js; a domain tool takes the steps the app works out (book the next free hour, a legal move) in its handler. A tool always acts as its caller through access.js (`user.backend` is `tool`, never admin mode) and its callAI spends the caller's credits. A tool may carry a short `title`, an `annotations` flag (`readOnly` for a lookup, `consequential` for one the assistant confirms first) and an `output` field list. A picture app may mark one tool `offer: true`, which the assistant offers once per chat with the app's first picture; `offer: { textsLater: true }` records each person's yes, and a scheduled `ctx.notify({ consent: \ })` reaches only people who said yes. A picture app that writes its prompt in code exports it as a read-only hook, `export const hooks = { picturePrompt: { run } }`: it takes the person's words as `addition` and returns the prompt string, and the platform paints from it. An app that writes stories about its cast (episodes, chapters) declares a tool that writes one with ctx.callAI and returns its first scene and picture, and a next_… tool that tells the rest, so a group that plays by text hears it in the chat. An app whose actions only happen on the page does not need it
Voxel worlds — a Minecraft-style first-person block sandbox
Any voxel or block world — Minecraft-style, an island, a city, a sandbox — walked, flown or built in. Build a Minecraft-style first-person voxel sandbox with Three.js: chunked block world, procedural terrain (noise heightmaps, biomes, caves, ore veins, trees), place/break with a DDA voxel raycast, an AABB player controller with gravity, jump, sprint, auto step-up and un-stick, thumb walk/look and desktop pointer lock through useWorldControls with a click-to-play overlay, endless chunk streaming, a shared voxel palette with material-colored controls, a day/night cycle, ambient mobs, and live multiplayer block edits with temporary player presence over Fireproof. Covers the survival layer (table-driven crafting tiers, tools with durability, smelting, armor, mob combat, hunger, dimensions, per-player inventory, world reset) and the flat multi-file project split for bigger games. minecraft, voxel, block world, sandbox, blocks, mining, building, first-person, 3d game, procedural world, chunks, terrain, overworld, creative mode, survival, crafting, nether. Anything played or steered also loads touch-games for phone controls
Weather — real forecasts from Open-Meteo, with no key
Live weather for any app that shows weather (a dashboard, a trip planner, a garden or event page), with no key and no setup, from Open-Meteo: a place name to coordinates, current conditions, an hourly strip and a daily forecast for one or several places in one call, °C/°F and wind units, weather codes in plain words, refresh and errors that keep the last forecast, and the data credit
Web music: master bus, echo with FX in the feedback loop, mic monitoring with a metronome, audio-clock timing, and a complete drum machine
Drum machines, beat makers, step sequencers, synths, theremins, drones and metronomes: a complete synthesized drum machine (kick, snare, hats, 16‑step sequencer, tempo, swing, saturation, volume) wearing a token-painted instrument face; a master bus with global Saturation and Volume; echo/delay with effects in the feedback path; mic monitoring with a metronome; audio‑clock scheduling for multi‑channel drum machines and MIDI synths with accurate voice overlap. drum machine, beat maker, step sequencer, groovebox, synth, synthesizer, keyboard, metronome, midi, melody, music toy
World controls — walk, look and fly through a 3D world on a phone and a desktop
3D garden I can // walk around inExploreAny 3D place the person walks through as a player, on foot or flying, first-person, on a phone and a desktop: a 3D garden, house, museum, cave, island, maze, city or ship to walk around in. Load it beside three-js for every walked-through world; a model turned or spun on its own (a product viewer) is three-js alone. The useWorldControls hook from use-vibes: left thumb walks on a floating stick, right thumb looks, flick up to jump, tap and hold act on what is under the finger, a 🎥 button cycles free cam, first person and shoulder views, and the desktop gets pointer lock, WASD and Space. walk-through, first-person, walk around, explore, wander, fly around, 3D world
Generative worlds — living simulations on a canvas
Living simulations on a canvas: ecosystems and terrariums (grass, grazers, hunters), ant farms, Conway's Game of Life and other cellular automata, falling sand, forest fires, boids and flocks, petri dishes, weather drifting over a map — a grid of cells in a typed array, two rule functions that seed and step it, one seeded random generator so the same seed grows the same world on every device, a tick loop on its own clock with play, pause, step and speed, the grid painted as pixels through ImageData in the app's theme colours, dials for the rates, a census on a slow clock, and kept moments as recipes (seed, dials, tick, recorded taps) that replay into a living gallery. ecosystem, terrarium, ant farm, game of life, cellular automaton, falling sand, forest fire, boids, flocking, simulation, petri dish, predator prey, evolution, artificial life, screensaver world. Anything played or steered also loads touch-games for phone controls; a 3D world the person walks through as a player is three-js with world-controls
YouTube — play videos with no key, read a channel's numbers with no setup
YouTube on a page: playing videos, playlists and a channel's uploads in YouTube's own player, which needs no key and no setup; and channel stats on the platform's key with no key for the owner to create: ctx.youtube.fetch in backend.js and its daily unit budget, resolving a channel from a handle or URL, reading videos through the uploads playlist, evening and morning samples compared into a 9 a.m. overnight recap pushed with ctx.notify, 28-day sample retention, and labeling the numbers an API key cannot see