
Created a web server with my Raspberry Pi Pico W
This week I set out to see how minimal I could make a web server. I've run simple web servers on a PinePhone and on a Raspberry Pi. This week I tried out running a website on the Pico W (the wireless-enabled version).
It involved a few glitches early on, mostly due to blocking sockets and needing to accept multiple connections in parallel. After a little tinkering, I've got it working and it appears to be stable. My Pico W has been running my website/blog for the past 24 hours with no problems and has served up over 500 pages to the public Internet.
The Python code for running the web service is on Codeberg: https://codeberg.org/thejessesmith/Pico-httpd