Skip to content

[codex] Add site sharing metadata#1

Closed
Radical-Coder wants to merge 2 commits into
mainfrom
codex/site-distribution-metadata
Closed

[codex] Add site sharing metadata#1
Radical-Coder wants to merge 2 commits into
mainfrom
codex/site-distribution-metadata

Conversation

@Radical-Coder

@Radical-Coder Radical-Coder commented Jun 16, 2026

Copy link
Copy Markdown
Owner

What changed

Adds public sharing/discovery metadata for radical.codes:

  • canonical URL and author metadata
  • Open Graph and Twitter Card tags
  • PNG social preview image, plus the source SVG
  • web manifest
  • robots.txt and sitemap.xml

Why

The site is becoming the central public hub for Ryan's GitHub, Upwork, and proposal profile. Links should unfurl with the same positioning the site already leads with: app rescue, production readiness, workflow automation, and dependable software.

Validation

  • npm run build
  • Confirmed Vite copies the static assets from public/ into dist/

Summary by CodeRabbit

  • Chores
    • Enhanced social media sharing metadata with updated Open Graph and Twitter card tags.
    • Added search engine optimization support through robots.txt and XML sitemap configuration.
    • Configured web app manifest for improved app branding and installation experience.

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Adds SEO and discoverability metadata to the site: index.html gains a canonical link plus expanded Open Graph and Twitter card tags; three new public files are introduced — robots.txt for crawler rules, sitemap.xml with a single root URL entry, and site.webmanifest with app identity and theme fields.

Changes

SEO & Discoverability Setup

Layer / File(s) Summary
HTML head: canonical link and social meta tags
index.html
Adds a canonical <link>, updates og:url (with trailing slash), og:site_name, og:image with width/height/alt, and sets twitter:title, twitter:description, and twitter:image tags.
Public crawler and PWA discovery files
public/sitemap.xml, public/robots.txt, public/site.webmanifest
Introduces sitemap.xml with a single root URL entry (lastmod: 2026-06-16, changefreq: weekly, priority: 1.0); robots.txt allows all crawlers and references the sitemap; site.webmanifest defines app name, short name, description, start_url, display, background_color, and theme_color.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐇 Hop hop, the crawlers now know the way,
A sitemap and manifest brighten the day!
Open Graph blooms with an image so fine,
Twitter cards twinkle along every line.
The robots bow low and allow every guest —
radical.codes is now indexed the best! 🌟

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Add site sharing metadata' directly and clearly describes the main changes: adding Open Graph, Twitter Card tags, web manifest, robots.txt, and sitemap.xml for site sharing and discovery.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/site-distribution-metadata

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Note

Unit test generation is a public access feature. Expect some limitations and changes as we gather feedback and continue to improve it.


Generating unit tests... This may take up to 20 minutes.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds SEO and social sharing/discovery metadata for radical.codes so links unfurl correctly and crawlers can discover the site’s canonical URL and basic indexing resources.

Changes:

  • Added canonical + author metadata, plus Open Graph and Twitter Card tags to index.html.
  • Added a sitemap and robots policy under public/ for crawler discovery.
  • Added a web app manifest and social preview assets (og-image.svg and og-image.png) under public/.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
index.html Adds canonical URL, author, Open Graph, Twitter Card tags, and links the web manifest.
public/sitemap.xml Introduces a basic sitemap for the site root URL.
public/robots.txt Allows crawling and points crawlers at the sitemap.
public/site.webmanifest Adds a basic web manifest for the site.
public/og-image.svg Adds an accessible SVG source for the social preview image.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

✅ Created PR with unit tests: #10

@Radical-Coder Radical-Coder marked this pull request as ready for review June 16, 2026 16:38

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@public/site.webmanifest`:
- Around line 1-9: The web app manifest in site.webmanifest is missing the
required `icons` array property, which prevents proper browser installation
prompts and icon rendering. Add an `icons` array property to the manifest JSON
object containing one or more icon definitions, where each icon object specifies
a `src` path to an icon image file, the `sizes` it represents (such as 192x192
or 512x512), and the `type` indicating the image format (such as image/png).
This completes the manifest contract and enables browsers to display the
appropriate icons during installation and app launch.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: dbc0f12c-3a3a-43c1-939c-13969eab9650

📥 Commits

Reviewing files that changed from the base of the PR and between 17c71fc and 8e2051b.

⛔ Files ignored due to path filters (2)
  • public/og-image.png is excluded by !**/*.png
  • public/og-image.svg is excluded by !**/*.svg
📒 Files selected for processing (4)
  • index.html
  • public/robots.txt
  • public/site.webmanifest
  • public/sitemap.xml

Comment thread public/site.webmanifest
Comment on lines +1 to +9
{
"name": "radical.codes",
"short_name": "radical.codes",
"description": "Ryan Gonyon's public proof surface for app rescue, production readiness, workflow automation, and dependable software systems.",
"start_url": "/",
"display": "minimal-ui",
"background_color": "#f8f8f4",
"theme_color": "#000000"
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Add icons to complete the web app manifest contract.

On Line 1-9, the manifest omits the icons array. That leaves install identity incomplete and can prevent proper install prompts/icon rendering in browsers.

Proposed patch
 {
   "name": "radical.codes",
   "short_name": "radical.codes",
   "description": "Ryan Gonyon's public proof surface for app rescue, production readiness, workflow automation, and dependable software systems.",
   "start_url": "/",
   "display": "minimal-ui",
+  "icons": [
+    {
+      "src": "/icon-192.png",
+      "sizes": "192x192",
+      "type": "image/png"
+    },
+    {
+      "src": "/icon-512.png",
+      "sizes": "512x512",
+      "type": "image/png"
+    }
+  ],
   "background_color": "`#f8f8f4`",
   "theme_color": "`#000000`"
 }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
{
"name": "radical.codes",
"short_name": "radical.codes",
"description": "Ryan Gonyon's public proof surface for app rescue, production readiness, workflow automation, and dependable software systems.",
"start_url": "/",
"display": "minimal-ui",
"background_color": "#f8f8f4",
"theme_color": "#000000"
}
{
"name": "radical.codes",
"short_name": "radical.codes",
"description": "Ryan Gonyon's public proof surface for app rescue, production readiness, workflow automation, and dependable software systems.",
"start_url": "/",
"display": "minimal-ui",
"icons": [
{
"src": "/icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icon-512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"background_color": "`#f8f8f4`",
"theme_color": "`#000000`"
}
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@public/site.webmanifest` around lines 1 - 9, The web app manifest in
site.webmanifest is missing the required `icons` array property, which prevents
proper browser installation prompts and icon rendering. Add an `icons` array
property to the manifest JSON object containing one or more icon definitions,
where each icon object specifies a `src` path to an icon image file, the `sizes`
it represents (such as 192x192 or 512x512), and the `type` indicating the image
format (such as image/png). This completes the manifest contract and enables
browsers to display the appropriate icons during installation and app launch.

@Radical-Coder

Copy link
Copy Markdown
Owner Author

Closing as superseded by #14. The durable sharing/discovery pieces from this PR have been adapted into the survivor branch with the current two-page site direction: manifest, robots, sitemap, canonical/social metadata, and JSON-LD. Keeping this closed avoids merging the older index.html state back over the new site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants