Sailor is a Lua MVC web framework.
It is compatible with Apache with mod_lua or mod_pLua, Nginx with ngx_lua, Lwan, Lighttpd with mod_magnet, or any CGI-enabled web server, like Civetweb, Mongoose and Xavante, if CGILua is present.
This is free and open source software.
Key Features
- Compatible with Lua 5.1, Lua 5.2 and LuaJIT. (5.3 compatibility so far untested).
- Luarocks setup.
- Runs over Apache2 (with mod_lua), NginX (openresty), Mongoose, Lighttpd, Xavante and Lwan web servers.
- Using Windows, Mac or Linux systems.
- Compatible with MySQL, PostgreSQL, SQLite and other databases supported by the luasql library.
- MVC structure.
- Parsing of Lua pages.
- Routing.
- Basic Object-relational mapping.
- Validation.
- Transactions.
- App comes already shipped with Bootstrap.
- Include, redirect.
- Sessions, cookies.
- Login module.
- Easy deployment (unix only) -> sailor create “app name” /dir/to/app.
- Form generation.
- Lua at client (possible through a Lua=>JS virtual machine deployed with the app).
- Friendly urls.
- Inspect function for better debugging => similar to a var dump.
- Custom 404 pages.
- Relations.
- Model generation (reading from DB).
- CRUD generation (reading from model).
- Theme and layout (now you can have multiple layouts within a theme. e.g. 1-column and 2-column).
- Integration with Busted for unit and functional tests for your app.
Website: github.com/sailorproject/sailor
Support:
Developer: Etiene Dalcol
License: MIT License
Sailor is written in Lua. Learn Lua with our recommended free books and free tutorials.
Related Software
| Lua Web Frameworks | |
|---|---|
| OpenResty | Turns Nginx into a Full-Fledged Scriptable Web Platform |
| Lapis | Web framework for Lua/MoonScript supporting OpenResty or http.server |
| Fullmoon | Fast and minimalistic web framework based on Redbean |
| Turbo | Framework built for LuaJIT 2 |
| Luvit | Node.JS for the Lua Inventor |
| Vanilla | OpenResty Lua MVC web framework |
| Sailor | Lua MVC web framework |
| Orbit | MVC web framework for Lua |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

