My answers to the questions I posed about porting open source code with LLMs

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

LLM-assisted ports of open source libraries can be legally and ethically legitimate, but they may collapse demand for open source dependencies, hitting maintainer revenue.

Read this as

Programmer Simon Willison used AI tools like Codex CLI and Claude Code to automatically convert open source software from one programming language to another, and answered his own earlier questions about whether this is legal and fair. He argues it is fine if the original author's license and copyright are kept. He worries the bigger problem is people no longer bother downloading existing libraries when AI can write one for free.

Willison concludes AI-generated ports of open source projects are legal and ethical when the original license and copyright are preserved. The real risk he identifies is falling demand for open source: he wrote a cron-parsing library in Go via AI instead of using an existing one, and cites the Tailwind documentation-traffic story as evidence. His mitigation is labeling unreviewed AI libraries as 'alpha slop' until production-proven.

Willison ported JustHTML (Python) to JavaScript using Codex CLI with GPT-5.2 in hours; the result passes 9,200 HTML5 conformance tests, and he later repeated the workflow with Claude Code running Opus 4.5. He treats ports as derivative works under the original open source license. He questions whether his directing of the models counts as sufficient human authorship for US copyright, and notes an expert team would cost hundreds of thousands of dollars for comparable output.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

JustHTML Codex CLI GPT-5.2 Claude Code Opus 4.5 Tailwind

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.4a0

Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.