- 10 nov 2009: update 1.1: new installer (compatible with recent Lua package), recent Lua package.
The attached file contains a small web server (the installer is 300kB) that runs on your Iliad. It is written in Lua; which is included in the 300kB
- Unpack the installer anywhere, for example in 'documents' on on your memory card (this creates a directory 'xiliad')
- Navigate to xiliad and click 'Run Xiliad, the Iliad Web Server'
- Activate your network (wired or wireless)
- Point your browser (PC) to http://ip.of.your.iliad:8080/
- The server has dynamic pages (pages with Lua code in it, just like php can do)
- You can also browse on the Iliad: configure Dillo to start at http://127.0.0.1:8080/
- The first time Xiliad is started, it will install Lua on the Iliad. If you want, you can remove it with ipkg remove lua5.1-iliad
- Xiliad uses no cpu while waiting for a request; it just sleeps
Purpose: Xiliad is a 'proof of concept' kind of thing. It shows that Lua runs efficiently on the Iliad. It's not very useful as is, but the potential of a scriptable web server is great: it could be used for remote installation and configuration of software via a web interface.
Please play with it, and let me know what you think!
EDIT: 3 hours after posting, this post is the first Google result for 'Xiliad'
PS: see https://dev.mobileread.com/trac/luailiad
for more info about Lua on the Iliad