Display README title as primary heading with repo slug as subtitle #22
+42
−12
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.
Repository slugs are acronym-heavy and difficult to scan. Cards now display the first H1 from each repo's README as the primary title, with the slug as a monospace subtitle.
Changes
Workflow: Modified
.github/workflows/refresh-data.ymlto fetch README content and extract first H1 heading intoreadmeTitlefield# Titleand#TitleformatsType system: Extended
Repositoryinterface withreadmeTitle?: string | nullinsrc/utils/categorize.tsUI: Updated
RepoCard.astroto prioritize README title over slugreadmeTitle(line-clamp-2, semibold)repo.name(10px, monospace, gray-400)Result
Cards now show "IP Atlas - Repository Catalog" instead of "devexpgbb.github.io", with the slug visible as context. Next scheduled data refresh will populate titles for all repos.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
telemetry.astro.build/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/devexpgbb.github.io/devexpgbb.github.io/node_modules/.bin/../astro/astro.js build(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/devexpgbb.github.io/devexpgbb.github.io/node_modules/.bin/../astro/astro.js preview --host 0.0.0.0 --port 4321(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.