zfb
GitHub repository

Type to search...

to open search from anywhere

Examples

Created Jul 11, 2026Updated Oct 3, 2026Claude

A comparison matrix of the ten standalone repositories that demonstrate zfb — nine deployed Cloudflare Workers projects and one local-only example.

zfb ships ten standalone example repositories. Nine are small, deployable projects that each demonstrate a single Cloudflare recipe end to end; the tenth, Agent Conversations, runs locally only. Every repo is independently pnpm install-able and includes its own README with local run steps, and the Cloudflare ones also include provisioning commands — clone one to see the whole thing assembled rather than copying snippets piecemeal.

This page is the comparison matrix. Each listed repository pins zfb 3.1.0 (checked on 2026-10-03) and uses zfb's zudo-react JSX runtime. The styling column shows whether it uses zudo-wind utilities, only its reset, or authored CSS. Each row links to a full walkthrough under Recipes, which explains what that example demonstrates, how it works, and how to run it locally.

The nine Cloudflare examples deploy as Cloudflare Workers on takazudomodular.com subdomains. Seven ship server code; two are assets-only Workers that serve a static build and run no Worker script at all.

password-gate answers 401 by design

Every demo link below points at a deployed, live site, with one deliberate exception:zfb-example-password-gate.takazudomodular.comanswers 401 Unauthorized with a login page instead of showing you a site. That is the example working — gating the content is its entire point.

Worker-backed examples

These seven emit or hand-write a Worker script that runs on every request they own. Six use @takazudo/zfb-adapter-cloudflare to run prerender = false routes — the pattern covered in SSR and Cloudflare Bindings. The seventh, password-gate, installs no adapter and puts a Worker of its own in front of a static build.

ExampleRenderingBindings and secretsStylingLinks
AI SummarizerSSG plus one prerender = false API route (adapter)Workers AI AI, declared only in the named ai environmentAuthored CSS; zudo-wind reset onlyrepo · demo
JSON APISSG plus two prerender = false API routes (adapter)noneAuthored CSS; zudo-wind reset onlyrepo · demo
KV GuestbookSSR for every route except /404 (adapter)Workers KV GUESTBOOK, ADMIN_TOKEN secretInline CSS; zudo-wind reset for /404 onlyrepo · demo
Password GatePure SSG behind a hand-written Worker, run_worker_first = true, no adapterSITE_PASSWORD secretAuthored CSS; zudo-wind reset onlyrepo · demo
Reverse ProxySSG plus one catch-all prerender = false route (adapter)none, one public PROXY_ORIGIN varAuthored CSS; zudo-wind reset onlyrepo · demo
WebshopSSR on every route, no HTML emitted (adapter)D1 DBzudo-wind utility classes and explicit tokensrepo · demo
Workers CacheSSR on every route, no HTML emitted (adapter)PURGE_TOKEN secretInline authored CSS; zudo-wind disabledrepo · demo

Static examples

These two deploy the dist/ directory as Workers Static Assets with no Worker script: wrangler.toml carries an [assets] table and deliberately no main key, and @takazudo/zfb-adapter-cloudflare is not a dependency. They are the shape to copy when a site needs no server code at all.

ExampleRenderingBindings and secretsStylingLinks
BlogPure SSG, assets-only WorkernoneAuthored CSS; zudo-wind reset onlyrepo · demo
Corporate WebsitePure SSG, assets-only WorkernoneCSS Modules; zudo-wind disabledrepo · demo

Local-only example

This one has no deployment. Its public showcase is a static zfb build, and a second build of the same UI talks to a loopback HTTP and SQLite server. It also contains a Cloudflare Worker handler factory, but no Worker, D1 database, or Queue has been provisioned, so do not read it as a deployed Cloudflare application.

ExampleRenderingBindings and secretsStylingLinks
Agent ConversationsPure SSG with one <Island when="load">, no adapternone; synthetic provider and host, no credentialsAuthored CSS; zudo-wind disabledrepo

Revision History

ClaudeCreated: 2026-07-11T15:37:35ZUpdated: 2026-10-03T15:22:29+09:00