{"repo":"nuotsu/sanitypress","free":true,"listed":false,"github":"https://github.com/nuotsu/sanitypress","clone":"git clone https://github.com/nuotsu/sanitypress.git","description":"Sanity.io & Next.js Starter template with live previews","language":"TypeScript","stars":42,"topics":["nextjs","sanity","sanity-io","sanitypress","tailwindcss"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"SanityPress (with TypeGen) Zero setup stress. 100% type-safe. An improved successor to the acclaimed Next.js + Sanity.io starter template—now with auto-generated TypeScript types from your Sanity schema and GROQ queries. Get started Read more about TypeGen View on Sanity.io Key Features - Next.js 16 (App Router, Server Components, TypeScript) with Tailwind 4 - Improved successor to the acclaimed SanityPress starter template (over 400 stars) - GROQ TypeGen for your Sanity Schema types - Perfect PageSpeed Insight scores - Live Content API with Visual Editing - Optimized images with Next Image component and Sanity CDN - Auto-generated sitemap.xml and blog RSS feed File Structure Getting Started 1. Initialize the project Click the Sanity template link -- OR -- install with the Sanity CLI: 2. Set environment variables If initialized via the Sanity template link, the .env.local file should be created automatically. If initialized via the CLI, duplicate the .env.example file as .env.local and assign the variables to your project: ⚠️ Required : Set NEXT PUBLIC BASE URL to your production domain. 3. Install and start local server Install required packages and dependencies with your desired package manager (e.g. npm, pnpm, deno, bun, etc.). Once installed, run the development script: Then open: - Next.js frontend: http://localhost:3000 - Sanity Studio: http://localhost:3000/admin 4. Add content in your Sanity Studio Publish the required documents: site and page (with the slug \"index\").","default_branch":null,"files":null,"tree":[],"storefront":"/r/nuotsu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nuotsu/sanitypress/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}