Hacker News new | comments | show | ask | jobs | submit login

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.



If it doesn't handle POST requests it doesn't count.

  (defun phase-handle-post ()
    "Phase handler for post requests"
    ;; XXXX hack, not handling multi-part form data, just treat as a GET
    ;; for now.
    (phase-handle-get) )


Emacs webservers have indeed been around for years: http://emacswiki.org/emacs/HttpServer

Most of them required other solutions for accepting the socket however and also failed to address concurrency.

Elnode, btw, does reuse Emacs' syntax highlighting code. Just try it out and see what it's like.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: