Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Astro Citrus is a simple opinionated starter built with the Astro framework. Use it to create an easy-to-use blog or website.
Astro Citrus is an opinionated Astro v5 starter template for building a blog or static website, created by Artem Kutsan.
Astro Citrus is a free, MIT-licensed open-source starter template built on Astro v5. It takes Markdown and MDX files from src/content/post and src/content/note folders and generates a static blog or website with an automatic RSS feed, sitemap, robots.txt, and web app manifest. The template uses content collections with a typed frontmatter schema in src/content/config.ts to validate post metadata at build time.
src/styles/global.css.ogImage in frontmatter.SocialList.astro.src/content/post; the theme handles RSS, OG images, tags, series, and drafts.pnpm dlx create-astro --template artemkutsan/astro-citrus to scaffold a fully working site in minutes.src/styles/global.css and Tailwind classes; modify the Satori markup for custom OG image styles.src/site.config.ts and deploy to any static host; the README links to Astro's deployment guide and platform-specific analytics options.pnpm dlx create-astro --template artemkutsan/astro-citrus.pnpm install, then run pnpm dev for local development at localhost:3000.src/site.config.ts and astro.config.ts (set the site property), and replace favicon and social card images in /public.src/content/post/ and notes to src/content/note/ with required frontmatter.pnpm build, then run pnpm postbuild to generate the Pagefind search index.Yes, Astro Citrus is released under the MIT license. You can use it freely for personal or commercial projects.
Posts need title (max 60 chars), description (50-160 chars), and publishDate in ISO 8601 format. Optional fields include updatedDate, tags, coverImage, ogImage, draft, seriesId, and orderInSeries.
No built-in analytics are included. You can add your own analytics snippet (e.g., Vercel, Netlify, or Cloudflare Web Analytics) in src/layouts/Base.astro or src/components/BaseHead.astro.
If you forked the repo, use GitHub's "sync fork" feature. If you created a template repository, add this template as a remote and pull changes, being careful not to overwrite your custom content.
Yes, the repository notes it can be used to create an "easy-to-use blog or website." You can create extra pages beyond posts and notes, and Pagefind search can be extended to include all pages by moving the data-pagefind-body attribute.
