Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

vibesdk-app-template

Booqable's starter template for the AI app builder (self-hosted VibeSDK at booqableapps.com).

It packages two things into one VibeSDK template, booqable-app:

  1. Boomerang — Booqable's design system (brand tokens, light/dark theming, and the component library), ported from the Figma-derived Next.js prototype to VibeSDK's vite-reference base (Vite + React + Hono worker, Tailwind v4).
  2. Booqable wiring — iframe session verification (HS256 token from the back-office embed), OAuth code exchange + refresh against the company's Doorkeeper endpoints, and an authenticated proxy to the JSON:API (/api/4).

Layout

Follows the cloudflare/vibesdk-templates definition format:

  • definitions/booqable-app.yaml — template definition (base vite-reference, excludes the reference frontend, patches deps for Tailwind v4 + Base UI).
  • definitions/booqable-app/ — overlay files: src/ (Boomerang + starter app), worker/ (Booqable routes), prompts/ (agent selection/usage guidance), docs/boomerang/ (design-system reference for the agent), public/brand/.
  • scripts/deploy.sh — builds and uploads all templates (upstream + this one) to the deployment's R2 bucket.

Deploying to booqableapps.com

Prereqs: git, python3, bun, and wrangler authenticated against the Booqable Cloudflare account (see documentation/features/ai_app_builder_cloudflare_setup.md in booqable/booqable).

./scripts/deploy.sh                       # uploads to R2 bucket "vibesdk-templates"
R2_BUCKET_NAME=my-bucket ./scripts/deploy.sh

Then set VIBESDK_APP_TEMPLATE=booqable-app for the Rails app so App::AiProject::Create selects this template for app projects.

Runtime configuration of generated apps

None. Generated apps carry no secrets: the signed iframe token Booqable appends to the embed URL is exchanged server-side at POST {api_host}/api/app_builder/sessions for a short-lived API access token (see App::AiProject::ExchangeSessionToken in booqable/booqable). The exchange only works once the app is installed and published (auto-install happens at project creation; publish happens when VibeSDK deploys to a stable URL).

About

Booqable starter template for the AI app builder (VibeSDK): Boomerang design system + Booqable OAuth/iframe wiring

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages