04 — Methods / Blog
Claude Code + GitHub + Cloudflare Pages — free and fully no-code
This website (yamarice.pages.dev) was built without writing a single line of HTML by hand. Using Claude Code — an AI coding assistant available through Claude Desktop — everything from initial creation to ongoing updates is handled by simply describing what you want in plain language. Files are managed on GitHub and hosted automatically via Cloudflare Pages, with no frameworks or monthly fees required. This guide walks you through the entire process from scratch.
First, create a folder on your computer for the website (e.g., a folder called website on your Desktop). Then open Claude Desktop and click the "Code" tab at the top — this activates Claude Code.
Desktop/website)Once connected, just describe what you want in plain English — no HTML or coding knowledge needed.
"Please build a researcher portfolio website using HTML, CSS, and JavaScript. My name is Jane Smith, and I am an Assistant Professor at Example University. Include sections for About, Publications, and Links, with a clean, mobile-friendly design. Save the files as index.html, style.css, and script.js in this folder."
Claude Code will generate all the files directly inside the connected folder. To make changes, just describe what you want: "Change the header color to dark green" or "Add a new publication" — Claude Code handles the rest.
Claude Code reads and writes files directly, so you never need to open a text editor. You can also ask it to "review the current site" at any time and it will read all the files and give you a full overview.
What is GitHub?
GitHub is a cloud service for storing and managing files — think of it as "Google Drive for code." It keeps a full history of every change you make, and when connected to Cloudflare Pages, it automatically publishes your site whenever you send new files.
A repository is your project folder on GitHub — it corresponds one-to-one with the local folder you created in Step 1.
my-website — letters, numbers, and hyphens only)The repository name does not affect your site's URL. Cloudflare Pages will generate a separate URL for you.
What is GitHub Desktop?
GitHub Desktop is an app that lets you send files to GitHub using buttons — no command-line knowledge needed. Download and install it from desktop.github.com.
Commit: Recording your changes as a snapshot — like creating a save point in a game.
Push: Sending those recorded changes up to GitHub (the cloud) — like syncing to the cloud.
Initial commit)Open github.com in your browser and you should see your files uploaded to your repository. Your local folder and GitHub are now in sync.
Connect your GitHub repository to Cloudflare Pages to publish the site automatically.
Deployment completes in about 30 seconds. You will receive a URL like your-project.pages.dev — that is your live website.
From this point on, every push to GitHub automatically triggers a new deployment. No manual action needed.
Once your site is live, all future updates follow the same no-code workflow — just describe the change to Claude Code, then push.
"Add a new publication to the Publications section. Title: ○○, Journal: △△, DOI: ××."
"Update the About section to say the following: …"
"Apply the same changes to the English version of the page."
After Claude Code edits the files, commit and push with GitHub Desktop:
Add new publication)You can monitor deployment progress in the Cloudflare Pages dashboard (dash.cloudflare.com). A "Success" status means your changes are live.
A newly published site is not immediately visible on Google. The following steps help Google discover and index your pages sooner.
<title> and <meta name="description"> tags in the <head> of each pageOnce indexed, searching your name on Google should bring your site to the top of the results.