Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:techref:luci2 [2020/09/09 14:42] – [LuCI2 (OpenWrt web user interface)] jamesmacwhitedocs:techref:luci2 [2021/03/18 12:48] (current) – Add warning, remove old luci2 feed hnyman
Line 1: Line 1:
 ====== LuCI2 (OpenWrt web user interface) ====== ====== LuCI2 (OpenWrt web user interface) ======
 +{{page>meta:infobox:outdated&noheader&nofooter&noeditbtn}}
 +
 +==== NOTE: This page currently mixes the five+ years old abandoned original "luci2" and the new JavaScript based standard LuCI implementation. Information on this page can be partially misleading====
 +
  
 For years OpenWrt was using [[LuCI]], a web user interface written in [[http://en.wikipedia.org/wiki/Lua_(programming_language)|Lua]]. It required several Lua extensions (like ''ubus'', ''luci.model.uci'', ''nixio.fs'', etc.) to access system info and settings. Unfortunately this solution appeared to be quite resource consuming and didn't work well on devices with slow CPU and little amount of RAM. For years OpenWrt was using [[LuCI]], a web user interface written in [[http://en.wikipedia.org/wiki/Lua_(programming_language)|Lua]]. It required several Lua extensions (like ''ubus'', ''luci.model.uci'', ''nixio.fs'', etc.) to access system info and settings. Unfortunately this solution appeared to be quite resource consuming and didn't work well on devices with slow CPU and little amount of RAM.
Line 113: Line 117:
  console.log(memory);  console.log(memory);
 });</code> });</code>
- 
-==== How to test ==== 
-Code is being developed here [[https://github.com/jow-/luci-ng]] 
- 
-FIXME: As of March 2019 - The 'feed' method described here no longer works. 
- 
-Add new feed into [[docs:guide-developer:feeds|feeds.conf]] : 
-<code> 
-src-git luci2 https://github.com/jow-/luci-ng.git 
-</code> 
- 
-Install luci2 packages: 
-<code>./scripts/feeds update 
-./scripts/feeds install luci2 
-</code> 
- 
-Select package Luci2 in menuconfig and compile new image. 
  
  
  • Last modified: 2020/09/09 14:42
  • by jamesmacwhite