r/SideProject • u/Assassin2201 • Jun 15 '26
No coding background, built a real static HTML/CSS/JS site with Claude — looking for advice on streamlining my publishing workflow
https://figuringoutpharma.com/Hey everyone. I am from a healthcare background and I have 0 coding knowledge as a passion project over the last few weeks I've been working with Claude to build an editorial blog called figuringoutpharma.com. It's a fully static site — plain HTML, CSS, and vanilla JS. No CMS, no frameworks, no paid tools.
How it actually works:
The whole site lives in a GitHub repo, which I manage through GitHub Desktop (no command line). It's hosted on Cloudflare Pages on the free tier, which auto-deploys every time I push to GitHub — so "publishing" just means committing and pushing.
Each article is its own standalone HTML file with all its CSS inlined, so every page is self-contained. There's an articles.json file that the blog listing page and homepage fetch from to render article cards dynamically, and a sitemap.xml for Google. The homepage has several sections (Featured, Latest, an "In Depth" scroll strip, and an "Also Reading" sidebar) that all pull from or reference specific articles.
I do all the editing in VS Code, mostly using Ctrl+H (Find and Replace) with exact before/after snippets that Claude writes for me, since I can't reliably edit raw code myself.
The part I want advice on — my publishing workflow:
Every time I publish a new article, I have to manually touch around 5 different files:
The new article's HTML file itself
articles.json — add a new entry at the top
sitemap.xml — add a new URL block
index.html — three separate homepage sections need updating/rotating (the newest article pushes older ones down, and the one that drops off "Latest" moves into "Also Reading")
Go back into 1-2 existing articles and update their "Related Articles" links to point to the new piece
Claude gives me exact find/replace pairs for all of this and it works, but it's still a 30-45 minute manual process every time, and the homepage rotation logic especially is easy to mess up.
What I'm hoping to get advice on:
Is there a smarter way to manage this without moving to a CMS or paying for anything? Part of the point of this project was learning about SEO and not spending a lot of money, also I made the entire thing on claude's free tier
Would some kind of build step (that still outputs to plain HTML/CSS so Cloudflare Pages can serve it as-is) make sense for someone with no dev background?
Has anyone automated something similar — a script that updates JSON/sitemap/homepage cards in one go from a single input?
TL;DR: No-code background, built a static HTML/CSS/JS pharma blog with AI help, hosted free on Cloudflare Pages via GitHub. Every new article means manually editing ~5 files (article HTML, articles.json, sitemap.xml, 3 homepage sections, related-article links elsewhere). Looking for ways to cut that down while staying free and static.
1
u/Successful_Summer158 Jun 15 '26
Hey, you're at that painful stage where automation pays off fast. Instead of editing 5 files by hand, ask Claude to write a simple script that reads your article markdown and auto-updates articles.json + sitemap. Even a basic Node.js script that scans a folder and regenerates those files would save you tons of time. Keep it in your repo, run it before each push. No frameworks, still static, just one command.
2
u/Assassin2201 Jun 16 '26
Interesting, what would be better: a Node.js script or a Python script for this?
1
u/Successful_Summer158 Jun 16 '26
Node would be the simplest since you're already working with JS/HTML. A quick script that scans a folder and updates your JSON and sitemap can be done in 10 lines. Python works too but adds another language to your stack for no real gain here.
1
1
Jun 15 '26
[removed] — view removed comment
1
u/Assassin2201 Jun 16 '26
Will it follow the same template that I have created, or do I need to make a new template for articles in the cms?
1
u/Arnovda Jun 15 '26
There are things like jekyll which convert markdown files into html, but they only go so far. They won't edit your articles.json, sitemap, and the other places. Honestly I just recommend a CMS, might be more expensive, but at least its way more dynamic than manual html. Theres a reason why people dont do pure html anymore haha