An Emacs web server existed over 10 years ago:
http://synthcode.com/emacs/phase-0.2.1.tar.bz2
It has no doubt bit-rotted, but had some really
nice features, like being able to automatically
display any file as HTML with the exact same
syntax highlighting that Emacs itself uses.