Repository navigation
Generate the GitHub profile README from the site - #4
Merged
Merged
Conversation
profile/build.js reads identity from the JSON-LD and the claim, topics, Mandoria headline, companies and contact from index.html, and fills profile/README.template.md, which holds the GitHub-specific copy. Extraction fails loudly on missing or duplicated structure, and the output is checked for em dashes and all-caps lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The claim becomes an SVG with Gabarito and Caveat Brush embedded, the CarBo logo and colours read from the site.css tokens, in a light and a dark version. The line breaks after the claim's first comma; a claim without one fails the build instead of guessing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Builds first, then mirrors README.md and assets/ into the profile repo with rsync --delete and commits only when something changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
validate runs profile/build.js so extraction breakage fails the PR. The Pages artifact and the byte budget skip profile/ and the local build/ output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Header variant B (SVG header, no portrait) and the role line from the JSON-LD are now fixed; the preview-only --header and --role switches are gone. The tagline moves into the header SVG in Space Mono on the site's --signal yellow, sized exactly because the font is monospaced. It stays template copy, carried as a directive comment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The header displays at 560px instead of the full README width, so the claim reads about as large as a heading. The tagline grows to 18px in the SVG to stay legible at that scale, and the SVG widens to fit it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub Markdown allows neither background nor text colour, so the tagline becomes a link to the site's topics section, which GitHub shows in its link blue. The header SVG shrinks back to logo, name and claim, and no longer embeds Space Mono. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generates the profile README for
carstenb/carstenbfrom this site and publishes it with an Action. The profile repo becomes build output only.What it does
profile/build.jstakes identity from the JSON-LD and the claim, topics, Mandoria headline, companies and contact fromindex.html, and fillsprofile/README.template.md, which holds the GitHub-specific copy.validatenow runs the build, so a markup change that breaks it fails on the PR.sync-profile-readme.ymlbuilds on merge (only when an input changed) and mirrorsREADME.md+assets/intocarstenb/carstenbwithrsync --delete. It commits only when something changed.profile/andbuild/stay out of the Pages artifact and the byte budget.Before merging
PROFILE_REPO_TOKEN: a fine-grained token forcarstenb/carstenbonly, Contents: Read and write.Verified locally
npm run checkpasses.05.🤖 Generated with Claude Code