The Information Machine

github-code Web Component

Simon Willison · Simon Willison · 2026-07-07

Simon Willison releases an experimental github-code Web Component built with GPT-5.5 that fetches and displays a specified line range from GitHub file URLs with line numbers but no syntax highlighting.

Open original ↗

Appears in

Extraction

Topics: web-componentsai-assisted-programmingdeveloper-tools

Claims

  • The github-code Web Component converts GitHub blob URLs to raw content URLs, fetches them, and renders the specified line range with line numbers.
  • The component was built entirely via a GPT-5.5 natural-language prompting session with live browser preview.

Key quotes

let's build a Web Component for embedding code from GitHub