Welcome to Astro Weekly #118!
This week features dynamic OG image generation with Cloudinary, improved search implementation with Orama, view counters for static sites, and more.
Chris Nowicki demonstrates generating unique social preview images on-demand using Cloudinary's URL-based transformations and the astro-cloudinary package, eliminating manual OG image creation in Figma for every page.
Sarthak Mishra shows how to skip the official Orama plugin and build type-safe search using Astro endpoints and content collections, solving dev mode issues while maintaining full control over schema design and relevance tuning.
Nana Adjei Manu tackles adding dynamic view counting to static sites using Supabase's PostgreSQL REST API with atomic database functions, creating a session-aware counter that avoids race conditions and works entirely client-side.
Randy Tarasevich explains why Astro is his default choice for local business sites, delivering fast load times and clean SEO-friendly output without the complexity and maintenance overhead of WordPress or full-stack frameworks.
A detailed case study of Shift64's agency website architecture: token-based content protection with Brevo integration, a Cloudflare D1-powered CMS for instant client proposals, and environment-driven consent management that balances GDPR compliance with analytics.
SPONSOR MESSAGE:
Attio is the AI CRM for modern teams.
Connect your email and calendar, and Attio instantly builds your CRM. Every contact, every company, every conversation, all organized in one place.
Then Ask Attio anything:
Prep for meetings in seconds with full context from across your business
Know what’s happening across your entire pipeline instantly
Spot deals going sideways before they do
No more digging and no more data entry. Just answers.
Interested in sponsoring Astro Weekly? Contact [email protected]
Astro Showcase
Astro on X
That’s a wrap on another week! If you found these links helpful, I'd really appreciate it if you shared this issue with a fellow developer.
Have an Astro project or resource to share? Reach out at [email protected] or via DM on X.
Have fun out there, Astronauts!
Nathan 🧑🚀




