From zero to a live website

Never coded anything? No problem. With these prepared procedures, you will easily within an hour get from an empty computer to your own website on the internet that you can send to your friends. We will go step by step and for each one we will also explain why — so you understand it, not just click.

You might know ChatGPT, Gemini or similar chat tools — they work with varying success. Here we bet on Claude from Anthropic, which most corporate customers in the US deploy for real work. It works a bit differently: it doesn't just answer you in a window, but it touches files itself, runs commands and builds things for you.

Now, honestly, what costs what. GitHub and Cloudflare both have a free tier that is more than enough for your first websites. Claude is different: the ordinary chat at claude.ai can be used for free, but Cowork — the mode in which the agent works with the files on your computer itself — is, at the time of the lesson's last update (December 2026), available only on paid plans (Pro and above). When the lesson was first written the plans looked different, and they keep changing — so always check the current situation at claude.com/pricing.

GitHub: what it is and why we use it → Cloudflare: what it is and why we use it →

You have two paths. If your account does not allow working in Cowork, there is a route without it: the free Claude chat writes the page, you download the files into your project folder and send them to GitHub with the point-and-click GitHub Desktop app. Or try it straight away on a paid plan — the most comfortable route, and you will probably find it one of the best investments you have ever made.
You say it in Cowork “Hello World” Your computer file is created Git / GitHub saves a version Cloudflare builds the website Public address www-hello-world.pages.dev
The commands and prompts below will rewrite themselves accordingly. The folder will be www-hello-world, the page will have the heading "Hello World". Note: diacritics disappeared in the folder name and spaces changed to dashes — repository and file names in the computer world are written without accents (ASCII) and with dashes. The heading on the page can have diacritics.
Choose your own, less common name. The address www-hello-world.pages.dev is public — and if you keep the generic "hello-world", you'll land on an address that everyone from the course knows (and looks at). Instead of a quiet playground for you and a few friends where you can safely experiment and even mess things up, it suddenly becomes a showcase. Add something of your own (initials, number), like hello-world-kh-7 — so you have your own corner just for yourself. For real use, you'll get your own domain anyway (step 7).
View: Detailed = every step with an explanation why · Brief = just commands and steps (for those who already have a clue)
System: Switches the steps, commands and shortcuts (⌘ ↔ Ctrl). The Windows variant has not been verified on a real machine yet.

What you will have at the end

A functional website at an address like www-hello-world.pages.dev (and later easily on your own domain), which anyone in the world can open in a browser. And most importantly, a process you can repeat for any other idea.

Heavy tools (build, libraries) run in the cloud and in the agent's sandbox — you install almost nothing on your computer. The computer is disposable, the truth is the cloud.
Plus — context: deploy runs from git (Cloudflare builds on every push), never manually from a laptop. Your computer only holds a working copy — the source of truth is git + cloud. That is the whole secret of a "disaster-proof" setup.

1 · Create three accounts

You will need three things. GitHub and Cloudflare have a free tier that is more than enough to start; Claude's chat is free, Cowork is on paid plans (see above):

Register for all three, verify your email and you can move on. Save your passwords in a password manager (on Mac the app Passwords) — so you have them securely and don't have to remember them.

What you'll need — the computer: a Mac with macOS 14 (Sonoma) or newer — that's what the Claude app with Cowork requires. Both Apple Silicon (M1 and newer) and Intel work; on Intel you just install the tools in step 2 a different way (without Homebrew) — which Mac do I have?
Password management and key backup have their own guide — we won't drag it in here now so it doesn't overwhelm you. You don't need it for your first website.

2 · Terminal and Homebrewwinget

"Terminal" is a window where you type commands as text. It looks serious, but it's just a way to tell the computer exactly what to do. Open the app Terminal (via Spotlight: ⌘ Space → type Terminal).

Which Mac do I have?

Before you install anything, find out which chip your Mac has — that decides the route. Click the Apple logo at the top left → About This Mac:

Or ask the Terminal — it prints arm64 (Apple Silicon) or x86_64 (Intel):

If About This Mac and the command disagree, trust About This Mac.

Install Homebrew

