On this page
Why I built it
Astro Rocket is my free, open-source Astro theme. It didn’t begin as a theme: it started as a clone of my previous website, which I had built up with a lot of features for myself. Because that foundation had been proven on a real website, I thought other people might want to build on it too.
So I cloned it, replaced my content with demo content, and turned it into a theme anyone can start from: a production-ready Astro 7 starter, MIT-licensed, running live at astrorocket.dev. Put your own name in, change the text and make the theme yours.
Why 3.0
Astro Rocket is built on Velocity, Southwell Media’s Astro starter. It began as a fork of Velocity’s very first version; Velocity has since moved to version 2, and 3.0 brings Rocket onto it, so the theme now has Velocity’s updates.
What I built
Two colours. Blue, the default, or violet, chosen with one setting. The whole site follows: the logo, the favicon, the covers the theme draws for posts and projects, and every component. Text stays readable in both colours, in light and dark mode.
Everything a site needs. 70 components. Search with Pagefind, which runs in the browser with no server. Comments with Giscus or Artalk, off by default. A contact form and a newsletter that asks subscribers to confirm their address, through Resend.
Four languages. A site in English, French, Spanish or Dutch, set with one setting: the menus, the pages, the forms and their emails, and the privacy page.
Ready to deploy. The build recognises Vercel, Netlify and Cloudflare and uses the adapter for each; on any other host it runs Astro’s Node server. Cloudflare needs its adapter installed first.
Documentation. The docs at astrorocket.dev/docs go through the theme page by page: getting started, settings, colour and logo, languages, forms, posts, projects and deploying.
On astro.build. I submitted Astro Rocket to the official Astro themes directory, where it went through their review and was accepted. Developers anywhere can find it where they would look for a theme.
Lighthouse. Measured on a local build of 3.0: performance 99 on mobile and 100 on desktop on the homepage, Services, the projects page, About and the contact page, and 98 on mobile and 100 on desktop on a blog post. Accessibility, best practices and SEO are 100 on every one of them.
Built with
Astro, Velocity, TypeScript, Tailwind CSS, Pagefind.