Skip to content
Sean Bettsv2.0.0
Back to Building

Apple HIG Mirror

A developer tool that turns Apple's browser-rendered Human Interface Guidelines into structured Markdown, with repeatable extraction, verification and scheduled updates.

Sole developer · March 2026View on GitHub (opens in a new tab)
Apple HIG Mirror workflow: discover guideline pages, extract and normalise their rendered content, then verify and update. A real Buttons Markdown excerpt shows its title, canonical path and rewritten internal links.
In practice

What it does

  1. Discovers guideline pages and extracts their rendered content
  2. Normalises content into deterministic Markdown and frontmatter
  3. Rewrites internal links and generates a Mintlify preview configuration
  4. Verifies generated output and schedules incremental updates through GitHub Actions
Behind the work

The challenge

Extracting consistent content from a dynamic documentation site while preserving structure, keeping internal links useful and avoiding unnecessary changes in generated files.

What I learned

AI agents have become much better at retrieving context directly from live websites, and much better versed in Swift and Apple’s developer ecosystem. That changes the value of maintaining a separate documentation mirror. A useful lesson here is to keep reassessing the workarounds I build as the underlying capabilities improve.

Built with

  • TypeScript
  • Node.js
  • Playwright
  • Markdown
  • GitHub Actions