Homebrew is a "store" for installing tools with a single command. Copy the following line, paste it into the Terminal and press Enter (it will ask for your computer password — that's fine):

Install a few tools

Now via Homebrew we will add git (versioning), gh (GitHub from the command line) and GitHub Desktop (clickable app for git):

Additionally: keep Brewfile in the repo (one line per tool) and on a new machine just brew bundle — the entire toolchain is reproducible from the manifest.

If it doesn't work

Did the Homebrew install stop with this message?

Homebrew on macOS is only supported on Apple Silicon processors!

What it means: your Mac has an Intel processor, which Homebrew no longer supports. You broke nothing and nothing was installed. Switch to Intel above and carry on without Homebrew — you'll finish the course all the same.

3 · Create your first project

You will have all your websites nicely together in the folder Projects right in your home folder (~ is an abbreviation for /Users/your-name). Create it and inside it a folder for this website:

Watch out for iCloud. Do not put projects in the folder Documents or on Desktop — iCloud syncs those to the cloud and fights with git (conflicts, disappearing files). The folder ~/Projects in the home folder does not sync to iCloud, so it is safe. The command above does it correctly.

The www- at the beginning is our convention for websites — in the Projects folder, your websites will line up nicely together (applications will get their own prefix). When you have more of them, you'll appreciate it.

Tip: drag the folder Projects to the left panel of Finder (into "Favorites") — you'll be going there really often, so have it one click away.

4 · The page will be written by an agent (you just say what)

Here comes the magic: you don't write code, you describe the result. In Cowork, open the folder ~/Projects/www-hello-world and write this prompt to the agent (copy it — it's already set to your name):

The agent will create the file. Open index.html with a double-click — you should see your page right in the browser (for now only on your computer). Does text/code open instead of the website? Don't panic — drag the file index.html onto the browser icon down in the Dock, or click on it with the right button → Open with → your browser.

Don't like it? Tell the agent what to change — "make the heading blue", "add the year at the bottom". Try, read the result, adjust. This is exactly how you work with an agent.
No Cowork? The route without it — free Claude chat + GitHub Desktop

The free chat at claude.ai cannot touch the files on your computer by itself — you do that "manual" part. It is a few extra clicks and you get exactly as far. All you need is GitHub Desktop from step 2.

  1. Have the chat write the files. Paste this prompt into the chat (it is already set to your name):
  2. Download the files. Claude shows each file as its own block with a download button (Download). Download both index.html and README.md. No button? Copy the block's content and save it in a text editor (TextEdit, after Format → Make Plain Text) under exactly that name.
  3. Move them into the project folder. Downloaded files land in your Downloads folder; drag them in Finder into ~/Projects/www-hello-world. Double-click index.html — the page opens in your browser.
  4. Send them to GitHub with GitHub Desktop. File → Add Local Repository → pick the project folder (if the app says it is not a repository yet, click create a repository) → write a version name → Commit to main → Publish repository (Private is fine). After every further change, replace the files with the new version from the chat and in GitHub Desktop click Commit and Push origin.
  5. Pull when needed. When something changes directly on GitHub (an edit on the GitHub website, another computer), first click Fetch origin and then Pull origin in GitHub Desktop — so you have the current version before you change anything.

Step 6 (Cloudflare) you then click through in the browser — choose the I want to understand it path there. For steps 7–8, have the chat generate the files (_redirects, robots.txt, llms.txt…) the same way and send them by the same route.

Whenever you like, try Cowork on a paid plan: the agent then does the downloading, moving, commit and push for you, and you just say what you want.

5 · Save the website to GitHub

We will now save the website to git — a secure repository from which it will also be published. How to do it? Choose your path: (No Cowork? Send the site with GitHub Desktop following the route without Cowork.)

You don't need to know a single command. Open in Cowork the folder ~/Projects/www-hello-world — and check that it's really the folder with your website (not Desktop, not Documents). This is where nine out of ten beginner snags hide. Then paste exactly this prompt to the agent (click in the box, ⌘ A, ⌘ C — it will copy the whole thing):

What will happen — and don't be alarmed. At one point, the agent will open a browser window where you will log in to GitHub yourself. This is correct and secure: neither the agent nor we see your password — you enter it directly to GitHub. Then you return to Cowork and type "done, continue".
Claude might "resist" you — and that's a good thing. For sensitive steps (login, passwords, paid confirmation) it will stop on purpose and leave them to you. It's not a mistake or that it "doesn't know how" — it's a safeguard so it doesn't do anything for you that you don't want. When it stops, do the step yourself and type "continue". (This beast commands respect, but it pulls for you — you just hold the reins.)
This is the key flow: you talk to Cowork and finished websites pop out on the other side. Most people don't need to know more.

6 · Release the website to the internet (Cloudflare)

Now we will expose the website to the internet via Cloudflare. How to do it? Choose your path:

