Elnode

event driven web development in EmacsLisp

View the Project on GitHub nicferrier/elnode

Elnode - event driven web development in Emacs Lisp

Elnode let's you write event driven code for handling HTTP requests. You can make web servers, handle files, do AJAX or write a chat app.

Video introduction

Nic has made a screencast introducing Elnode. Here it is.


News

15th August 2012 - Elnode on Heroku
this demo repo on github explains how to get an elnode app running on Heroku. A running example.
11th August 2012 - Elnode downloaded 641 times in last 3 days
Elnode was most watched repo on Github for the Week and is making people happy. Go Go!
8th August 2012 - Elnode 0.9.9 released
Available from marmalade as usual. Nic's article describes the release.

Hello World with Elnode

(defun my-elnode-hello-world-handler (httpcon)
   (elnode-http-start httpcon 200 '("Content-Type" . "text/html"))
   (elnode-http-return 
       httpcon 
       "<html><body><h1>Hello World</h1></body></html>"))
(elnode-start 'my-elnode-hello-world-handler :port 8028 :host "localhost")

Getting Elnode

Download Elnode from marmalade using Emacs package install:

M-x package-install elnode

Bugs

Please report all bugs here, on github. New releases are made frequently so please check for new versions before reporting.

More

Community information about Elnode can be found on the EmacsWiki Page.

Ask a question about Elnode on StackOverflow

Acknowledgements

Elnode would not have been possible without the help and encouragement of many people in the Emacs community. Particularly the regulars on the #emacs Freenode IRC channel. Thanks to all those people.