Is there a small and portable one you recommend?
Stop inventing new static web servers. Contribute patches to an existing project if you feel so inclined but this has been a solved problem for decades by very intelligent people who understand how the Internet works. We've gone full circle from bloated behemoths like Netscape, to serving from kernel mode (http.sys, Tux Web Server, etc.) and back again.
Take pdf viewers for example. I hated all of them until I found Zarthura. I’m glad someone took the time to make that.