Hybrid community

Accounts, profiles, reactions, ratings, saves, and comments.

This project now uses a hybrid pattern: static browse and watch pages on Cloudflare Pages, with community features powered by Pages Functions plus D1, KV, and R2.

Accounts

Member profiles

Every member gets a public profile route, editable display name and bio, preset or uploaded avatar, plus save and rating history.

Interaction

Save, rate, react, comment

Watch pages now support the same compact engagement block used in the reference project, while keeping the page itself pre-rendered for SEO.

Operations

Cloudflare-backed storage

D1 stores members and interactions, KV handles revoked sessions and rate limits, and R2 stores uploaded avatars.

What to wire next

Create the Cloudflare resources, paste the IDs into wrangler.toml, add your secret env vars, run the D1 schema file, and deploy. The static site is already ready to emit the right widget markup.

Contact editor inbox

Recently viewed