bump! another update: - big rework of board.lua, now it's a module and calling the right function is a little smarter. - almost finished converting the output of board.lua from HTML to JSON. on client side I started handling json and draw messages from that. not yet completed, I want to convert procedural code to something more elegant but I have to study on it a littleby littlepirate - PirateBox (Development)
hi Matthias, here you can find a quick packaging of my work so far At this moment I'm more into the messageboard development so the fileupload is still more a proof of concept than a polished product. the cgi.lua (a library) is in good shape. the concept of file upload is that the library return structure with a list of tempfiles and the relatives realnames, all you have to do in thby littlepirate - PirateBox (Development)
bump this is just to let you know i'm still working on my version of piratebox in lua. so far I have a alpha stage message board with RESTful method. the board is a simple container of thread, each thread have the first message with a title and successive messages are only response without title. I started with ordinary URLs with query string but now I use only semantic URLs ( ) andby littlepirate - PirateBox (Development)
hello everybody, I started building a piratebox on an OpenWRT AP and as soon as I discovered that the upload is based on a python script I wanted to try to install a custom script based on lua or something of comparable footprint size. I studied some solution based on existing lua libraries in order to write a CGI that can receive a big file but soon realized that all existing solution have sby littlepirate - PirateBox (Development)