Quick links

Start here
Hub page with spokes and CTA blocks.
Demo redirect
Edge redirect + D1 click log seed.
RSS feed
Content feed for hubs/spokes (auto-generated).

Stack

Astro — static-first pages, fast for SEO.
Cloudflare Pages — free deploys, functions for /go.*
Workers — /go/[slug] redirect & logging.
D1 — link metadata + click log storage.
MailerLite — email capture (embed placeholder below).
Search Console + Analytics — indexing + insights.

Email capture

Replace the box below with your MailerLite embed once available.

[MailerLite form goes here]

Deploy & bindings

# Create D1 DB + import schema wrangler d1 create affiliate-hub-db wrangler d1 execute affiliate-hub-db --file=./db/schema.sql # Cloudflare Pages project # - Build: npm run build # - Output: dist # - Functions: functions # - Bindings: D1 -> affiliate-hub-db # Redirects live at /go/:slug (e.g., /go/astro)