Repository navigation
Description
Noticed while designing the repo-docs / wiki split (see the wiki page Home for the rule that governs what lives where). The per-image READMEs have drifted apart in two ways.
1. Heading style is inconsistent
| README | Style |
|---|---|
bun |
plain (## Features, ## Usage) |
claude-bun |
plain |
claude-code |
plain |
ralphex-fe |
plain |
hugo-bun |
emoji (## 🌟 Features, ## 🚀 Usage, ## 📄 License) |
hugo-bun-node |
emoji |
Four plain, two emoji. The root README.md also uses one (## 📚 Image Documentation).
Pick one and apply it. Plain is the majority and reads better in a terminal, grep, and the GitHub file list — but either is fine as long as it's a rule.
2. Boilerplate is near-duplicated across five files
These sections say close to the same thing in multiple READMEs, with the drift that implies:
Multiplatform Support— identicallinux/amd64/linux/arm64list inbun,hugo-bun,hugo-bun-node,claude-codeBuilding the Image— the samedocker buildx build --platform ...block with different tagsImage Tags/Version Information— different section names for the same conceptLicense,Contributing— boilerplate inbun,hugo-bun,hugo-bun-nodeonly
Proposal
Two options, either acceptable:
a. Normalize in place. Same section order and heading style in every per-image README, boilerplate worded identically. Duplication stays, but at least it's consistent duplication and each README remains self-contained — which is the property that makes it correct to keep them versioned next to their Dockerfile.
b. Hoist the shared parts. Move Multiplatform Support, the generic build instructions, License and Contributing to the root README.md (or a wiki page) and have each per-image README link to it, keeping only what is genuinely image-specific.
I'd lean (a). A per-image README that is self-contained survives being read in isolation on the ghcr package page or in a vendored copy, and the duplication here is a few paragraphs, not a maintenance burden worth an indirection.
Note the cross-image tag scheme difference is real and not drift, so don't "fix" it by forcing the READMEs to match each other:
| Image | Second tag alongside latest |
|---|---|
bun |
bun<BUN>-alpine |
claude-bun |
bun<BUN>-slim |
hugo-bun |
hugo<HUGO>-bun<BUN>-alpine |
hugo-bun-node |
hugo<HUGO>-bun<BUN>-node<NODE>-alpine |
ralphex-fe |
bun<BUN>-hugo<HUGO> |
claude-code, claude-code-sandbox |
<git-sha> and <YYYYMMDD> — no composed version tag |
claude-code is the odd one out because projects pin their own tool versions via .mise.toml, so a composed version tag would be meaningless. That difference is explained on the wiki's Image Tags and Rebuild Policy page; each README should stay accurate to its own scheme.
Out of scope
Content accuracy. This is about structure and style only.
Activity