I Stored a Website in a Favicon(timwehrle.de)
303 points by theanonymousone 1 day ago | 107 comments
tl;dr: The author encoded a small HTML page (208 bytes) into the RGB channels of a 9x9 pixel favicon, prepending a 4-byte length header so a decoder knows where the payload ends. On page load, JavaScript draws the favicon to a canvas, reads the pixels back, and reconstructs the HTML — though a bootstrap loader is still required, making it a curiosity rather than anything practical.
HN Discussion:
  • Alternative simpler approaches like SVG favicons or PNG comment chunks would work better
  • The bootstrap loader limitation can be eliminated using HTML/PNG polyglots
  • Reports the demo doesn't actually work in their browser environment
  • Expands on the concept by noting favicons can be abused for fingerprinting/tracking
  • Criticizes the writing style as LLM-generated and hard to read