Astro Rocket is a free theme for Astro 7: a ready-made website for a freelance web designer or developer. It has a homepage, Services, Projects, a blog, About, Contact and a privacy page, in one of three colours and one of four languages. You put your own name in place of “Astro Rocket” and change the text.
It’s built on Astro Aurora, which is built on Velocity by Southwell Media. From Velocity it has 70 components, a strict Content Security Policy, light and dark mode, search with Pagefind, forms with Astro Actions, share images made at build time, structured data and a sitemap.
What you need
- Node 22.23.4 or later
- pnpm 10
Install
git clone https://github.com/hansmartensdev/Astro-Rocket.git my-site
cd my-site
pnpm install
cp .env.example .env
pnpm dev
The site opens at http://localhost:4321.
Commands
| Command | What it does |
|---|---|
pnpm dev |
Dev server at http://localhost:4321 |
pnpm build |
Production build, with the Pagefind search index |
pnpm preview |
Serves the build. Search only works here and after deploying |
pnpm lint |
ESLint |
pnpm check |
Astro and TypeScript diagnostics |
pnpm test |
Unit tests |
pnpm test:e2e |
End-to-end and accessibility tests, after a build |
pnpm validate |
Lint, check, unit tests, build and the agent-ready check |
Where to go next
- Settings: the theme’s switches.
- Name, links and menu: your name, email and profiles.
- Colour, fonts and logo: the site’s colour and your own logo.
- Pages and words: where every word on the pages is, and what in the demo is an example.