News for hackers. Stuff that matters.

Ask HN: Server-side Lua?

Does anyone have recommendations for server-side frameworks in Lua? Ideally, I'd be interested in something that is less opinionated/MVC-ish like Node but I just want to get a general sense of what folks use. I've had a passing interest in Lua for a long time and now I want to mess around with it a little more.
( 5 comments | 7 points | on HN )
Re:Ask HN: Server-side Lua? by rudolf0 on Tuesday April 14, 2015 @04:30PM (#9377099)
Look into OpenResty (http://openresty.org). I'd also recommend Lapis (http://leafo.net/lapis/), which provides a Rails-ish MVC framework over OpenResty.
Re:Ask HN: Server-side Lua? by evandrolg on Wednesday April 15, 2015 @11:38AM (#9381664)
I know these frameworks to work with web applications: - Lapis: https://github.com/leafo/lapis - Sailor: https://github.com/Etiene/sailor - Luvt: https://github.com/luvit/luvit

There is also the Pegasus.lua - http://evandrolg.github.io/pegasus.lua/ -, it is a http server to work with web application written in Lua

Re:Ask HN: Server-side Lua? by brickcap on Tuesday April 14, 2015 @11:24PM (#9378742)
I've been working with openresty (ngx+lua) for a few months now and I love it. If you know nginx you can get started with it in a couple of days.

The idea behind it is simple. It introduces a set of directives that allow you to execute lua code. Some of these directives are completely new while others are meant to compliment nginx's native directives. Eg:

the `access_by_lua` directives is meant to execute lua code after nginx's access phase handler. Where as `content_by_lua` has no nginx equivalent.

I haven't used the MVC frameworks built with openresty myself but that was only due to lack of research on my part! I wish I had taken time to see what options were available.

Re:Ask HN: Server-side Lua? by S4M on Tuesday April 14, 2015 @03:30PM (#9376676)
I don't know how good this is, but I recall Sailor that was posted some time ago here. Here's the submission link, so you can view the comments: https://news.ycombinator.com/item?id=8673676
Re:Ask HN: Server-side Lua? by _rook on Tuesday April 14, 2015 @07:21PM (#9377961)
Since you mentioned node, I'd recommend checking out luvit. It's essentially node for lua: https://luvit.io