Skip to content
AI News HubLIVE
More
Original source1 min read

Building a World Map with only 500 bytes

Summary

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
Report an error

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

Correction instructions
Read article

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

Key points and analysis

Article intelligence

EngineersIntermediate

Key points

  • Iwo Kadziela generated an ASCII world map with 445 bytes.
  • Key technique: deflate compression combined with data URI.
  • Uses fetch and DecompressionStream to decompress data.
  • Showcases creative extreme data compression.

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