Singe Page Application (SPA) using Preact, TypeScript, TailwindCss v4 and Vite, designed to run forever on scale-to-zero Cloudflare Workers and other services that scale without provisioning.
- Share Actions load specific casts from the feed into a Mini App
- ThirdWeb Auth for Farcaster + web2 social + passkeys
The DX features hot module replacement, fast Rust-based Biome linting, and zero-config services. It uses only the API of the Neynar Free Plan.
π Supercharged web development with this BHVR-adjacent stack:
- Preact - Fast 3kB alternative to React
- Vite - Lightning-fast build tooling and development server
- Hono - Ultralight, modern backend framework
- Cloudflare Workers - Edge computing platform for global deployment
- Neynar - Easiest way to build on Farcaster
- Momento Cache - Robust, turnkey caching with ultra low-latency and instance-free adaptive scalability
- π― a modern and stable DX on Tailwind, JSX, Frames SDK
- π οΈ Rust-based Biome formatting and linting
- β‘ Hot Module Replacement (HMR) for rapid development
- π¦ end-to-end type safety with no-codegen autocomplete
- π₯ API routes with Hono's elegant routing
- π Zero-config deployment to Cloudflare
Install dependencies:
bun installUpdate variables in wrangler.jsonc and .dev.vars:
vi wrangler.jsonc
bun run typesStart the development server with:
bun devYour application will be available at http://localhost:5173.
Build your project for production:
bun buildDeploy your project to Cloudflare Workers:
bun run deployUpdate secrets in prod, e.g.:
wrangler secret put JWT_SECRET
wrangler secret put MOMENTO_API_KEY
wrangler secret put NEYNAR_API_KEY
wrangler secret put SECRETor via Cloudflare Workers dashboard (copy and paste contents of .dev.vars)
JWT_SECRET
SECRET
DECENT_BOOKMARKS_SECRET
MOMENTO_API_KEY
COINGECKO_API_KEY
ETHERSCAN_API_KEY
ZEROEX_API_KEY
NEYNAR_API_KEY
ADMIN_PRIVATE_KEY
THIRDWEB_SECRET_KEY
YOGA_WHISTLES_BEARER
YOGA_WHISTLES_WRITE_TOKEN