Content Factory
Building a content factory from scratch: architecture, automation, cost, rework and failures. A numbered series.
Content Factory documents how a self-hosted content system gets built: directory layout, guards, ports and cost.
Real numbers, real rework. Approaches that failed stay here so they are not repeated.
| If you | Start with |
|---|---|
| Cost accounting | 35 days of real numbers |
| Architecture | Directories as architecture |
| Deploy and roll back | Publishing with rollback |
- Devlog 009: Rerunning a 9-Locale Translation Batch
Translation batches rarely overspend on unit price. They overspend on paid retries and missing ledger rows. Three ledger fixes that made a $0.30 cap hold.
- A noindex draft page that 45 pages still linked to
noindex stops indexing, not access. A nine-locale site had 45 pages linking a draft manual, and its draft list was public. Here is the three-layer fix.
- Devlog 007: Upload Everything, Then Flip One Pointer
Upload the whole new release, then flip one pointer, and no visitor sees a half-updated page. Rollback flips it back. One real release: 14 files, 113,376 bytes.
- Devlog 006: Thirteen Build Steps, Three First
A 13-step launch chain shipped three steps first. A 145-line runner tested the state machine, idempotency keys and budget gate before adding the rest.
- Devlog 005: Nine Languages, 153 Pages, Fifteen Indexable
Nine language versions went live with 153 pages. Only 15 English URLs sit in the sitemap; the rest wait behind noindex until a person reviews each page.
- Devlog 004: 17 Pages Rebuilt the Day Before Launch
The preview homepage sold HVAC controls. The boxes held thermostats for fryers. We rebuilt 17 pages, kept old URLs with 301s, and switched by pointer.
- Dev Log #002: Treating the Directory as the Architecture
Architecture is not a diagram: it is directories, guards, ports and contracts. How a 1+6+1 skeleton was frozen, and what a behaviour-neutral refactor tests.
- Dev Log #001: Building a Content Factory in 35 Days
35 days, 620 commits, 18 active days, about USD 25/month in model calls. In-house is not about saving money, it is about control. Three incidents included.
FAQ
What does a content factory cost?
Compute is negligible. Model calls dominate: ten pages a day at two to five mills per page is tens of dollars a month. Labour is separate.
Why not use an off-the-shelf writing tool?
It produces drafts but not cost structure, failure reasons or a rollback path. Running several content lines requires all three.
What is the minimum viable version?
One directory convention, one build command, one deploy script, one rollback point. Automate after those exist.