Vibes DIY
creator docs · reference · generated

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, head back to the docs hub.

backend-js

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

useFireproof

Fireproof Database API Guide

cloud-backed document database with live sync

callAI

CallAI Helper Function

easy API for LLM requests with streaming support

Vibe Write Gating

useVibe Hook — write gating

Gate write surfaces on the app's own access.js via useVibe().can

Viewer Identity

useViewer Hook

Get the current viewer's identity and capability gates

Image Generation

ImgGen Component

Generate and edit images

createVibe

createVibe — meta-vibes (a vibe that builds another vibe)

Hand off to the builder to generate a second, personalized vibe (interviewer / meta-vibes)

calendar-ics

Calendar subscriptions — a live .ics feed of each user's items

live calendar subscriptions (webcal/.ics): serve each user's dated items — favorites, RSVPs, picks, bookings — as a phone-calendar feed that updates automatically as they add more; includes the backend.js aggregation recipe and the iOS-proof ICS format rules

D3.js

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

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

Web Audio API

Web Audio API: Fundamentals, Echo with FX-in-Feedback, Mic Monitoring + Metronome, and Timing Architecture

Web Audio fundamentals; echo/delay with effects in the feedback path; mic monitoring with a metronome; audio‑clock scheduling; timing design for multi‑channel drum machines and MIDI synths with accurate voice overlap.

Babylon.js WebXR

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