Building a World Map with only 500 bytes
Iwo Kadziela (with Codex assistance) created a credible ASCII world map using only 445 bytes of data, leveraging deflate compression and a clever JavaScript snippet using fetch() with data: URIs and DecompressionStream.
Building a World Map with only 500 bytes
Simon Willison’s Weblog
Subscribe
4th July 2026 - Link Blog
Building a World Map with only 500 bytes (via) Iwo Kadziela (assisted by Codex) figured out a way to generate a credible ASCII world map using 445 bytes of data:
The key trick is to use deflate compression, which is then wired together using this neat snippet of JavaScript. I didn't know you could use fetch() with data: URIs like this:
fetch('data:;base64,1ZpLsgIxCEXnrM...==').then( r => r.body.pipeThrough(new DecompressionStream('deflate-raw')) ).then( s => new Response(s).text() ).then( t => b.innerHTML = '' + t )
Recent articles
Have your agent record video demos of its work with shot-scraper video - 30th June 2026
Porting the Moebius 0.2B image inpainting model to run in the browser with Claude Code - 22nd June 2026
sqlite-utils 4.0rc1 adds migrations and nested transactions - 21st June 2026
This is a link post by Simon Willison, posted on 4th July 2026.
ascii-art 5
data-urls 11
javascript 760
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