Now we will expose the website to the internet. Paste this prompt to the agent — it is detailed on purpose, so it works the first time (click in the box, ⌘ A, ⌘ C):

Logging into Cloudflare will happen the same way as with GitHub — in a browser window and you enter the password, the agent won't touch it. Then you say "continue".
Here too, Claude might resist at login or confirmation — and that's correct. It will stop, you do the step and type "continue". If it struggles, feel free to give it a hint: "use the Cloudflare MCP connector" or "try it via wrangler".
This is the uncorking of the bottleneck: ideas → Claude → website out. Most people will choose this fully automatic process — and have peace of mind to create.
And what if a service doesn't have an API (just clicking)? Then comes into play the Chrome plugin: the agent will pre-click the steps directly in the browser for you and you just transfer the sensitive data (secret). For now in beta and slower than API/CLI/MCP, but powerful. API & MCP: what it is and why we use it →

Stop for a moment — your website is out in the world.

A few dozen minutes ago you had an empty computer. Now you have a live website on the internet, at an address like www-hello-world.pages.dev. Open it — it works, it's public, anyone in the world can load it.

It's not your official domain yet (www.mujprojekt.com comes in step 7) — this one is "developmental". But it doesn't change anything: it's out there and you can touch it.

And this is exactly the moment you've been waiting for: send the link to your friends, ask them what they think — and feel free to redo and improve it several times afterwards. You can now change the website whenever you want (tell the agent, or manually commit → push), and in a moment the modification is out.

No rush to move on. Enjoy this — you yourself just got an idea from your head all the way to the internet.

Got a contact form on your page? Test it before you trust it. When you ask an agent for "a page with a contact form", it often scaffolds a form that looks completely real — fields, a Send button, even a "thanks!" message — but quietly doesn't send anywhere. It's a mock. So do this now: fill it in and submit it yourself. If no message lands in your inbox (or wherever you expected it), it's a mock and needs wiring to a real backend. We have a ready-made guide for exactly that: Ship a working form →

Now play — change the website and watch it publish itself

This is the whole magic: you say the idea in Cowork and the rest — saving the version (commit), sending (push) and building (build) — happens by itself. In a moment you see the change online, even on your mobile. You hold in your hand a tool to which you tell what kind of website you want, and it emerges under your hands.

Try it out — ask the agent for example for:

  1. a different background color and font color;
  2. in the footer the page version and build date — so you can see with your own eyes that the website really rebuilt;
  3. some icons. We like Phosphor and Lucide — open them and choose, so you know what's in the repertoire.

Try these — low-stakes experiments, one sentence each

None of these can break anything — it's your private playground. Each one is a single sentence you say to the agent. Try one, watch it appear online, and you'll feel the tool become yours:

  1. "Add a small clock showing the current time."
  2. "Add a little icon next to the heading."
  3. "Add a little sun drawn in the corner."
  4. "Set this photo from my album as the background" (drag a photo into Cowork first).
  5. "Lay the title over the photo so it stays readable."
  6. "Add a light/dark toggle" — or a with-photo / without-photo switch.
  7. "Change the font to something cleaner / more playful."
  8. "Re-tune the whole colour palette — try luxury gold, or technical blue." One sentence, and the whole site changes mood.
Don't like the result? Just say so — "go back", "make it softer", "try another colour". Nothing here is permanent and nothing is at risk. This back-and-forth is the skill: ask, look, adjust.
Free photos for your site: Unsplash. No photo of your own? unsplash.com has hundreds of thousands of high-quality photos you may use for free, on a commercial site too, without asking (Unsplash licence; you just may not sell them unaltered or build a competing photo library from them). The licence does not require credit, but it is good manners — a small caption "Photo: Author Name / Unsplash" with a link is enough.
How: open the photo, click Download (a medium size is plenty), drag the file into your project folder in Finder (or straight into Cowork) and tell the agent: "Use this photo as the background, convert it to WebP at a sensible size and credit the author." Without Cowork, paste the same instruction into the chat and attach the photo.
Keep the site fast (PageSpeed 100): don't put a multi-megabyte original on the web — resize it to the width it is actually shown at (a background around 1920 px, an image in the text around 1200 px), save it as WebP or AVIF, give every <img> a width and height, and add loading="lazy" to images further down the page — but not to the main photo at the top (that one should arrive at once). Keep the photo in your project rather than linking it from someone else's server.
This is a lovely example of how students themselves enrich our Academy: our student David pointed us to Unsplash during his very first lesson — and wired it straight into his site so that anyone can pick their own background photo. Thank you, David. We are delighted by the calibre of the people we get to swap experience with here.

