og-generation

Featured

Regenerate the landing site's OG/social card (web/landing/public/og.webp) by rendering a temporary in-app route with the real hero WebGL aurora and screenshotting it with headless Chrome. Invoke when the user says 'regenerate the og image', 'update the og card', 'change the og screenshot/copy', '重新生成 og 图', or edits any copy/screenshot that appears on the social card.

AI & Automation 436 stars 36 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
88
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# OG Card Generation The OG image is NOT hand-drawn or CSS-faked: it is a screenshot of a temporary Next.js route that reuses the site's real components (`HeroGradient` WebGL aurora + grain overlay + `AgentIcon`), so the card always matches the live hero. The canonical card source lives in this skill at `assets/og-card-page.tsx`. ## Workflow All paths below are relative to `web/landing/`. 1. **Restore the temp route** from the skill asset: ```bash mkdir -p src/app/og-card cp <skill-dir>/assets/og-card-page.tsx src/app/og-card/page.tsx ``` 2. **Apply the requested changes** (copy, screenshot, layout) to `src/app/og-card/page.tsx`. Current design decisions — keep them unless the user overrides: - Wordmark is capitalized **"Termio"** (matches the nav `Logo` component). - Headline slogan has **no trailing period**. - Subline: "Terminal-first Agentic Development Environment, built for AI builders." - Agent row uses real `AgentIcon` icons; sizes are tuned (30px text / 34px icons / 30px gap) so all six agents fit on ONE row inside the 1080px left column — if you add an agent or grow the sizes, re-check that Kimi/Pi don't clip under the screenshot or wrap to a lonely second line. - Screenshot window: `public/screenshots/hero1.png` at left 1240 / top 150 / width 1560, 28px radius, white/0.18 border. - The page includes `nextjs-portal { display: none }` — this hides the Next dev-tools badge, which otherwise ships in...

Details

Author
termio-sh
Repository
termio-sh/termio
Created
3 months ago
Last Updated
today
Language
Swift
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category