I gave a talk on this topic and now I realise that I should do a simple write-up. To me, the comparison is not so much about Astro vs Svelte. It’s rather about (Astro + Svelte) vs SvelteKit.
Context
Just a quick note for easier sharing!
TL;DR for the impatient - all courtesy of Josh Nussbaum:
Content Collections (e.g. for Markdown-based blogs) are a re-occuring topic and sometimes a pain point in my day-to-day work and for other Svelte / SvelteKit devs.
While Astro has a superb native content story (also used for this blog), SvelteKit has been lacking a viable solution so far. The new async + remote functions era will bring new momentum for sure - but that’s yet in the future.
In November 2024 I gave a talk about Svelte in Astro and also compared it against SvelteKit from a solo freelance dev’s point of view:
SvelteKit Content Collections: ???
Almost a year in I would evaluate a bunch of my claims differently now.
But more specifically, Svelte Core Maintainer Ben McCann actually pointed me to www.content-collections.dev as early as in May 2025. It’s open source: github.com/sdorra/content-collections. I just hadn’t had the time to test it yet.
Luckily, Josh Nussbaum did test it and released a 7-minute introduction on YouTube and also shared the code on GitHub:
Repo: https://github.com/joshnuss/sveltekit-content-blog
So please,
- watch and upvote Josh’s video
- star Josh’s repo
- star sdorra/content-collections
- and spread the word!
📺 New video: How to build a blog with Content Collections and SvelteKit ✨ youtu.be/sfuFAZlEeUs
youtu.be
How to build a blog with Content Collections and SvelteKit
YouTube video by Josh Nussbaum