It's probably the simplest framework if you want SEO as compared to Next.js or Nuxt anything, atleast to me it feels like SEO could be helpful
And for interactivity you can have like React, Angular, Solid, Vue all at the same time, and if you change your mind you quite easily can ( although any component inside a react component cannot be like a Angular component, so keep that in mind)
I myself used cloudflare pages for hosting the landing page and documentation for my library and it worked well
since you mentioned Python, you might honestly like HTMX if you ever add a backend. but for keeping it static on Cloudflare Pages, i definitely agree with looking into Astro.
i moved a messy vanilla JS project to Astro last year and it felt super natural. you don't have to rewrite everything at once. you can just keep your standard HTML and JS for the simple recipe pages.
fwiw, you can drop in a React component strictly for the interactive stuff like the meal calendar. it keeps you from fighting state management on pages that are just text.
Sorry for the late response but yea Astro can do interactivity pretty seamless
2 things to note
you can use any other lib you want - React, Svelte, Vue. And it won't take over the whole dom or anything - just that one component
how do you share state between components or even pages? Answer nanostores, it's compatible with pretty much every library like React, Svelete, Vue etc... It's also very easy and it has decent docs too
yeah i'll second Astro here. tbh if you haven't touched frontend stuff in five years, the ecosystem is going to feel pretty wild, but Astro makes it pretty painless. since you're already on Cloudflare Pages, the deployment is basically effortless.
fwiw i built a similar content heavy site last year and dropped React for it. Astro ships zero JS by default so your recipe pages will be incredibly fast. you can just plug in tiny interactive islands where you actually need them, like your meal calendar or search.
Svelte is also a really solid option to look into if you want something that feels closer to writing vanilla JS. it skips all the weird mental gymnastics of React state and keeps things simple.
View all comments
7
u/Aditya00128 May 23 '26
Astro.js
It's probably the simplest framework if you want SEO as compared to Next.js or Nuxt anything, atleast to me it feels like SEO could be helpful
And for interactivity you can have like React, Angular, Solid, Vue all at the same time, and if you change your mind you quite easily can ( although any component inside a react component cannot be like a Angular component, so keep that in mind)
I myself used cloudflare pages for hosting the landing page and documentation for my library and it worked well