Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-19-2009, 01:23 PM   #1
hansel
JSR FFD2
hansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheese
 
hansel's Avatar
 
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
Lightbulb Xiliad: a small webserver running on your iLiad

Hello All,

EDIT:
  • 10 nov 2009: update 1.1: new installer (compatible with recent Lua package), recent Lua package.



Original message:

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/
  • Browse

Notes:
  • 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
Attached Thumbnails
Click image for larger version

Name:	pc.png
Views:	616
Size:	110.1 KB
ID:	21761   Click image for larger version

Name:	iliad.png
Views:	634
Size:	60.9 KB
ID:	21762  
Attached Files
File Type: gz Xiliad-1.1.tar.gz (299.6 KB, 502 views)

Last edited by hansel; 11-14-2009 at 01:43 PM. Reason: typo
hansel is offline   Reply With Quote
Old 11-10-2009, 05:27 AM   #2
hansel
JSR FFD2
hansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheese
 
hansel's Avatar
 
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
Update: Xiliad 1.1

Updated version: new installer compatible with recent Lua packages. The previous version would not install properly when a more recent version of Lua was already installed.

The new installer is attached to the first post of this thread.

Feedback is welcome!
hansel is offline   Reply With Quote
Advert
Reply

Tags
iliad, lua, web server

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-300 Med font size too big, but small font size too small eli2k Sony Reader 4 05-28-2010 09:47 AM
Integrating Content Server with existing webserver? mmseng Calibre 3 01-14-2010 10:08 PM
Problem with webserver ganymede Calibre 3 01-09-2010 12:09 PM
Windows XP Running on the iRex iLiad! Adam B. iRex 31 04-03-2008 07:35 PM
Lamppix Live Webserver CD Colin Dunstan Lounge 0 06-11-2004 03:35 AM


All times are GMT -4. The time now is 02:47 PM.


MobileRead.com is a privately owned, operated and funded community.