lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello,

A demo of Nanoki, a simple wiki engine, is available online:

http://svr225.stepx.com:3388/


The demo features content from "Wikipedia for Schools", a small subset (~4,000 articles) of Wikipedia proper:

http://schools-wikipedia.org/


Nanoki provides the usual wiki fairs, such as an embedded editor:

http://svr225.stepx.com:3388/main/editor


The editor uses Markdown syntax:

http://svr225.stepx.com:3388/markdown-syntax-reference


The editor provides a revisions history:

http://svr225.stepx.com:3388/main/editor/revision
http://svr225.stepx.com:3388/main/editor/revision/n.1


As well as delta between revisions:

http://svr225.stepx.com:3388/main/editor/revision/n.1/n.3


Additionally, there are a couple of navigation features such as a table of content:

http://svr225.stepx.com:3388/index/m/a


A publication date index:

http://svr225.stepx.com:3388/date/2007/06/05


As well as an index of recent changes:

http://svr225.stepx.com:3388/recent


Last, but not least, a simple search is available:

http://svr225.stepx.com:3388/search?q=north


Aside from XHTML, most view can represent themselves as an Atom feed:

http://svr225.stepx.com:3388/search.xml?q=north


Most contemporary browsers should automatically indicate the presence of such a feed. Alternatively, add a .xml extension to any of the URL, e.g.:

http://svr225.stepx.com:3388/main.xml


The articles themselves have two additional representations as well, text and lua:

http://svr225.stepx.com:3388/main.txt
http://svr225.stepx.com:3388/main.lua


Finally, there is an "About" page :)

http://svr225.stepx.com:3388/a


Nanoki is implemented in Lua, with the support of a handful of native libraries.

Nanoki uses the file system itself to store its data as serialized Lua table.


The demo runs as a cluster of 4 Nanoki instances behind a reverse HTTP proxy. The server itself is a Mac mini running Mac OS X.

Feel free to kick the tires and play with it.

The source code and subversion repository are available for perusal as well:

http://dev.alt.textdrive.com/browser/HTTP

svn http://alt.textdrive.com/svn/altdev/HTTP/

Feedbacks welcome.

Cheers,

PA.