Getting Started

  1. 1

    Create your project

    npx create-turbo@latest -e

    Check out the Turbo docs for details

  2. 2

    Set Sanity Project ID

    If you haven't already, sign up for a Sanity account here.

    Create a project, then copy your projectId to your clipboard

    For MacOS/Linux users:

    export SANITY_STUDIO_PROJECT_ID=pasteProjectIdFromClipboard

    For Windows users:

    set SANITY_STUDIO_PROJECT_ID=pasteProjectIdFromClipboard

    See our guide on setting up Sanity Studio for more details

  3. 3

    Build search indexes

    turbo build:search

    Check the configuring search guide to fine tune your search experience

  4. 4

    Takeoff! 🧑‍🚀 🚀 ✌️

    turbo dev

Space Exploration

Space Madness is ready to go out of the box, but there's a lot in that box. This site will help you customize the site to your needs.

Feel free to browse the Guides. Concepts and Resources provide small bits of information that are tied together in Guides.

Add a New Embed Type

Learn how the custom embed system works and how to add a new embed type to your site.

Deploying Your Sites

Learn how to deploy your Astro and Sanity sites to web hosts.

Creating an Annotation

Learn how to decorate your inline text with an annotation. Build the editing experience in Sanity and the portable text markup in Astro.

Creating Content Filters

Learn how to filter your content with custom searches, then add them to your astro site.

Combining Content Models

Learn how to bring two separate content models together in queries with type safety.

Render Portable Text

Learn the ins and outs of Portable Text and how to render rich text content.

Add a Shadcn UI Component

Learn how to add a new component via the CLI, update the styles, and how to use compound components in Astro.

Setup Sanity Studio

Learn how to setup Sanity Studio so you can start creating your own digital garden

Add a New Content Type

Learn how Space Madness is structured by building your own content type. Create a new Sanity definition, query it with GROQ, and render it in Astro.

Configuring Search

Learn how to configure Search on your site with Pagefind and cmdk