Hosting web applications on OpenWrt

Many thanks for your answers!

I think I am going to go the lua way... even if I have never coded in it, so far it does not look overly complicated, seems way powerful enough for my purposes, and comes pre-installed on any OpenWrt device.

However, I would like to separate it completely from LuCi, and here is where I have trouble find a "hello world" example.