From an idea to a live website
You describe what you want. The AI writes the files. You try the result and guide the next change. This is often called vibe coding.
Know how your Mac, your AI helper, GitHub and Cloudflare work together.
Let’s do this
- 1In this guide
Choose a website or a web app
A website might show a gardener’s services, photos and contact details. A web app lets people do a job, such as track which plants need watering. Both open in a browser, and both can start without accounts or a database.
- 2In this guide
Follow the files through four places
Finder holds the project folder. Codex or Claude Code edits its files. Your browser shows a practice version on your Mac. Later, GitHub holds saved copies and Cloudflare serves the public version. Closing your laptop will not switch off the published site.
- 3In this guide
Build one useful thing first
Our running example is Little Garden: a page about plant care, then a list where you can add a plant and mark it as watered. Use that idea or your own. The main course gets it online; the extra lessons add shared data and accounts.
- 4On your Mac
Use one AI helper
Pick Codex if you already have access through ChatGPT, or Claude Code if your Claude plan includes it. You do not need both subscriptions. Every message in this course works as a brief for either tool. Setup comes after you create the folder.
OpenAI: desktop setup (opens a new tab) - 5In this guide
Keep a simple building rhythm
Ask for one change, open the preview, try it, then save a working version. You decide what is right. AI can produce pages that look finished while buttons do nothing, so trying the real task is part of building.
A message for your AI helper
I want to build my first website for the people I want to help so they can [describe the problem my app should solve]. I am using a Mac and have no coding experience. Explain the route from a Finder folder to a local preview, GitHub and Cloudflare. Use plain British English. Ask one question at a time. Do not create files yet.
What you should see
You can explain where you will build, where you will save online copies, and where visitors will see the website.
If you get stuck
Checked 7 September 2026. Screens can change; the official guides below have the latest steps.
OpenAI: desktop setupAnthropic: Claude Code on desktopCloudflare Pages: connect GitHub