Visitar URL original
chore(site): render Ukrainian and Russian link cards in OpenTUI Mono's Cyrillic by iamdavidhill · Pull Request #63556 · anomalyco/opencode · GitHub
Skip to content

chore(site): render Ukrainian and Russian link cards in OpenTUI Mono's Cyrillic - #63556

Merged
adamdotdevin merged 1 commit into
devfrom
og-cards-cyrillic
Nov 12, 2026
Merged

adamdotdevin merged 1 commit into
devfrom
og-cards-cyrillic

Conversation

@iamdavidhill

Copy link
Copy Markdown
Contributor

OpenTUI Mono now has Cyrillic (anomalyco/opentui#2033). The Ukrainian and Russian link cards from #63401 drew their Cyrillic titles in a fallback font. This renders them again with the new font.

  • 8 images: /, /brand, /press and /product, in uk and ru (the cards whose titles are in Cyrillic). Other cards and languages don't change.
  • manifest.json points those 8 entries at the new files (new hashes, so link preview caches refresh). The old files are removed.

Ukrainian brand card, before and after:

Made with OG Studio.

@opencodejr opencodejr 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.

Works as described, and nothing blocks a merge. I parsed manifest.json on both branches and compared them: only the 8 uk/ru image entries changed, every file the manifest references exists, and the old PNGs are gone. The new names match each PNG's SHA-256 prefix, as script/og.ts names them. Running bun script/og.ts copied all 8 new cards to public/og/, and src/lib/og-images.json has the right paths and alt text. The brand-uk and home-ru cards I opened show the Cyrillic titles in OpenTUI Mono.

Public API: unchanged.

One non-blocking note: the export rewrote every non-ASCII character in manifest.json as a \uXXXX escape. The base file had none, and this one has 166 escaped lines. The JSON reads the same, but 166 of the 174 changed lines are just this escaping, and the alt text can no longer be read as plain text. If an OG Studio setting controls this, restoring plain UTF-8 would keep the diff to the 8 real changes.

@adamdotdevin
adamdotdevin merged commit 1a85993 into dev Nov 12, 2026
12 checks passed
@adamdotdevin
adamdotdevin deleted the og-cards-cyrillic branch November 12, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants