Skip to content
AI News HubLIVE
More
Original source1 min read

github-code Web Component

Summary

An experimental Web Component built with GPT-5.5 that embeds code from GitHub by converting blob URLs to raw content URLs and fetching specified line ranges. Displays line numbers without syntax highlighting.

github-code Web Component
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

Tool: github-code Web Component

Simon Willison’s Weblog

Subscribe

7th July 2026

Tool

github-code Web Component

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

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

It takes URLs like that, converts them to https://raw.githubusercontent.com/simonw/sqlite-ast/437c759129154f05296324a7f82aa1246340dd14/sqlite_ast/parser.py, then uses fetch() to fetch them and displays the specified range of lines - with line numbers, no syntax highlighting though

Show me a preview web browser so I can see your work

Here's what it looks like embedded on this page:

Recent articles

sqlite-utils 4.0, now with database schema migrations - 7th July 2026

sqlite-utils 4.0rc2, mostly written by Claude Fable (for about $149.25) - 5th July 2026

Have your agent record video demos of its work with shot-scraper video - 30th June 2026

This is a beat by Simon Willison, posted on 7th July 2026.

github 189

web-components 26

gpt 128

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe

Disclosures

Colophon

©

2002

2003

2004

2005

2006

2007

2008

2009

2010

2011

2012

2013

2014

2015

2016

2017

2018

2019

2020

2021

2022

2023

2024

2025

2026

Key points and analysis

Article intelligence

EngineersIntermediate

Key points

  • Experimental Web Component built with GPT-5.5
  • Transforms GitHub blob URLs to raw content URLs
  • Fetches and displays specified line range with line numbers, no syntax highlighting

Highlights and analysis are generated automatically and may contain errors. Check the original source.