LuCI - OpenWrt Configuration Interface
Find a file
Jo-Philipp Wich ded8ccf93e luci-base-ucode: add initial ucode based LuCI runtime
This commits introduces an initial ucode based LuCI runtime. It supports
JSON menu files as used by Lua based LuCI and the template, call, view and
alias dispatch targets.

It is able to render a basic LuCI installation without errors. An embedded
Lua VM is lazily loaded when Lua based resources are encountered, such as
`*.htm` templates or server side Lua call targets.

When a template is requested, the ucode runtime first tries to render an
`/usr/share/ucode/luci/template/${path}.uc` ucode template and falls back
to rendering the corresponding `/usr/lib/lua/luci/view/${path}.htm` Lua
template in case no suitable ucode replacement is found. This allows for
gradual migration of existing Lua based tmeplates to ucode.

Furthermore, a set of stripped down LuCI libraries is shipped in the
`/usr/lib/lua/luci/ucodebridge/` directory. Those libraries provide
compatibility shims for the current Lua API towards Lua templates and Lua
based server side actions while utilizing the ucode request runtime state
internally.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25 01:03:37 +02:00
.github Merge pull request #5567 from TDT-AG/pr/20211202-github-issue-templates 2022-01-13 10:34:10 +01:00
applications luci-app-simple-adblock: bugfix: identify nft set support 2022-10-24 17:18:43 +00:00
build build: add zoneinfo2ucode.pl 2022-10-25 01:03:37 +02:00
collections luci: add luci-app-attendedsysupgrade by default 2022-10-18 12:06:46 +02:00
contrib/package contrib: introduce ucode-mod-html 2022-10-25 01:03:36 +02:00
docs CI: automatically update jsapi docs 2021-10-08 17:16:04 -10:00
libs rpc-mod-luci: Add support for ccmp-256/gcmp/gcmp-256 ciphers 2022-08-25 15:28:11 +03:00
modules luci-base-ucode: add initial ucode based LuCI runtime 2022-10-25 01:03:37 +02:00
protocols Merge pull request #6023 from stangri/master-luci-proto-nebula 2022-10-17 10:21:24 -07:00
themes sysauth: add autocomplete and id attributes to login inputs 2022-10-15 14:31:47 +02:00
.gitignore CI: automatically update jsapi docs 2021-10-08 17:16:04 -10:00
CONTRIBUTING.md CONTRIBUTING.md: Fix sign_your_work link. 2020-03-01 14:33:20 -08:00
jsdoc.conf.json docs: various updates 2019-11-07 12:39:24 +01:00
LICENSE * new project: ff-luci - Freifunk Lua Configuration Interface 2008-03-02 21:52:58 +00:00
luci.mk luci.mk: add basic support for ucode sources 2022-10-25 01:03:37 +02:00
NOTICE Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
package.json CI: automatically update jsapi docs 2021-10-08 17:16:04 -10:00
README.md docs: various updates 2019-11-07 12:39:24 +01:00

OpenWrt luci feed

Translation status

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

API Reference

You can browse the generated API documentation directly on Github.

Development

Documentation for developing and extending LuCI can be found in the Wiki

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

Translation status

Translation status