You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(app): Vite + vanilla TS registry viewer and Cloudflare Pages deploy #2
Replace the custom Bun-bundled app/ prototype with a Vite + TypeScript storefront (vanilla DOM / Web Components, no UI framework), copy generated/registry.json into the build output as a static asset, and add a Cloudflare Pages deploy workflow for the newly registered plugins.bitty.run domain.
Acceptance criteria
app/ is a Vite + TypeScript project with dev/build/preview scripts, small custom elements (plugin-card, plugin-search, plugin-filters, plugin-detail, install-command), and no React/Preact/Solid/Astro.
Client-side routes /, /plugins/<id>, /categories/<c>, /authors/<a>, /sdk, /create-plugin using the History API with the Cloudflare Pages SPA fallback documented.
The build emits registry.json beside index.html; generated/registry.json stays committed and idempotent.
deploy.yml builds app/ with Bun and deploys to the bitty-plugins Cloudflare Pages project on push to main and workflow_dispatch; reads CLOUDFLARE_API_TOKEN (secret, falling back to variable) and CLOUDFLARE_ACCOUNT_ID; skips with a clear notice when credentials are absent; never commits credentials.
just check covers the Vite build and type check with bun-only tooling; markdownlint, registry validation, and the generated-index check stay green.
Production URLs and domain facts (bitty.run, plugins.bitty.run, verification pending) are recorded factually.
Trust boundaries
Registry data stays untrusted display input rendered as text nodes/attributes only. No secrets are committed; the deploy workflow is the only consumer of Cloudflare credentials.
Affected repositories
bitty-plugins only. bitty-website owns https://bitty.run; no cross-repository code change is required.
Documentation impact
README, AGENTS, TODO, and CHANGELOG in this repository. Canonical store design remains bitty-plugins-docs.
Activity
[CTX-0002] feat(app): switch store to Vite and add Cloudflare Pages d…
[CTX-0002] feat(app): Vite + vanilla TS registry viewer and Cloudflar…
[CTX-0004] feat(registry): register the palette official plugin (#6)
[CTX-0030] chore(docs): record beacon creation as blocked on contract…