After every change, either tell the agent "save and release it" (automatic), or manually Commit → Push — and Cloudflare will rebuild the website itself. In a moment you refresh the page and you have it. Idea → out. From now on you change the website whenever you want.

The right time for mobile. While you're playing, tell the agent "make the website look good on mobile too" — that's called responsive design (the website adapts to the screen size). Open the page on your phone and you'll see the difference. Now it makes sense because you can touch it right away. And it matters: the link you'll share gets opened on phones — so have the agent do a proper mobile version, not an afterthought (we'll double-check it in step 8).
Here ends the "toy". A finished Hello World is great for trying out — you usually don't put a test page on a live domain. Steps 7–8 below are for when you are building a real website.
website creation → publishing

7 · Custom domain for a real website

When you want a real address instead of .pages.dev — say mydomain.com — you connect it to your Cloudflare Pages project. There's one catch that trips up almost everyone, so let's get it right the first time.

Add BOTH addresses — the naked domain and the www one

In Cloudflare Pages open your project → Custom domains → Set up a domain and add two addresses, one after the other:

  1. the naked domain — mydomain.com (this is called the apex);
  2. and also www.mydomain.com.

For each one, Cloudflare creates the DNS record for you and issues the HTTPS certificate (the padlock). Takes a minute or two.

Why both? Because this is exactly where a real student got stuck. He set up mydomain.com, it worked — but www.mydomain.com showed an error. People type "www" out of habit, links from elsewhere use it, search engines remember it. If you only add the apex, every visitor who types www. hits a dead end. Add both and that whole class of "it doesn't work for my friend" disappears.

Pick one main address — and send the other one to it

Now both addresses work, but you don't want the same site living at two URLs (it's untidy and confuses search engines). So you pick one as the real one and redirect the other to it. We recommend the naked domain as the main one (shorter, cleaner). This is the step our student never did.

Add a small file called _redirects (no extension, just that name) to the root of your project — the same folder as index.html — with this single line:

In plain words: "anyone who comes to www., send them to the naked domain, and keep whatever page they wanted." Then tell the browser and search engines which one is the real one — the <link rel="canonical"> tag in your page <head> should point to the naked domain. (If you'd rather keep www. as your main address, do it the mirror way — just pick one and stay consistent.)

Don't worry about typing any of this by hand — the one prompt in step 8 sets up the redirect, the canonical tag and everything else in one go. Here you just need to understand why: two doors into the building, but everyone ends up in the same lobby.

Where to buy a domain: Cloudflare can register most domains directly at wholesale price — without markup (national ones like .cz/.eu for now via another registrar). With a larger portfolio, this makes significant savings: for example on a domain .group it's tens of thousands of CZK a year. And most importantly, you then have domain, hosting and website under one roof — all AI-agent-friendly, which is the credo of the whole Flowsmith.
Attention: domain setup also mixes emails and security (SPF/DKIM/DMARC). So you don't break your mail, we treat this as a separate guide — it doesn't belong in the first lesson.

8 · The launch set — the "grown-up website"

A bare page works, but a real website has a handful of small touches that make it look finished and behave properly everywhere. This is exactly the set we put on flowsmith itself. Here's what each piece is and why you want it:

You don't do any of this by hand. Open your project in Cowork and paste this one prompt — it produces the whole launch set in a single go (it's already set to your name). Without Cowork, paste the same prompt into the chat and send the finished files with GitHub Desktop (route).

How to check it actually worked (do all five — it's quick):

  1. type the naked domain in the browser — it loads;
  2. type www. in front — it should bounce you to the naked one;
  3. paste the link into a chat (message yourself) — a preview card with title, text and image should pop up;
  4. look at the browser tab — your title and your little icon are there.
  5. open it on your phone — the people you share with will mostly tap your link in a messenger or a text, so it opens on mobile.
Before you share it — check it on your phone. Friends usually get your link in Messenger or a text and open it on a phone. A site that looks great on your laptop but broken on mobile is an instant embarrassment. If you skipped the responsive tweak in step 6, tell the agent now: "make it look good on mobile too", then re-check on your phone.

(We have a prepared skill for this — a ready-made verified procedure that tells the agent exactly what and how. What a skill is and how to make your own is in the lesson What is a skill.)

What you just got your hands on: accounts → tools → project → website written by an agent → git → live website. You will repeat the same process for anything else — you only change the content.

Where to next