Lapis – A web framework for Lua or Moonscript
leafo.net
leafo.net
Although a new version hasn't been deployed in a while it's still heavily used (and developed, but it's been mostly stable for me). My current main thing is https://itch.io, which is powered by lapis. I have a bunch of other sites running on it too: https://streak.club https://sightreading.training and I also made https://luarocks.org
itch.io is the largest thing I've ever started, it's currently about 220k lines of MoonScript code.
Feel free to ask any questions!
I love watching all the things you build, and thanks for all your contributions to the lua ecosystem!
[1] - https://konghq.com/
[2] - http://luajit.org/
I don't personally like the 'moonscript' language, but you can use traditional Lua instead. I think I remember it being easy to use luajit for performance, too.
The documentation is sort of bare-bones though, so if you want to go off the rails with your design it can take some figuring out.
Still, I would encourage people to give it a look; Lua is a fantastic language, Lapis is easy to set up and get started with, and it probably won't look unfamiliar if you've used a model/view/controller framework before.
1- debugging moonscript error messages always references the compiled lua (nothing like sourcemaps)
2- creating layouts is just pure pain (you will need to create moonscript widgets instead of writing HTML so your frontend people need to learn Lua too.
Anyone experienced Moonscript? How is it, how is the ecosystem, is it fun?
It's classes are fantastic when working with structures that lean that way, like in games. (I've used it a fair bit with Love2d.)
Comprehensions and stabby-procs are also something that are nice to have. Makes it easier in some cases. Just more consistent in others.
Lapis was born from https://itch.io (kind of like Rails was born from Basecamp). It is still the "largest" website I know using it.
OpenResty itself has a similar story with Taobao, one of the largest wesites in the world, even though now they use a fork (tengine). I think several other large Chinese and Russian websites use it.
In the US, Kong is also based on OpenResty, and CloudFlare uses OpenResty a lot (and is now its main sponsor).
Also I was trying to answer the apps question specifically as whole web apps that are running on openresty. So I wasn't thinking about tools built with openresty, though I think that is it's biggest utility.
(This is a pretty simplified version of the situation, see https://github.com/sailorproject/sailor/issues/173 for more.)
http://luarocks.github.io/luarocks/releases/
The legacy package is, as the name implies, legacy. Thanks for reminding me about this issue, about time it is closed. The Windows installation instructions need to be updated at the LuaRocks wiki, but that's a separate issue.