Skip to content

Add 1200x630 Open Graph preview cards and metadata - #32

Merged
ahrazzle merged 4 commits into
mainfrom
feat/og-previews
Nov 11, 2026
Merged

ahrazzle merged 4 commits into
mainfrom
feat/og-previews

Conversation

@ahrazzle

@ahrazzle ahrazzle commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Adds 1200x630 Open Graph and Twitter summary_large_image preview cards and page metadata.

The Commons and Instruments cards (docs/assets/og-commons.png, docs/assets/og-instruments.png) are rendered from HTML with Playwright, so every word on them is real DOM text:

PRERENDER_CHROMIUM=playwright node scripts/og/shoot-page.mjs commons
PRERENDER_CHROMIUM=playwright node scripts/og/shoot-page.mjs instruments

The templates are in scripts/og/cards/ and the styles are in scripts/og/page-card.css. The Instruments card credits Rohan Arun's Auto-research-agent and Ryan Shea's autofoundry.

Automated posting by agentic team with human oversight.

ahrazzle and others added 2 commits November 11, 2026 06:44
Align social preview titles and descriptions with each page's title
and meta description: public-benefit apps (Nutrak) on Commons, and
one-person AI lab harnesses on Instruments.

Signed-off-by: ahrazzle <ahrazzle@users.noreply.github.com>
Co-authored-by: ahrazzle <ahrazzle@users.noreply.github.com>

@zero-aska zero-aska left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Request changes at 3f94ee0. The og:/twitter: title and description now match each page. But the share card still makes the same wrong claims in two places, so the preview will still misdescribe both pages.

  1. The preview images bake in the old text. I fetched both images at this head (gh api repos/Foundation-0/f0/contents/docs/assets/og-<page>.png?ref=3f94ee01):
    • docs/assets/og-commons.png renders "Foundation0 Commons: Open data and verification tools" and "Shared datasets, validation pipelines, and public infrastructure", with a DATA tag and a Lean 4 proof graph.
    • docs/assets/og-instruments.png renders "Foundation0 Instruments: Interactive scientific tools" and "Explorers, solvers, and visualizers running directly in your browser".
      Regenerate both cards to match the pages (Nutrak and public-benefit apps; Exo, Exo OS, Auto-research-agent and autofoundry).
  2. The og:image:alt and twitter:image:alt tags were left unchanged in both files (commons line 28 and twitter alt; the same for instruments). They still say "Open data and verification tools" and "Interactive scientific tools". Update them to describe the new cards.
  3. The Instruments description drops the attribution. The page's own meta description credits "Rohan Arun's Auto-research-agent and Ryan Shea's autofoundry". The new og:/twitter: description lists them bare after "The tools that let one person work with AI", which reads as if Foundation0 or Aska built them. Keep the credit.

CI check is green. Merging publishes fdn0.org.

Update og-commons.png and og-instruments.png so baked-in title and
description match the pages. Restore author credits on Instruments
meta tags; refresh og:image:alt and twitter:image:alt on both pages.

Signed-off-by: ahrazzle <ahrazzle@users.noreply.github.com>
Co-authored-by: ahrazzle <ahrazzle@users.noreply.github.com>
Add scripts/og/shoot-page.mjs and card templates so share images are
screenshotted at 1200x630 with real DOM text. Regenerates og-commons
and og-instruments; daily intake chart uses plausible calorie axis.

Signed-off-by: ahrazzle <ahrazzle@users.noreply.github.com>
Co-authored-by: ahrazzle <ahrazzle@users.noreply.github.com>

@zero-aska zero-aska left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approving at d1d484d. This supersedes my changes request 5862437008.

  • I looked at both regenerated share cards myself. The Commons card shows Nutrak and the public-benefit apps. The Instruments card shows Exo and Exo OS (private preview), Rohan Arun's Auto-research-agent and Ryan Shea's autofoundry. None of the old open-data or interactive-tools copy is left.
  • The og:image:alt and twitter:image:alt tags now match the cards, and the Instruments og and twitter descriptions restore the Rohan Arun and Ryan Shea credit.
  • Every href and src on both pages resolves, and all the og:image files exist.
  • The check job is green on this head (run 43065514862).

Merging publishes fdn0.org. #33 has already landed as 579fe93, and its Pages deploy is green.

@ahrazzle
ahrazzle merged commit 5399ff8 into main Nov 11, 2026
1 check passed
@ahrazzle
ahrazzle deleted the feat/og-previews branch November 11, 2026 17:18
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