Claude Code makes me a page in minutes. Then sharing it used to take longer than building it. Now I run one command and choose one word: internal, client or public. Each word is a door with its own sign-in. In three days I published eleven times that way.
Most of what I make with Claude Code ends up as a single HTML page: a plan, a comparison, a report, a list. Building one takes a few minutes. Then the slow part starts. An email attachment opens badly on a phone and goes stale the moment I change anything. A public link is fine for an episode like this one, but not for a client’s numbers or my own drafts. A password page is a shared secret, and shared secrets leak. Setting up a real login by hand, for every page and every person, is a job of its own. So the question was not how to host a page. It was how to hand someone a link that opens for them and nobody else, without doing hosting work every time.
Behind it is one private repo and one command. In Claude Code I type /pl with a file and a word (or /pli, which always means internal). The publish script copies the page into the folder that matches the word, adds a short random suffix so the address cannot be guessed, commits and pushes. The share site rebuilds from that repo by itself. Each folder is guarded by its own Cloudflare Access rule, so before a single byte of the page is served, the visitor has to sign in. On internal and client doors their address is checked against that folder’s list; public admits any address that receives the code. The three doors: internal is mine, for drafts and plans. Each client has a folder named after them, with a Google sign-in and a list of named people. Public is for the one-off reader I have no Google address for: they get a one-time code by email instead. Every page gets the same address shape: the share site, the door, the page name, the suffix.
Between 5 and 7 November the share repo got eleven publish commits: eight through the internal door, one through a client door, two through the public door. The pages were ordinary work: three copies of a plan, a tool comparison, a list of use cases, three publishes of a study for client A, a one-page guide, a report example and a private list. Two of them show what the word is for. The study for client A went out through the internal door at 16:46. At 17:14 the same page went out through the client door, with the same command and one word changed. The next morning I put a second version next to the first on the client’s link, under tabs. Fifty minutes later I moved that tabbed version to my internal link and put the client’s page back the way they had first seen it. The client’s link never changed address while that happened.
On 7 November a report example went out through the internal door at 10:09. A second version followed at 15:24, and at 15:37 I took it down again: it belonged in the client’s own folder, not mine. The door did its job, since only my own sign-in could ever open that link. The removal was one commit, 180 lines deleted. That evening the same link came back into use for a new report, which then refreshed every hour. Here is the honest part. My setup notes record that on this kind of hosting, a deleted file can come back: the build cache can put an old file into a new deployment. The sure way to kill a page is to overwrite it with a stub, or clear the cache. Two more lessons from the notes. A client folder with no Access rule is open to everyone the moment it is pushed, so the door must exist before the first page. And preview links skipped the gate until one setting was switched on. The gate catches a lot. It does not replace looking.
Each picture is a mockup of a real part of the setup. Client names, addresses and the real domain are replaced with generic ones on purpose. Tap any image to enlarge it.




Before, finishing a page meant finishing it and then working out how to get it to someone. Now the last line of the job is the share. Who is it for: me, a client, or someone I only know by email? That one word picks the folder and the sign-in, and the link comes back in the same reply as the page. Eleven times in three days, and the hardest part each time was the thinking about who should see it, which is the part that should be hard. Sharing stopped being a step. It became part of finishing the page.
Eleven publishes in three days, each one behind the right sign-in, chosen with one word. Under a minute.
The idea fits any static host that can put a sign-in in front of a path. One private repo, one folder per audience, one sign-in rule per folder, and one publish script that takes the audience as a word. The rule that matters most: make the door before you put a page behind it. Everything in this episode is free and open. The code is not published yet.
# repo soon. The shape: /pl <file> <internal|client|public> → copy to <door>/<name>-<suffix>/ → git commit + push → host rebuilds → sign-in rule on /<door>/ checks the list (public: any address with the code) → link back in the reply