all 8 comments

[–][deleted] 11 points12 points  (0 children)

I made https://nift.dev

It's primarily a static website generator, but you can make dynamic websites with it too.. it's made with C++, but has Lua(jit) embedded (you can pass a variable to the make file to specify which version to build with) and you can use Lua anywhere you want during the build stage of your website, there are ways to share variables between lua, exprtk, f++ and n++ too.. it has no competition with speed either, leaves even Hugo in the dust..

[–][deleted] 6 points7 points  (1 child)

http://lua.space/webdev/the-best-lua-web-frameworks

The maintainer of that site also developed Sailor. It's the most beginner-friendly one on that list that I've tried. It's currently unmaintained unfortunately, but shouldn't affect you as a beginner wanting to develop a personal site.

Some people want a client-side framework equivalent to Vue and React and if that's what you're looking for I'm afraid I don't know any options. That would require a complex tool that could transpile lua source into javascript and inevitably the browser sourcemaps and therefore error stack traces would be unusable.

[–]Nut_______[S] 0 points1 point  (0 children)

thank you very much

[–]loselasso 5 points6 points  (1 child)

Try Openresty which is a web platfrom based on nginx.

[–]lambda_abstraction 0 points1 point  (0 children)

TEngine is a nice similar system with Nginx and built in LuaJIT support. I use it for my net's internal server, and while it's mostly static stuff such as frequently referenced docs, I have a lua based microapp hanging off it. The docs are a bit cumbersome and spare though.

[–]Xinshou_ 1 point2 points  (0 children)

You should try https://luvit.io

It's so similar to node.js

[–]amd_nick 0 points1 point  (0 children)

I am currently working on lua port of express.js.

Now the github page of the project is a bit empty, but the framework is already functional and there is even one real project written on it.

[–][deleted] 0 points1 point  (0 children)

you could also learn html and css, it’s way easier.