Astro Boilerplate - An Astro starter template built with TypeScript and Tailwind CSS

Free Astro starter template for a responsive blog and portfolio, with Tailwind styling and React components. Includes SEO basics, RSS feed, pagination, Markdown content, and a dark theme for quick launches.

Astro Boilerplate screenshot
  • Blog Pages Included

    Includes blog listing, posts, and pagination to ship a complete content site.

  • SEO Ready Setup

    Provides sitemap and robots.txt support to help your site get indexed cleanly.

  • Dark Theme

    Comes with a dark blog theme so readers can switch to low-light viewing.

  • Lazy Loaded Images

    Enables image lazy loading to improve perceived performance on content-heavy pages.

  • Markdown Content

    Write posts in Markdown for a simple authoring workflow and fast publishing.

  • DX Tooling Included

    Preconfigured linting, formatting, and git hooks keep code quality consistent in teams.

Overview

Launch a blog and portfolio template with SEO and dark mode

This is a free starter template for shipping a personal site that combines a blog and portfolio on Astro, with optional React components and Tailwind CSS styling. It’s aimed at developers who want a solid baseline for content publishing without spending time assembling common site fundamentals. The project emphasizes a clean, minimal approach while keeping the structure ready for real-world deployment. You get the essentials for writing and presenting posts, plus practical site features that help with discoverability and usability. Use it as a foundation for a personal brand, freelance presence, or a small content-driven marketing site.

What's included

  • Blog post template with Markdown-based content
  • Blog listing with pagination for browsing archives
  • Syntax highlighting for code-focused articles
  • RSS feed generation for subscribers and readers
  • Sitemap and robots.txt support for search engines
  • Dark theme option for the blog experience
  • Responsive layouts that adapt across devices
  • Image lazy loading to improve page loading behavior

Ideal for

  • Developer blogs with technical writing and code snippets
  • Personal portfolio sites with an integrated blog
  • Freelancers showcasing projects alongside articles
  • Small startup or product marketing sites driven by posts
  • Content-first landing pages that need basic SEO scaffolding

SEO considerations

The template includes dedicated plumbing for common SEO needs, including sitemap generation and a robots.txt configuration. It also supports an RSS feed for distribution and subscription workflows, which can be important for blogs and publication-style sites.

Requirements

You’ll need Node.js and npm to install dependencies and run the project locally.

Repository stats

  • 1 open issue
  • 918 stars
  • 4 watching
  • 364 forks
  • 115 commits
  • about 1 year ago

Highlights

  • Free & open-source
  • Developer friendly
  • Minimal code
  • Responsive design
  • Production ready
  • Dark mode

Share this template