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 →
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).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.
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):
- Claude / Cowork — an AI assistant that will do the "computer" work for you. claude.com · Cowork is on paid plans (current pricing); without it, follow the route without Cowork.
- GitHub — secure storage for your website (and the "source of truth"). github.com/signup
- Cloudflare — publishes your website on the internet. cloudflare.com
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.
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:
- "Chip Apple M1 / M2 / M3 …" = Apple Silicon
- "Processor … Intel …" = Intel
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):
Brewfile in the repo (one line per tool) and on a new machine just brew bundle — the entire toolchain is reproducible from the manifest.git — from Apple's own tools
Paste this line into the Terminal and press Enter. A system window pops up — click Install and accept the licence. It downloads Apple's Command Line Tools (a few minutes), which include git:
When it finishes, check it — you should see a version number:
It says the tools are already installed? Even better — you're done.
GitHub Desktop — download it
Open desktop.github.com and click the download for a Mac with an Intel chip (not "Apple silicon"). Open the downloaded file and drag GitHub Desktop into your Applications folder.
gh — feel free to skip it
You don't need the gh command line in this course: in step 5 the agent puts your site on GitHub, or you click it through in GitHub Desktop. Just skip the gh repo create … line in step 5.
gh does run on Intel — cli.github.com offers a macOS binary (amd64) as a .zip; put the unpacked gh file into a folder on your PATH yourself. The Brewfile / brew bundle tip doesn't apply on Intel (it needs Homebrew) — list your tools in the repo's README instead. If you want a package manager on Intel anyway, try MacPorts (it has installers for older macOS versions too); this course doesn't need it.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.
"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 Windows Terminal: press the Win key, type Terminal and press Enter. Inside it runs PowerShell — that is where we paste the commands (Ctrl V or a right click). Windows 11 comes with Terminal preinstalled; on Windows 10 get it from the Microsoft Store, or simply open Windows PowerShell instead.
The winget package manager
On a Mac you install tools with Homebrew; on Windows the equivalent is winget (Windows Package Manager) — part of Windows 11 and modern Windows 10. Check that you have it — it should print a version number:
Terminal doesn't know the command? Install App Installer from the Microsoft Store — winget is part of it.
Install a few tools
Now via winget we add git (versioning), gh (GitHub from the command line) and GitHub Desktop (clickable app for git). Paste it into the Terminal and press Enter; if winget asks you to accept terms, answer Y. Running it again is fine — winget only checks (or updates) what you already have:
Then close the Terminal and open it again (so it picks up the newly installed commands) and check that version numbers are printed:
Verified against: package IDs from git-scm.com (Git.Git), the GitHub CLI documentation (GitHub.cli) and the official winget-pkgs catalogue (GitHub.GitHubDesktop), 30 Nov 2026 — we have not run the commands on a real Windows machine.
Brewfile is a JSON file — winget export -o winget.json saves the list of apps and winget import -i winget.json installs them on a new machine. According to git-scm.com the Git.Git package is not maintained by the Git for Windows project itself, so it may lag behind the newest release for a while; for this course that doesn't matter.If Cowork says it is unavailable
Cowork on Windows needs the Virtual Machine Platform feature. Open the Terminal as administrator (Win key → type Terminal → Run as administrator), paste this line and then restart the computer (running it again is harmless):
Still nothing? Check that virtualization (Intel VT-x / AMD-V) is enabled in the computer's firmware settings (BIOS/UEFI) and run the Cowork readiness check. Verified against: Anthropic documentation (claude.com/docs), 30 Nov 2026.
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:
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.
Projects to the left panel of Finder (into "Favorites") — you'll be going there really often, so have it one click away.You will have all your websites nicely together in the folder Projects right in your home folder (%USERPROFILE%, in PowerShell $HOME — both mean C:\Users\your-name). Create it and inside it a folder for this website (safe to run more than once):
Documents or on Desktop — on Windows OneDrive often backs those up and fights with git (conflicts, disappearing files). OneDrive does not sync the Projects folder right in your home folder by default, so it is safe. The command above does it correctly.Projects in File Explorer, right-click it and choose Pin to Quick access — you'll be going there really often, so have it one click away in the left panel.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.
The agent will create the file. Open index.html with a double-click in File Explorer — 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 — right-click the file → Open with → your browser (Edge, Chrome…), or drag it into an open browser window.
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.
- Have the chat write the files. Paste this prompt into the chat (it is already set to your name):
- Download the files. Claude shows each file as its own block with a download button (Download). Download both
index.htmlandREADME.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. - Move them into the project folder. Downloaded files land in your Downloads folder; drag them in Finder into
~/Projects/www-hello-world. Double-clickindex.html— the page opens in your browser. - 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.
- 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.
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):
Do you want to understand it and have insight into the repo? Great — here is what happens under the hood.
What is "commit" and "push" — in human terms. Files on the disk you pack into a package and thereby save their version — a timestamp you can return to at any time. You give the package a short name (commit message) and optionally a description (description). Packing = commit. When you send the package to the cloud to GitHub, it is a push. (Download back = pull.)
And branches: the live version of the website lives in the main branch main; you safely test a new thing on a separate branch and when finished you join it back with the command merge. Detailed in the manual Git & GitHub.
⌘ ⇧ . (dot) — Finder will show hidden files. There are none there right now. Once you make it a git (commit / Publish in the next step), press ⌘ ⇧ . again — a hidden folder will appear .git. That is exactly what makes an ordinary folder a repository — it holds the entire version history inside. (You can hide the hidden files again with the same shortcut.).git appears. That is exactly what makes an ordinary folder a repository — it holds the entire version history inside. (Hide hidden items again with the same option.)How to do it manually — from the fastest:
- Via the command line (one command):
Intel Mac withoutgh? Skip this one and use GitHub Desktop (option 3). - Eventually via your own skill built on top of that command — you name it once and then just call it.
- Clickable app GitHub Desktop (if you want a GUI): log in → File → Add Local Repository → select
~/Projects/www-hello-world→ write the version name, Commit, then Publish repository (feel free to use Private).
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):
Do you want to understand it and click through it? The principle: as soon as there is a new version on GitHub, Cloudflare will build and expose it itself.
Pages (or Create application) — that will lead you to the goal even after a rename. And if it doesn't fit on the first try, don't delay and return to the path "let the agent do it" above — interface changes don't affect it.- In the Cloudflare dashboard find Workers & Pages (in the newer interface Compute / Workers) and click Create / Create application.
- Choose connection to Git — depending on the interface version it will be Pages → Connect to Git, or Import a repository. You will log in to GitHub (you log in yourself, you enter the password yourself).
- Select the repository
www-hello-world. Leave the build settings empty (pure HTML, output folder = repository root) and click Save and Deploy. - In a moment you will get a live address like
www-hello-world.pages.dev.
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.
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:
- a different background color and font color;
- in the footer the page version and build date — so you can see with your own eyes that the website really rebuilt;
- 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:
- "Add a small clock showing the current time."
- "Add a little icon next to the heading."
- "Add a little sun drawn in the corner."
- "Set this photo from my album as the background" (drag a photo into Cowork first).
- "Lay the title over the photo so it stays readable."
- "Add a light/dark toggle" — or a with-photo / without-photo switch.
- "Change the font to something cleaner / more playful."
- "Re-tune the whole colour palette — try luxury gold, or technical blue." One sentence, and the whole site changes mood.
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.
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:
- the naked domain —
mydomain.com(this is called the apex); - 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.
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.
.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.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:
- The browser-tab text — the words you see in the little tab at the top of the browser (we call it the text "in the browser's ear"). It's the
<title>tag. Empty or wrong, and your tab just says index.html — not great. - Favicons for every browser — the tiny icon next to that tab text, and the icon when someone saves your site to their phone's home screen. Done properly it's not one file but a small set:
favicon.svg,favicon.ico(sizes="any"),apple-touch-icon.pngat 180×180, asite.webmanifest(with 192 and 512 px icons) and a<meta name="theme-color">. Together these cover desktop tabs, Safari, and the mobile home screen. - Share preview — when you paste your link into a chat, message or social post, it should "unfurl" into a nice card with a title, a description and an image, instead of a naked URL. That's OpenGraph (
og:title,og:description,og:type,og:url,og:imageat 1200×630 px +og:image:alt) plus a Twitter card (twitter:card=summary_large_imagewith title, description and image). - Discoverability — so search engines and AI assistants understand your site:
<link rel="canonical">(the one main address from step 7),robots.txt,llms.txt(a plain-text summary so AI tools "get" your site too) andsitemap.xml(a map of your pages).
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):
- type the naked domain in the browser — it loads;
- type
www.in front — it should bounce you to the naked one; - paste the link into a chat (message yourself) — a preview card with title, text and image should pop up;
- look at the browser tab — your title and your little icon are there.
- 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.
(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.)