Video Companion

How to Spin Up an Astro Site Locally in VS Code for Non-Coders

+
🚀 How to Spin Up an Astro Site Locally in VS Code (For Non-Coders) If you're a non-coder and you're just getting started with Astro or coding with AI, this video walks you through how to get an Astro site running locally using VS Code and Codex. I keep the process slow and simple so you can follow along step by step, even if this is all new to you. 🧰 Resources & Tools Mentioned - My website: https://thomasfellows.com/ - Astro: https://astro.build/ - Visual Studio Code: https://code.visualstudio.com/ - OpenAI Codex for VS Code: https://marketplace.visualstudio.com/items?itemName=OpenAI.chatgpt - ChatGPT: https://chatgpt.com/ ⏱️ Chapters 00:00 Intro 00:18 What you need before starting 00:38 Install the Codex extension in VS Code 01:03 Create and open your project folder 02:17 Open Codex chat in VS Code 02:43 Prompt Codex to scaffold the Astro site 04:33 Start the local dev server 05:25 Open the local Astro site 05:45 Prompt Codex to build a homepage 06:39 Make a manual edit in index.astro 07:39 Initialize Git in VS Code 08:13 Recap of the full process 09:03 Final thoughts + thomasfellows.com In this video, you'll learn how to: - Set up the basic tools you need - Create a local Astro project folder - Use Codex inside VS Code to scaffold an Astro site - Start the local development server - View your site in the browser - Generate a homepage with AI - Make a simple manual edit in your Astro file - Initialize Git inside VS Code If this helped, subscribe for more videos on Astro, VS Code, Codex, AI workflows, and building websites as a non-coder.
Beyond The Video

Companion Updates

This walkthrough makes Astro feel less abstract by showing the exact sequence a beginner needs: open the right folder, install the right extension, scaffold the starter, run the local site, and make one small edit so the project starts feeling real instead of intimidating.



Key Takeaways

  • You do not need a complicated prompt to get started. A simple request is enough to scaffold a working Astro starter.
  • Codex can handle the early setup work, but it still helps to understand where your project folder, homepage file, and local server live.
  • Seeing localhost:4321 open successfully is an important confidence-building step for non-coders who are new to local development.
  • The video shows a practical bridge between AI-generated site setup and a first manual code edit inside src/pages/index.astro.
  • Initializing Git early gives you a clean starting point once the project is up and running.

Best Suited For

This video is best for non-coders, solo creators, and first-time Astro users who want a calm, literal walkthrough instead of a fast developer-centric tutorial. If you have been curious about using Codex inside VS Code but still feel unsure about local setup, folders, terminals, or what the first few prompts should look like, this is a strong starting point.

Copy And Paste Prompts

If you want a few clean prompt variations to try after the exact starter shown in the video, these are easy copy-and-paste starting points for Codex inside VS Code.

Basic Starter

This is the simple version shown in the video.

Copy & Paste

Create a basic Astro website starter project. Keep it simple and clean. Include a homepage and make sure it runs locally.

Starter Plus Tailwind

This is a common next step if you want styling and TypeScript from the beginning.

Copy & Paste

Create an Astro starter website with Tailwind CSS and TypeScript. Set up a simple homepage with a clean layout and make sure everything is ready to run locally.

Business Website Starter

This works well for local service business projects.

Copy & Paste

Create an Astro website for a local service business. Include pages for Home, About, Services, and Contact. Use clean styling and a simple layout. Make it easy to edit later.

Content Or Blog Starter

This is useful for videos, articles, and SEO-driven content sites.

Copy & Paste

Create an Astro site with a blog system using content collections. Add a homepage, a blog index page, and dynamic blog post pages using slugs. Keep it simple and organized.

YouTube Companion Site

This prompt fits a video-focused content system.

Copy & Paste

Create an Astro site for YouTube videos. Include a homepage and dynamic video pages using content collections. Each video page should have a title, description, transcript, and resources section.

Component-Based Starter

This is a better fit when you want reusable UI pieces from the start.

Copy & Paste

Create an Astro starter project with a components system. Add reusable components like Button, Card, and Section. Include a global layout and keep the design minimal and consistent.

Minimal And Scalable

This is the best overall option if you want a clean foundation that can grow.

Copy & Paste

Create a minimal Astro starter with TypeScript. Add a global layout, a components folder, and clean file structure. Keep everything simple, organized, and ready to scale.

If the result is not right, just say improve this or make it simpler in the chat and Codex can refine it.