Any up-to-date guide for Luci app development?

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?

1 Like

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

1 Like

If you google "openwrt luci api" the first result is: https://openwrt.github.io/luci/jsapi/index.html which is up-to-date.

1 Like

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.

https://github.com/openwrt/luci/wiki/Documentation

https://github.com/openwrt/luci/wiki/ModulesHowTo

1 Like

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.

2 Likes

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.

1 Like

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