This is a port of webduino, an arduino webserver running on the ethernet shield. Of course, on the spark you don’t need an ethernet shield - it’s network enabled out of the box!
I ported this to the spark and fixed a few bugs. I will also write some documentation to augment what is available in the original repo.
I was expecting this to be a nightmare to port, since it had an entirely different network stack, but it was a breeze! It turns out the TCPClient and TCPServer in the spark firmware were completely API compatible with EthernetClient and EthernetServer classes that the library was expecting. All in all I was done in about 30 minutes, so hats off to the spark team for having the foresight to make the APIs compatible!