🔥 All-Access Pass — $199 USD (Regular $499) · Unlock all 2,836 Astro themes ➔
komal.nakrani
Get All-Access Pass ($199)
ThemesCategoriesDocsBlogTips & TricksPricingGet All-Access Pass ($199)
Astro Themes••By Komal Nakrani

Best Astro Developer Portfolio Templates in 2026

The best Astro developer portfolio templates in 2026: what hiring managers look for, free themes, paid picks, and a build-time GitHub projects loader to copy.

#Astro#Developer Portfolio#Astro Themes#Portfolio

The best Astro developer portfolio shows a short introduction, three to six projects with what you built and why, a technical blog with good code highlighting, and links to GitHub and your CV, all as fast static pages that prove you care about performance. Free themes such as AstroPaper, Astrofy and Astro’s official portfolio starter cover this well; paid developer portfolio templates add more design and case study layouts for freelancers and senior engineers.

We sell Astro themes, so read our picks with that in mind. This guide covers what makes a developer portfolio work, the free options, a pattern that pulls your GitHub repositories in at build time, and our strongest developer-focused templates.

Key Takeaways

  • Lead with projects and outcomes, not a skills list. Each project needs a problem, your role, the stack and a link.
  • A technical blog with Shiki syntax highlighting is the best way to show how you think.
  • An Astro content loader can fetch your GitHub repositories at build time with no client JavaScript.
  • AstroPaper, Astrofy and the official portfolio starter are the strongest free bases.
  • Your portfolio’s own performance is part of the pitch; keep JavaScript to what each page needs.

What a developer portfolio needs

Hiring managers and clients spend a few minutes on a portfolio. Give them what they look for, in this order:

  1. A one-line introduction. Your role, your focus and where you work, for example “Front-end engineer building accessible design systems.”
  2. Selected projects. Three to six, each with a short write-up: the problem, what you did, the stack, and a live link or repository.
  3. Writing. Technical posts, notes or talks. These show judgment better than any badge.
  4. Experience or CV. A short timeline or a link to a full resume page.
  5. Contact. Email, GitHub, LinkedIn and, for freelancers, a clear way to start a project.

A developer portfolio built with Astro has a built-in advantage: it is fast by default. Our portfolio site build guide covers a full project, and Astro portfolio ideas has examples of sections that make a portfolio memorable.

Features to look for in a developer template

Feature Why it matters for developers
Content collection for projects Typed project data, one file per project
MDX support Embed demos or components inside case studies
Shiki code highlighting with light and dark themes Readable code samples in posts
RSS feed and tags Readers can follow your writing
Little or no client JavaScript The site itself demonstrates performance

Astro highlights code with Shiki at build time, so syntax colors cost no client JavaScript. Our Shiki article covers themes, line highlighting and copy buttons.

Free Astro developer portfolio options

AstroPaper

AstroPaper is a minimal, accessible blog theme with search, tags and a light/dark toggle. It suits developers whose portfolio is mostly writing, with a projects page added.

Astrofy

Astrofy is a free personal portfolio template with a blog, a CV page and a projects section. It is a good fit for a job search, since the CV and projects live side by side.

Astro’s official portfolio starter

The official starter is small and easy to read, which makes it a good base if you want to design and build the site yourself:

# Terminal
npm create astro@latest -- --template portfolio

The Astro themes directory lists many more community portfolio themes if none of these fit.

Pull your GitHub projects in at build time

A project list that updates itself is a nice touch on a developer portfolio. An inline content loader can fetch your public repositories from the GitHub REST API during the build, validate the fields you use, and store them as a collection:

// src/content.config.ts
import { defineCollection } from 'astro:content';
import { z } from 'astro/zod';

const repos = defineCollection({
  loader: async () => {
    const res = await fetch(
      'https://api.github.com/users/YOUR-USERNAME/repos?sort=updated&per_page=30'
    );
    if (!res.ok) throw new Error(`GitHub API returned ${res.status}`);
    const data: Array<Record<string, unknown>> = await res.json();
    return data
      .filter((repo) => !repo.fork && !repo.archived)
      .map((repo) => ({ ...repo, id: String(repo.name) }));
  },
  schema: z.object({
    name: z.string(),
    description: z.string().nullable(),
    html_url: z.url(),
    language: z.string().nullable(),
    stargazers_count: z.number(),
    pushed_at: z.coerce.date(),
  }),
});

