AlsEdit is a simple CGI based editor written in Lua which allows remote changes
to files and directory structures on a webserver. That's useful if you aren't
able to access the files on your homepage directly (e.g. via ftp), for example
if you are on holidays.
AlsEdit is licensed under the terms of the Artistic License.
It is completely based on Dev-Editor which is written in Perl. The source code was
translated to Lua in order to accelerate the execution on slower machines. I profiled the code several times and made it as fast
as I could.
The result shows a reasonable speed on a 33 MHz system with 16 MB RAM.
So if you feel the need for speed, give AlsEdit a try.
To make it even faster, you can compile all Lua source files to byte code using luac.
Version 0.1: First public release
Needs some work to make it compile for Lua 5.1. My version for Lua 5.1 is available here: posix-5.1.tar.gz
If you just want a precompiled library, here is mine: posix.so.tar.gz
First, you have to copy the files into a directory on your webserver where you
are able to execute scripts (in most cases, this is "cgi-bin"). I suggest to
create a sub directory for AlsEdit.
Of course it's nescessary to configure your
webserver to execute Lua scripts with Lua.
You will also need to configure AlsEdit. See the next section for details.
Note, that the directory where you installed AlsEdit should be protected by
HTTP Authentification. Otherwise everybody will be able to access
AlsEdit and use it for evil purposes.
To configure AlsEdit change alsedit.conf.
The README in the package contains information about the options.
Just point you browser to alsedit.lua.
Click to enlarge!
AlsEdit is hosted by luaforge.net.
Please send me your comments (luaforge message formular).