0.7.4 gives the Ambient pack weather. A page names one feed URL on its own site, and the pack sets data-weather from it, uses its sunrise and sunset for dawn and dusk, and never shows a stale observation. Helpers for producing the feed from Open-Meteo are included. Ambient p…
VB's reserved URL namespace for service relay endpoints, GoodURL link facades, and shortlinks. One indirection layer between components and third-party services.
A single URL namespace on Vanilla Breeze sites for service relay endpoints, link facades, and shortlinks. The convention lets components stay decoupled from the concrete service behind each endpoint.
The lock-in problem
Modern web development couples components directly to third-party services. Changing email providers means hunting through every fetch('https://api.sendgrid.com/...') call in your code. Swapping search backends means touching every component that hits Algolia. The same is true for analytics, AI, payments, maps, fonts — the list keeps growing.
The /go/ convention introduces one indirection layer. Components call a stable first-party URL; the developer points that URL at whichever provider they want, server-side. Swap the implementation, leave the components untouched.
Site search relay (Algolia, Meilisearch, Pagefind, etc.)
/go/ai
AI/LLM
AI chat relay (keeps API keys server-side)
/go/chat
Chat
Live chat relay (Intercom, Crisp, custom)
/go/webhook
Webhooks
Incoming webhook receiver
/go/auth
Authentication
OAuth/session management relay
/go/analytics
Analytics
First-party analytics endpoint
/go/storage
Storage
File upload/asset management relay
Other reserved paths
Path
Purpose
/rss
RSS/Atom feed (root-level, not under /go/)
/p/{id}
GoodURL permalink system — permanent page identifiers
Routing priority
When a request arrives at /go/{slug}, the router resolves in this order:
Reserved service name? — route to the service handler (returns JSON)
GoodURL link facade? — 301 redirect to destination URL (from KV registry)
Shortlink? — 301 redirect to target
None of the above? — 404
Reserved names always win. The reserved list is a small, finite set; checking it first is fast. Service endpoints respond with application/json on a 200; facades respond with a 301 redirect — same namespace, different response shape based on the slug.
Pairing with VBService
The client side of the convention is VBService. Components instantiate by role name; VBService.resolve() maps the role to a URL, defaulting to /go/{role}.
Default resolution
import { VBService } from'./lib/vb-service.js';const notify = newVBService('notify');await notify.get('/messages');// GET /go/notify/messages// ─── because baseUrl defaults to '/go' and the role is 'notify'VBService.resolve('email'); // '/go/email'VBService.resolve('search'); // '/go/search'
Two override hooks. baseUrl moves every service under a different prefix:
/go/ is short, memorable, and verb-like — “go do this thing for me.” It doubles as the home for outbound link management (GoodURL facades) and shortlinks, so a single namespace covers services, facades, and redirects without needing parallel prefixes. It won’t collide with content the way /api/ can on sites that already serve an API, or the way /services/ can on sites that have an org page. Go-links at Google, Slack, and many organizations set the precedent.
Developer responsibilities
Vanilla Breeze ships the convention, the client (VBService), and JSON contracts. The developer ships whatever lives behind each /go/ endpoint — a Cloudflare Worker, an Express route, a Lambda, a static file. VB stays agnostic about the backend on purpose.
Pick a backend per service (or share one).
Implement to the contract for that role (see Service Contracts — coming soon as part of the April-13 plan).
Override VBService.configure({ services }) when one role lives somewhere other than your own /go/ prefix.