-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathREADME
43 lines (32 loc) · 1.51 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Emacs Web Server
DESCRIPTION
A web server in Emacs running handlers written in Emacs Lisp.
REQUIREMENTS
Emacs 24.3 or later.
STATUS
Supports HTTP GET and POST requests including URL-encoded
parameters, multipart/form data and file uploads. Supports web
sockets. Reasonably performant, faster than Elnode [1]. This is
a new project without much extended use so there are likely bugs
and potentially security issues. That said it consists of little
more than HTTP header parsing logic perched atop Emacs' existing
network process primitives, so it should be fairly robust.
[1] http://eschulte.github.io/emacs-web-server/benchmark/
USAGE
See the examples/ directory in this repository for examples
demonstrating usage. The Emacs web-server is also used to run a
paste server [2], serve editable Org-mode pages [3] and serve
files for Cask [4].
[2] https://github.com/eschulte/el-sprunge
[3] https://github.com/eschulte/org-ehtml
[4] https://github.com/cask/cask
Available from the GNU ELPA [5]. The tutorials page [6] walks
through usage scenarios including installing the Emacs web-server
and running it behind a proxy.
[5] http://elpa.gnu.org/
[6] http://eschulte.github.io/emacs-web-server/tutorials/
Run `make check' to run the included test suite.
DOCUMENTATION
Run `make doc' to build the texinfo documentation, also available
online [6].
[6] http://eschulte.github.io/emacs-web-server