TLDR Web Dev · MISCELLANEOUS

HOSTING A WEBSITE ON A DISPOSABLE VAPE

bogdanthegeek.github.io7 min read

Summary from the TLDR Web Dev newsletter

This dev hosted a website on a disposable vape's microcontroller, the PUYA PY32F002B. He used semihosting to emulate a serial modem, enabling SLIP (Serial Line Internet Protocol) communication and integrating uIP for TCP/IP support. It was initially slow, but he optimized the web server by implementing a ring buffer to improve data handling and speed.