Astro Sanity Minimal Starter is a blog website with a headless CMS setup using Sanity.io. Despite its minimalistic style, it offers excellent SEO capabilities, customization options, and great performance. This starter is designed to provide a solid foundation for a personal blog while allowing users the flexibility to style and structure the website to their preferences.
Initial Sanity Setup:
npm install -g @sanity/cli
.cd sanity
.sanity install
and then sanity init
to set up Sanity (create a Sanity account if needed).Configuration Settings:
.env.template
to .env
.PUBLIC_SANITY_PROJECT_ID
value with your token ID.http://localhost:3000
to the allowed CORS origins in your Sanity project settings.Run Sanity Studio:
sanity install
and then sanity start
.Run Astro Site:
npm install
and then npm start
.npm run build
.The Astro Sanity Minimal Starter provides a simple yet powerful foundation for setting up a personal blog. By integrating a headless CMS with excellent SEO features and performance optimizations, this starter allows users to focus on content creation while retaining the flexibility to customize the look and behavior of their website. With easy installation steps and minimal styling, it offers a convenient solution for those looking to start a blog efficiently.