Hi, so I'm looking into making a luci interface for my app but it seems that the documentation is outdated as it mentions LUA and /usr/lib/lua/luci which is not a thing anymore. So how does one start figuring this out, besides throwing a ton of questions at this forum?
Looking at what (remotely-) similar luci applications are doing, respectively what changes were done to migrate them from lua to javascript+ucode in the git history.
See also
If you google "openwrt luci api" the first result is: https://openwrt.github.io/luci/jsapi/index.html which is up-to-date.
Thanks, I'll take a look.
I understand that making new documentation will take a while but IMO it makes sense to at least mark the obsolete documentation as such.
I would like to help improve the wiki but all the steps of hopping onto an IRC channel and getting someone to reply sounds like too much hassle and probably deters many others as well.
BTW if anyone who has an experience with developing a Luci front-end wants to cooperate with me on making a Luci interface for my geoip-shell project, I'm interested.
Not really UpToDate. I am looking at dslite.js and cannot find any explanation of renderFormOptions
I know this is an old thread, but I am just looking into luci meself, and stumbled across this post.
renderFormOptions is not part of luci itself, but of the module "network"[1], thus it is not explained in the documentation.
[1]:
It is called from interfaces.js