-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
26 lines (20 loc) · 1003 Bytes
/
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
This library contains a light-weight HTTP server for serving web-sites
using OCaml. It uses the co-operatively threaded cohttp [1] library
to process HTTP. It consists of:
* htmlgen/ has a Markdown processor and other helper functions for
generating HTML
* server/ is a full daemon implementation with MIME and other
functions for serving web sites
* crunch/ has a utility called "mlcrunch" which converts a directory
of static files into a standalone ML file which can serve them up
directly from memory. Useful for grabbing templates.
* fs2b/ uses the ORM library to convert a directory tree into a
database with (name * body), to save memory for large binaries.
--
This library is originally based on the "do it yourself OCaml HTTP"
daemon by Stefano Zacchiroli <[email protected]>, and since adapted
to LWT and Mirage by:
Anil Madhavapeddy <[email protected]>
David Sheets <[email protected]>
Please see individual files for the license (which is mostly
LGPL+linking exception or ISC).