サイモン・ウィリソン氏は2026年7月7日(現地時間)、GitHubからコードを埋め込むための実験的なWeb Component「github-code Web Component」を発表した。これはGPT-5.5と特定のプロンプトを用いて構築されたもので、GitHubのURLから指定された行範囲のコードをフェッチし、行番号付きで表示する機能を提供する。ただし、シンタックスハイライトは搭載されていない。

github-code Web Componentは、例えばhttps://github.com/simonw/sqlite-ast/blob/437c759129154f05296324a7f82aa1246340dd14/sqlite_ast/parser.py#L9-L18のような形式のURLを受け取る。これをhttps://raw.githubusercontent.com/simonw/sqlite-ast/437c759129154f05296324a7f82aa1246340dd14/sqlite_ast/parser.pyに変換した後、`fetch()`関数を使用してコードを取得し、指定された行範囲のみを表示する仕組みとなっている。

このWeb Componentの開発には、GPT-5.5が活用され、let’s build a Web Component for embedding code from GitHubというプロンプトが使用されたことが明らかにされている。これにより、特定のコーディングタスクにおける大規模言語モデルの応用可能性が示された。

同氏は最近、複数の記事を公開しており、2026年7月7日にはsqlite-utils 4.0, now with database schema migrationsも発表している。その他、7月5日にはClaude Fableによって書かれたsqlite-utils 4.0rc2, mostly written by Claude Fable (for about $149.25)、6月30日にはHave your agent record video demos of its work with shot-scraper videoを発表している。


参考: Simon Willison’s Weblog (アーカイブ) — 2026年7月8日 01:18 (JST)

原文ハイライト

"An experimental Web Component built using GPT-5.5 and the following prompt"

この記事をシェア
X はてブ LinkedIn