export const collections = { repos };

The projects page reads the collection like any other:

---
// src/pages/projects.astro
import { getCollection } from 'astro:content';
import Base from '../layouts/Base.astro';

const repos = (await getCollection('repos'))
  .sort((a, b) => b.data.pushed_at.valueOf() - a.data.pushed_at.valueOf())
  .slice(0, 9);
---
<Base title="Projects">
  <h1>Projects</h1>
  <ul class="grid">
    {repos.map(({ data }) => (
      <li>
        <a href={data.html_url}>{data.name}</a>
        {data.description && <p>{data.description}</p>}
        <p>{data.language ?? 'Mixed'} · updated {data.pushed_at.toLocaleDateString('en-US')}</p>
      </li>
    ))}
  </ul>
</Base>

Unauthenticated GitHub API requests are rate limited, so on a busy CI runner add a token through an environment variable and send it in an Authorization header. Keep your hand-written case studies in a separate Markdown collection; the repository list is a supplement, not a replacement. Our content loaders guide explains inline and object loaders in detail, and the content docs show where collections sit in a theme project.

Developer portfolios in our catalog sit in Portfolio & Agency. Each theme is a complete Astro 7 project with TypeScript and a live preview, and builds to static files. A few picks:

Dev and DevCore: writing-led developer sites

Dev ($39) is a minimal portfolio for web developers, with a blog, post categories and an about page. DevCore ($39) is a responsive developer theme focused on projects and articles. Choose either if you plan to write regularly.

Devsync: job hunting and freelance work

Devsync ($39) is a portfolio for developers, freelancers and tech professionals, with project pages, a blog and a contact page. It is aimed at job hunting, winning clients and building a personal brand.

Codeplus: content collections out of the box

Codeplus ($39) is built on Astro content collections for web developers, engineers and designers, with project, blog, about and contact pages.

Dev Mastery: a dark developer portfolio

Dev Mastery ($39) is a dark portfolio for designers and developers, with a blog, work pages and a contact page.

Bluren and Codix: lean and lower cost

Bluren ($29) is a single-page developer portfolio focused on projects, skills and personality. Codix ($29) is a compact theme for developers showing services, projects and expertise.

Common developer portfolio mistakes

These are the issues that make a capable developer’s portfolio underperform:

  • A skills grid instead of projects. Logos of twenty technologies tell a reader nothing about what you can build. Show projects and mention the stack inside each one.
  • Tutorial clones as headline projects. A to-do app or weather app is fine for learning, but lead with something that solved a real problem, even a small one.
  • Broken demo links. Free hosting tiers expire and APIs change. Check every live link before you apply anywhere.
  • Heavy animation on every page. A portfolio that ships a large JavaScript bundle to render static text sends the wrong signal. Use islands only where interactivity adds something.
  • No writing at all. A few posts explaining a bug you fixed or a decision you made show judgment that code alone does not.

Fix these before you add new features to the site. A portfolio with three strong projects and two good posts beats a feature-rich one with weak content.

Before you share your portfolio

  1. Replace every demo project with your own, and link each to a live site or repository.
  2. Check that code blocks in your posts are readable in both light and dark mode.
  3. Run Lighthouse on the built site; a slow developer portfolio is a missed opportunity.
  4. Set site in astro.config.mjs and add a sitemap so your posts get indexed.
  5. Pin the portfolio link on your GitHub profile, CV and LinkedIn.

FAQ

Is Astro good for a developer portfolio?

Yes. Astro ships zero JavaScript by default, supports Markdown and MDX for writing, highlights code at build time with Shiki, and lets you add React, Svelte or Vue components only where you need interactivity. The result is fast and easy to maintain.

How many projects should a developer portfolio show?

Three to six well-explained projects beat twenty thumbnails. For each, describe the problem, your role, the stack, the outcome, and link to a live version or the code.

Can I show my GitHub repositories on an Astro portfolio?

Yes. Fetch them at build time with a content loader that calls the GitHub REST API, then render them like any other collection. Rebuild on a schedule or after a push to keep the list current.

Should a developer portfolio have a blog?

It helps. Technical posts show how you think, give recruiters something to read, and help your name rank in search. Even a handful of thorough posts is enough.

Can I use React components in an Astro developer portfolio?

Yes. Add the React integration and use components with a client:* directive only where they need to run in the browser, such as an interactive demo. The rest of the page stays static HTML.