Skip to content

feat(seo): add 1200×630 raster OG banner (docs/og-image.jpg) - #7

Merged
Ritual-Dev-Git merged 1 commit into
RitualDev-Lab:mainfrom
adamshatzkamer:feat/og-image-2
Oct 14, 2026
Merged

Ritual-Dev-Git merged 1 commit into
RitualDev-Lab:mainfrom
adamshatzkamer:feat/og-image-2

Conversation

@adamshatzkamer

Copy link
Copy Markdown

Closes #2

What

X, LinkedIn, Discord, and Slack don't render SVG og:image/twitter:image, so every link share was falling back to a plain scrape.

  • Adds docs/og-image.jpg — a high-contrast 1200x630 JPEG built from the site's own tokens (--bg #07090e, --primary #8b5cf6, --accent #06b6d4): shield mark + check, tagline ("Zero-Leak Secret Defense and Sandbox for AI Agents"), a agent shield check terminal snippet showing a redacted secret, and a footer URL pill.
  • Points og:image and twitter:image at https://agentshield.ritualdev.in/og-image.jpg (served from docs/ by the Pages workflow).
  • Adds og:image:width (1200), og:image:height (630), og:image:type (image/jpeg).

Why

The repo's robots.txt already opts into max-image-preview:large — the preview asset should actually render. Raster 1200x630 is the canonical size for Twitter summary_large_image, Discord/LinkedIn cards, and search rich results.

Verification

  • docs/og-image.jpg is 1200x630 RGB JPEG (~100 KB), file-checked, no transparency (social scrapers reject some alpha formats)
  • Meta additions are plain HTML, no build step involved (docs/ is deployed verbatim by .github/workflows/pages.yml)

If this is useful, there's a $1 tip option at https://grantshatz.gumroad.com/l/mpkqyq — no pressure, just helps fund more open-source maintenance.

Replace SVG terminal-demo.svg as og:image/twitter:image with a
high-contrast 1200x630 JPEG that renders in X, LinkedIn, Discord,
and Slack link previews. Add og:image:width/height/type. Banner
uses brand tokens (--bg #07090e, --primary #8b5cf6, --accent
#06b6d4) with shield mark, tagline, and redaction terminal snippet.

Closes RitualDev-Lab#2
divyanshujethi added a commit that referenced this pull request Oct 14, 2026
@Ritual-Dev-Git
Ritual-Dev-Git merged commit a02593f into RitualDev-Lab:main Oct 14, 2026
3 checks passed
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.

feat(seo): design and integrate high-resolution 1200x630 OpenGraph & Twitter preview banner

2 participants