A modern website comes down to two core pieces: a repository that holds the code (on GitHub) and hosting that runs it. Point your domain at the hosting, connect an AI assistant like Claude or ChatGPT to the repository, and every change, from a new page to a typo fix, can be made by simply asking. No page builder, no plugins to update, no waiting days for a developer to find time.
This is how we now build and run every website at Flow Digital, including this one. Below is how it fits together, how it handles access and safety, why we've moved away from WordPress, and the steps to set it up yourself.
The two core pieces: the repo and the hosting
The repo (short for repository) is a folder of your website's code that lives on GitHub. It keeps every version of every file, who changed it, and when. If something goes wrong, you go back to yesterday's version in one step. Think of it as the master copy of your website.
The hosting is the server that turns that code into a live website. Good hosts connect straight to GitHub, so whenever the code changes, the live site updates on its own, usually within a minute. Hostinger, Vercel, Netlify and Cloudflare Pages all work this way.
Keeping the two separate is the whole point. Your code isn't trapped inside a hosting account or a page builder. You can change host, change agency or bring the work in-house, and the website comes with you.
Pointing your domain
Your domain (yourbusiness.com) is just a signpost. You tell it where the hosting is by updating a couple of DNS records at whoever you bought the domain from, and the host sets up the security certificate (the padlock, HTTPS) for you. It's a one-time job. After that, the domain, the repo and the hosting each do their own thing.
Connecting AI to the repo
This is the part that changes everything. Claude and ChatGPT can both connect to GitHub. Once you give them access to your site's repo, they can read the code, make changes and save them back, exactly like a developer would.
So instead of logging into a dashboard or emailing a developer, you write something like "add a new team member to the About page with this photo and bio" or "make the booking button bigger on mobile". The AI makes the change, you check it, and it goes live.
The best part: you can leave instructions in the repo itself (a simple text file with your brand colours, tone of voice and rules, such as "never use stock photos of handshakes"). The AI reads it every time, so it keeps to your brand without you repeating yourself.
How a change goes live
- Ask. Describe the change in plain English, with screenshots or files if useful.
- AI edits a safe copy. The change is made on a separate copy of the code (a branch), not on the live site.
- Preview. The copy is published to a staging link so you can see it exactly as it will look.
- Approve. Happy with it? Approve it and it's merged into the main version.
- Live. The hosting picks it up and the change is live, usually within a minute.
If something isn't right, every version is kept. Going back takes one step, not a restore from last month's backup.
Sharing access: your team, your client and handovers
Everything lives in a GitHub organisation (a shared company account). Everyone who needs access gets their own login and the right level: some can only view, some can make changes, one or two people own it. Nobody shares a password, and removing someone takes seconds.
- Your team can make changes themselves or through AI, and every edit is signed with their name.
- Clients can be given view access to follow along, or full admin if they want it.
- AI assistants only get access to the repos you choose, never your whole account.
- Handovers are simple. If a client wants to take the site over, the repository can be transferred to their own GitHub account with its full history. They reconnect the hosting, and that's it.
Is it safe?
Safer than most setups we inherit. Here's why:
- Full history. Every change is recorded and reversible. Nothing is ever silently overwritten.
- Nothing goes live unchecked. You can require that every change is reviewed and approved before it reaches the live site.
- Far less to attack. A coded site has no admin login page for bots to hammer and no plugins with security holes. For most business sites there's no database to break into at all.
- Passwords stay out of the code. API keys and passwords are stored in the hosting or GitHub's secure settings, not in the files.
- Two-step login everywhere. Switch it on for GitHub, the hosting and the domain registrar.
- AI is supervised. It works on a copy, and a person approves what goes live.
Why not WordPress?
WordPress powered the last era of the web, and it still has its place. But it was built for people clicking around a dashboard, not for AI working on code. We've written about this in more detail in why we're moving away from WordPress. The short version:
| Repo and hosting | WordPress | |
|---|---|---|
| Making changes | Ask AI in plain English, preview, approve | Log into the dashboard, find the right plugin or page builder setting |
| Upkeep | Almost none, no plugins to update | Regular core, theme and plugin updates |
| Security | No admin login or plugins to exploit | A common target, especially with outdated plugins |
| Speed | Fast by default | Often slowed down by plugins and page builders |
| History | Every version kept, one-step undo | Depends on backups and plugins |
| Moving it | Transfer the repo, point the hosting | Export, import and hope everything comes across |
When this isn't the right setup
To be fair, it's not for every site. A large online shop is usually better on a dedicated platform like Shopify, and a newsroom publishing ten articles a day with a big editorial team may still want a traditional content system. For most business websites, though, the kind with services, a portfolio, a blog and enquiry forms, this setup is faster, safer and much easier to keep up to date.
Setting it up: the steps
Here's the full process, start to finish. It's written so you can follow it with your team.
- Create a GitHub organisation for the business. Use a company email address, switch on two-step login, and add the people who need access with the right level.
- Create the repo for the website. One repo per site. Make it private.
- Add the website code. Start from an existing site, a template, or have AI build the first version from your brief, brand and content.
- Write the instructions file. Add a short file to the repo with your brand rules, tone of voice, colours, fonts and anything the AI should always or never do.
- Set up the hosting. Create the hosting account in the business's name, connect it to the GitHub repo, and turn on automatic deploys from the main branch.
- Add a staging site. Connect a second branch (or the host's preview feature) to a staging link, so changes can be checked before they go live.
- Point the domain. At your domain registrar, update the DNS records your host gives you. Confirm the padlock (HTTPS) shows on the live site.
- Protect the main branch. In the repo's settings, require changes to go through a review before they reach the live site.
- Connect your AI. In Claude or ChatGPT, connect GitHub and give access to this repo only.
- Make a test change. Ask for something small, check it on staging, approve it, and confirm it appears on the live site.
- Write down how to do it. Add a short README covering where it's hosted, how deploys work and who to ask. Future you, and future team members, will thank you.
The quick checklist
- GitHub organisation in the business's name, two-step login on
- One private repo per website
- Instructions file with brand rules for the AI
- Hosting connected to the repo with automatic deploys
- Staging link for checking changes
- Domain pointed at the hosting, HTTPS working
- Main branch protected, changes reviewed before going live
- AI connected to that repo only
- README with how it all works
Want the whole thing as a PDF to walk your team through it? Grab it below. Or if you'd rather we set it up for you, from the repo and hosting to the AI connection, let's talk.
The AI-era website setup guide
- The full guide with diagrams and the step-by-step setup (PDF)
Ardjuna founded Flow Digital, a marketing agency in Bali that runs websites, ads, SEO and email for businesses in Asia, Australia and Europe. He also built Metrcs, the software the agency runs on.
