πŸ—“οΈ Everything *[NYC] is back. A free gathering for AI builders. Sept 9 β†’

Sanity Starter

Sanity starter with localization utils, presentation tool and types generation

By Display Studio


README
Logo

Sanity Starter

A Sanity Studio v6 starter template with built-in localization utilities, presentation tool, and automatic types generation.


Features

Plugins Used

AI & MCP

Install the Sanity MCP server to let your AI assistant query, create, and patch documents directly β€” with automatic schema awareness, no manual context needed. Pair it with AGENTS.md for full project context across Claude, Cursor, Copilot, and other AI tools.

Scripts

  • dev: Start Sanity Studio in development mode
  • build: Build the Studio and generate types
  • deploy: Deploy the Studio
  • typegen: Extract schema and generate TypeScript types
  • typegen:watch: Watch mode for type generation

Getting Started

  1. Install dependencies:
    bun install
  2. Set .env variables:
    SANITY_STUDIO_ID="ID_HERE"
    SANITY_STUDIO_PREVIEW_URL="STUDIO_URL_HERE"
    SANITY_STUDIO_DATASET="production"
  3. Start the development server:
    bun run dev
  4. Generate types:
    bun run typegen

License

MIT