The public home for 0xBUFF products and their documentation. Explore engineering tools and practical learning products, read product overviews, MemoFS guides, and technical references. Product overviews live at /products/<name>; MemoFS documentation lives at /docs. This React Router + Fumadocs app is deployed to Cloudflare Pages.
content/docs/is the single source of truth for MemoFS documentation. It powers the docs pages, search index, sitemap, and LLM text exports.src/lib/site.tsowns public URLs, internal route constants, and shared navigation data.src/lib/products.tsowns the documentation site's product index and product overviews.src/lib/meta.tsproduces consistent canonical, Open Graph, and Twitter metadata.functions/subscribe.tsis the only server-side endpoint. Everything else is prerendered intobuild/clientand served statically by Cloudflare Pages.
The design-system stylesheet, content styles, and UI components used by this app are maintained in this repository, so it can be installed and developed independently.
From this repository root:
npm install
npm run devRun the type check with:
npm run typechecknpm run buildDeploy build/client as the Cloudflare Pages output directory. Cloudflare discovers the functions/ directory and deploys /subscribe as a Pages Function alongside the static output.
For local newsletter development, copy .dev.vars.example to .dev.vars and set RESEND_API_KEY. In Cloudflare Pages, configure RESEND_API_KEY as a secret; RESEND_SEGMENT_ID and RESEND_FROM are non-secret vars in wrangler.jsonc.