
12/31/2024 · Marek Majkowski
What this post added
This post details a pet project that integrates an ESP32 microcontroller with an e-paper display, leveraging Cloudflare Workers for rendering and content delivery. It introduces a three-layer software architecture: the ESP32 for display, a Cloudflare Worker for rendering a website into a bitmap using the Browser Rendering API and Puppeteer, and a content server for the original website. The post highlights the use of the Browser Rendering API for generating screenshots and a custom dithering algorithm to convert PNGs to a monochromatic format suitable for e-paper displays. It also provides code examples for the ESP32 and the Worker, along with deployment instructions.