GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(data): draw link-card characters from OpenMono's rest file by iamdavidhill · Pull Request #64798 · anomalyco/opencode

Conversation

@iamdavidhill

@iamdavidhill iamdavidhill commented Nov 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Issue for this PR

No issue. This follows the release of OpenMono 1.000.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

It finishes the data site's move to OpenMono. Rebased onto dev, this PR is smaller than when it was opened: dev already has the OpenMono files in packages/data/app (#65994, all four styles, byte-identical to the website's), the @font-face rules in index.css, and the renamed OG Worker modules in the pinned deploy targets (#66253). This PR no longer changes the font files or .github/. What is left:

  • Characters outside the Latin file now draw on link cards. Satori keeps one face per family name and weight, so with both files named OpenMono the rest file is never used and α or ⥈ draws as the empty box. Each file now has a family name of its own (OpenMono, OpenMono Rest) and the card names both, which costs no bytes. A new test renders α, ⥈ and a character no file has, and fails if any two come out alike.
  • Card cache. cardVersion goes from 2 to 3, so every page links a new image URL and the card is drawn again the first time that URL is asked for. It does not purge the old URLs: a preview that a site has already unfurled stays as it is until that site fetches it again.
  • Nav menus. The fallback family in packages/nav-menus becomes "OpenMono"; it still named the old family. A host that does not set --nav-menu-mono gets that fallback, so it must load OpenMono or set the token. Hosts of the package:
    • packages/data/app: uses the fallback, and loads OpenMono.
    • services/site: sets --nav-menu-mono, so it is not affected.
    • The Console repository's synced copy: anomalyco/opencode-console#8139, which sets the token for its site and its status page, is merged.
  • A script to refresh the fonts after the website's files change, from packages/data/app:
bun script/openmono.ts ../../../services/site/src/asset/fonts

It reads every file and checks each @font-face rule in index.css against the range of its own file before it writes anything, so a missing file or one stale rule leaves the app's fonts untouched. It copies all four styles, as dev now serves them. Run on this branch, it changes no file.

Feature flag. None. The data site reads no flags.

Companion: #64796 (the website and docs), which is merged.

How did you verify your code works?

  • bun run check at the root (lint, and typecheck of every package), which the pre-push hook also ran. bun typecheck and bun run test in packages/data/app (58 pass, including the OG Worker build and the new render test) and in packages/nav-menus (7 pass). bun typecheck in services/data. vite build of the data site.
  • The OG Worker build lists exactly the modules in both pinned targets.
  • The new render test fails with the two files under one family name and passes with their own names.
  • The copy script against the website's folder on dev: it copies the 12 files and the licence, and git status shows no change.
  • Not checked: the deployed OG Worker.

Screenshots / recordings

None. No page changes. A link card changes only when its text has a character outside the Latin file, which the render test covers.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions github-actions Bot added the contributor label Nov 19, 2026
@iamdavidhill iamdavidhill mentioned this pull request Nov 19, 2026
feat(site): use OpenMono as the mono typeface #64796
Merged
3 of 6 tasks
@iamdavidhill
iamdavidhill marked this pull request as ready for review November 23, 2026 16:30
@iamdavidhill
iamdavidhill requested a review from thdxr as a code owner November 23, 2026 16:30
@iamdavidhill
iamdavidhill requested a review from adamdotdevin November 23, 2026 16:32
thdxr
thdxr previously approved these changes Nov 26, 2026
View reviewed changes

@thdxr thdxr left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

lgtm on the .github/ change

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
adamdotdevin
adamdotdevin previously approved these changes Nov 26, 2026
View reviewed changes

@adamdotdevin adamdotdevin left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Approved by Adam. Please rebase onto dev (conflicts); merge #64796 first.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@iamdavidhill
fix(data): draw link-card characters from OpenMono's rest file
fc195c0
Satori keeps one face per family name and weight, so the rest file gets a family name of its own. Also adds the script that copies the site's OpenMono files, and names OpenMono in the nav menus' fallback.
@iamdavidhill
iamdavidhill dismissed stale reviews from adamdotdevin and thdxr via fc195c0 November 26, 2026 20:49
@iamdavidhill
iamdavidhill force-pushed the openmono-data branch from b409fdb to fc195c0 Compare November 26, 2026 20:49
@iamdavidhill iamdavidhill changed the title feat(data): use OpenMono as the mono typeface fix(data): draw link-card characters from OpenMono's rest file Nov 26, 2026
adamdotdevin
adamdotdevin approved these changes Nov 26, 2026
View reviewed changes

@adamdotdevin adamdotdevin left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Approved by Adam.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@adamdotdevin
adamdotdevin merged commit 5dfb6df into dev Nov 26, 2026
12 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@adamdotdevin
adamdotdevin deleted the openmono-data branch November 26, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adamdotdevin adamdotdevin adamdotdevin approved these changes
@thdxr thdxr thdxr left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

contributor

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@iamdavidhill @thdxr @adamdotdevin
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.