Astro is a good framework for freelance web developers because most freelance work is marketing sites, portfolios and small business pages, and Astro turns those into fast static sites with almost no maintenance. As an Astro freelance developer you spend your hours on design and content rather than plugin updates, you can host clients for free, and you hand over a plain Git repo the client owns. The main thing to plan for is how the client will edit content after launch.
Key Takeaways
- Static Astro sites remove the maintenance calls that eat freelance margins.
- Free static hosting lets the client own the hosting account from day one.
- A personal starter or a finished theme cuts the first days of every project.
- Price the CMS and editor training as a line item; it is the most underestimated part.
- Astro is a weak fit when the client wants a drag-and-drop builder they run alone.
Why freelancers pick Astro
Freelancers sell time, and every hour lost to fixing an old site is an hour not billed on a new one. Astro’s static output helps directly. When a site is HTML files on a CDN, there is no admin panel to break, no plugin conflict after an update, and no hosting server to watch. Sites you launched two years ago keep working without a call.
Astro also fits how freelancers like to work:
- HTML-first syntax.
.astrofiles look like HTML with a script block on top. If you know HTML, CSS and a little JavaScript, you are productive within a day. - Bring your framework. React, Vue, Svelte or Solid components work as islands when a page needs interactivity.
- Any host. Cloudflare Pages, Netlify, Vercel, GitHub Pages or the client’s existing provider.
- Fast by default. No JavaScript ships unless a component opts in, so performance is not a separate sprint.
Scoping an Astro freelance project
Scope problems sink more freelance projects than code does. Before quoting, answer these questions with the client:
- Which pages? List page types, not page counts: home, services, service detail, about, case studies, blog, contact.
- Who edits what? Text only, images too, or new pages? This decides whether you need a CMS.
- What interactive features? Bookings, payments, forms, search, maps. Most are third-party embeds.
- Where will it live? The client’s own hosting account, a new free one, or yours.
- Who owns the domain and repo? The client, ideally, from the start.
Write the answers into the proposal. If the client later asks for a visual editor or member logins, you have a clear point to price a change.
A lean project workflow
A repeatable setup saves days per project. Here is a workflow many freelancers use with Astro.
1. Start from a starter or theme
Keep your own starter repo with the components you use on every job, or begin from a theme whose pages match the client’s business. Komal Nakrani themes cost $19 to $39 one time and the commercial licence covers sites you build for paying clients, so a theme can stand in for a week of layout work. You can browse Astro themes by category and pick the closest match.
2. Put content in collections
Store services, testimonials and FAQs as Markdown in content collections so they are typed and easy to edit.
// src/content.config.ts
import { defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';
import { z } from 'astro/zod';
const testimonials = defineCollection({
loader: glob({ pattern: '**/*.md', base: './src/content/testimonials' }),
schema: z.object({
name: z.string(),
company: z.string().optional(),
rating: z.number().min(1).max(5),
}),
});
export const collections = { testimonials };
---
// src/components/Testimonials.astro
import { getCollection, render } from 'astro:content';
const items = await getCollection('testimonials');
---
<ul class="testimonials">
{items.map(async (item) => {
const { Content } = await render(item);
return (
<li>
<blockquote><Content /></blockquote>
<p>{item.data.name}{item.data.company && `, ${item.data.company}`}</p>
</li>
);
})}
</ul>
3. Brand it with tokens
Put the client’s colours, fonts and spacing in CSS custom properties in one global file. Changing the brand later is a one-file edit. Our Astro styling guide covers scoped and global styles.
4. Deploy previews from day one
Connect the repo to Cloudflare Pages or Netlify in the first week. Each push gives the client a preview URL, which replaces screenshot feedback rounds with comments on the real site. Our Cloudflare Pages deploy docs walk through it.
5. Hand off cleanly
Transfer the repo to the client’s GitHub account, make them the owner of the hosting project, and leave a short editing guide. We cover the full checklist in handing an Astro site to a client.
Pricing Astro freelance work
Astro does not change what clients pay for, which is outcomes: a site that looks right, loads fast and brings enquiries. It changes your costs. Two pricing points shift:
| Item | WordPress-style build | Astro build |
|---|---|---|
| Hosting | Often resold monthly | Client’s free static tier |
| Plugin licences | Yearly renewals | Usually none |
| Maintenance retainer | Updates and fixes | Content changes and new pages |
| CMS setup | Built in | Separate line item if needed |
Many freelancers price an Astro project as a fixed build fee plus an optional monthly content retainer. The retainer sells better when it promises useful work (new pages, SEO updates, monthly speed checks) rather than “keeping plugins updated”, which no longer applies.
Do not discount the build because hosting is free. The client is paying for the site, not the server.
Giving clients an editor
This is where freelancers most often lose time. Choose the editing model with the client before building:
- No CMS. You make all content changes on a retainer. Simplest and common for small sites.
- Git-based CMS. Decap CMS or Keystatic gives the client a form at
/admin/that commits to the repo. Free, but needs a Git login for each editor. See our Decap CMS guide. - Hosted headless CMS. Storyblok, Sanity or similar. Better editing experience, often a paid plan as the team grows.
Whatever you pick, define the fields in your content schema first and mirror them in the CMS. A schema in src/content.config.ts stops bad content from shipping, because the build fails with a clear message instead of rendering a broken page.
When to say no to Astro
Some briefs fit a different tool, and saying so builds trust:
- The client wants to rebuild pages themselves every week with drag and drop. A site builder fits better.
- The project is a store with hundreds of products and stock syncing. Use Shopify, with Astro optional for content pages.
- The client’s team already runs a well-kept WordPress site and only wants a refresh.
For everything else freelancers typically build, such as portfolios, local business sites, landing pages, event sites and blogs, Astro is a fast, low-risk choice. The official Astro docs are thorough enough that clients’ future developers can pick up your code without you.
FAQ
Is Astro good for freelance web development?
Yes. Freelance projects are mostly content sites, and Astro builds those into fast static sites that rarely need maintenance. That keeps your time on new billable work instead of old site fixes.
How much should a freelancer charge for an Astro website?
Price by scope and value, the same as any site: page types, content work, CMS setup and integrations. Astro lowers your hosting and maintenance costs, but the client is paying for design, content and results, so those set the price.
Can I use an Astro theme for client projects?
You can if the theme’s licence allows client use. Komal themes include a commercial licence for unlimited sites for you or your paying clients, with full modification. Redistributing the theme files as a template is not allowed.
Do clients need to know code to update an Astro site?
No, if you add a CMS. Decap, Keystatic or a hosted headless CMS gives them a form-based editor. Without a CMS, edits happen in Markdown files or through you on a retainer.
What hosting should a freelancer use for Astro client sites?
Use a static host the client can own, such as Cloudflare Pages, Netlify or Vercel. Their free tiers cover most small sites, and putting the account in the client’s name makes handoff simple.