User Tools

Site Tools


Darkmatter - A new theme for LEDE/OpenWRT

Darkmatter is an alternative HTML5 theme for LuCI that has evolved from luci-theme-bootstrap & luci-theme-material, in an attempt to bring a more concise, clean and visually pleasing UX to LEDE/OpenWRT. Check it out, help testing on different devices with different configurations and submit fixes if you can. All is welcome and needed to improve it further.

Desktop View of Status Page

More Screenshots below. Source: https://github.com/apollo-ng/luci-theme-darkmatter

Installation

Due to changes made upstream by OpenWRT/LEDE crowd, the darkmatter theme is no longer working with 18.x release.

At this point, darkmatter isn't yet included upstream by the LEDE/OpenWRT crowd, so for now, please select an installation method most suited for your case to get it:

Adding Darkmatter to your running LEDE/OpenWRT as ipk package

via LuCI

via shell

$ cd /tmp
$ wget https://apollo.open-resource.org/downloads/luci-theme-darkmatter_0.2-beta-2_all.ipk
$ opkg install luci-theme-darkmatter_0.2-beta-2_all.ipk

Adding Darkmatter to your own LEDE/OpenWRT Build

Edit your feeds.conf and add the following to it:

# luci-theme-darkmatter
src-git darkmatter git://github.com/apollo-ng/luci-theme-darkmatter.git

Update your build environment and install the package:

$ scripts/feeds update darkmatter
$ scripts/feeds install luci-theme-darkmatter
$ make menuconfig

Go to LuCI → Themes, select luci-theme-darkmatter, exit, save and build as usual.

Enable the Theme

  • Go to System → System → Language and Style
  • Choose Darkmatter in the Design selectbox

More Screenshots

Desktop

Darkmatter theme for LuCI - Realtime Graphs Darkmatter theme for LuCI - Interfaces Darkmatter theme for LuCI - Wifi Darkmatter theme for LuCI - Wifi Edit

Tablet

 Darkmatter theme for LuCI - Startup

Phone

Discussion

chrono, 2017/01/09 13:11

There are currently some issues with LEDE and OpenWRT master/snapshots, since the there was a change from uclibc to musl, which wasn't tested. After a lot of feedback from early adaptors, it seems to be an easy fix and will be updated ASAP.

chrono, 2017/01/09 23:24, 2017/01/09 23:25

Links have been updated to point towards 0.2-beta-1, which is now based on upstream master (LEDE/OpenWRT) build env which seems to be downward compatible to 15.05 builds.

Two test-build have been rolled out here, one in local feed and the last via git-src, both installed fine here.

If you were one of the unlucky people, who couldn't install or build, please try again now.

chrono, 2017/01/10 20:33

In order to accommodate constraint devices like the mr3020 or others which don't have more than 4MB of flash, a first attempt to clean and optimize has been made and released as beta-2. Links have been updated.

fe80:3a68:7e29:6597:eb77:1c89:c3e9:6b0d, 2017/02/03 01:25

This is a very nice theme, thank you very much! Sharing it in my public builds.

fe80:c868:7bc4:c33f:d61b:f825:ff6a:cf2e, 2017/05/08 05:32

Nice! Thank you :)

fe80:1f46:d41b:1c50:ef90:2214:d020:1e4c, 2017/06/22 08:58

Collected errors: * wfopen: https://apollo.open-resource.org/downloads/luci-theme-darkmatter_0.2-beta-2_all.ipk: No such file or directory. * pkg_init_from_file: Failed to extract control file from https://apollo.open-resource.org/downloads/luci-theme-darkmatter_0.2-beta-2_all.ipk.

#### OpenWRT Chaos Calmer 15.05

fe80:c7e2:26e1:d72c:1608:5aa4:0cb5:5ebe, 2017/10/03 12:26

Hi, thanks for this pretty theme!

There's a small cosmetic issue on the Network/DHCP and DNS page, The MAC column of the Static Leases table doesn't cope well with entries that contain two space separated MACs.

A brief look into the css folder makes me and my html-fu from the 90s look very sad and unfit to offer a fix,

fe80:349e:931f:05d2:dab0:91a9:d5da:12c7, 2018/07/02 15:34, 2018/10/08 15:33

Looks great, but I can't install it via luci.

Collected errors:

 * opkg_conf_parse_file: /etc/opkg/distfeeds.conf:7: Ignoring invalid line: src-git darkmatter git://github.com/apollo-ng/luci-theme-darkmatter.git
 * wfopen: https://apollo.open-resource.org/downloads/luci-theme-darkmatter_0.2-beta-2_all.ipk: No such file or directory.
 * pkg_init_from_file: Failed to extract control file from https://apollo.open-resource.org/downloads/luci-theme-darkmatter_0.2-beta-2_all.ipk.
fe80:450f:fdf8:9b33:bbe4:97fb:4155:d5ea, 2018/08/10 02:10

I had a similar error. My work-around was to download the .ipk file directly to my PC, then copied it to the /tmp directory on my router and then installed it from there. NOTE: the new OpenWrt 18.06 stable release breaks this theme's formatting and a good bit of functionality, so I had to remove the theme :(. Unfortunately, I do not posess the nessesary skills to contribute a fix. I love this theme, and hope it's developer updates it and it becomes available in the official list of OpenWrt packages.

fe80:0756:811b:69c8:6bac:d3e9:6300:6a3e, 2018/08/17 07:06

Yes, I need DARK theme for Luci , all another is BRIGHT, I don't know why people want BRIGHT motives, not DARK :(. Please, help to save Dark Matter Theme and fixit it for OpenWrt 18.XX.

chrono, 2018/10/08 15:34

Ye, I feel you, that's why I created and published DarkMatter for OpenWRT in the first place :)

fe80:d31d:56e1:b3a6:b308:95ee:405a:c49c, 2018/09/29 07:50

Latest Openwrt 18.06.1 break the theme formatting an update would be appreciated as this is one of the best openwrt theme's.

chrono, 2018/10/08 15:31, 2018/12/26 11:16

ye, it seems current openwrt has made significant changes to their html/DOM so the matching won't work anymore :/ It's a total PITA to theme anyways and I don't have the time to run after the dev crowd and fix it, while they refuse to include it, so that it would get more attention.

See also: https://github.com/apollo-ng/luci-theme-darkmatter/issues/19

I'm still bound to 17.x, since there is still no NAND support in OpenWRT for the GL.Inet AR300M - I can't upgrade and I won't put time into theming something I can't even use :(

fe80:f5e7:a4e6:30c6:cb8a:325e:d95b:50e6, 2018/11/22 00:04

to istall darkmatter theme in openwrt 18.6 1- download manually

2-Go to System → Software 3-Paste the following URL into the Download and install package field:

http://download943.mediafire.com/4bnd9tz88emg/g5sn22yltuq495y/luci-theme- darkmatter_0.2-beta-2_all.ipk

after download it from https://apollo.open-resource.org/downloads/luci-theme-darkmatter_0.2-beta-2_all.ipk and upload it in mediafire worked for me 100%

fe80:4084:4991:a225:10fd:f3fa:40be:d456, 2018/12/26 09:38

when will you update this for openwrt 18.06?

fe80:bcc3:a085:361c:ba2f:ac2a:76eb:b8c0, 2018/12/26 09:59

これは18.06に動作しません。 更新してください

fe80:d673:4c84:79be:119d:ee68:2c20:6858, 2019/03/14 11:39

Dude, cant you at the very least offer a paid version of an updated darkmatter theme?

Some of us would be willing to pay a fair price for your time you know…

fe80:d673:4c84:79be:119d:ee68:2c20:6858, 2019/03/14 11:40

do a kickstarter

fe80:d673:4c84:79be:119d:ee68:2c20:6858, 2019/03/14 11:42

Set a price to get yourself an new router that works with new kernel, im sure you have enough fans to help get you there!

fe80:f667:7537:91e9:3f81:9016:ade2:ec13, 2019/08/26 11:44

Would also pay for a new version!

chrono, 2019/08/26 13:47

go check out the latest commit, there is a new PR merged that should work for 18.x - not tested tho!

fe80:8a64:832e:c0db:c02c:7ed9:9bbb:7e8c, 2019/11/09 19:26

Is there an updated .ipk to download with that latest PR so we can test?

You've done a great job with the theme. It's a pity it's not usable on latest version.

fe80:f2f4:195d:5282:7bd3:3961:edbf:efb1, 2020/01/31 11:54

Is the theme now available for v18 or v19?

chrono, 2020/02/02 12:41

checkout the openwrt-19 branch

fe80:1b24:5cc3:fc42:7680:b37e:6c70:2f09, 2020/02/03 00:07, 2020/02/03 10:18

Thanks for this update.

The link to the ipk package is still the same as the old one for v19 branch? In the readme I still see this one: https://apollo.open-resource.org/downloads/luci-theme-darkmatter_0.2-beta-2_all.ipk

Looks like it's the old package. It doesn't work on v19.

I tried also adding these to /etc/opkg/customfeeds.conf

# luci-theme-darkmatter
src-git darkmatter git://github.com/apollo-ng/luci-theme-darkmatter.git

but when I update the lists it throws an error. it doesn't understand src-git.

Any advice on installing the new v19 branch?

Thanks for your work.

chrono, 2020/02/03 10:23

afaik src-git feeds don't work on installed systems, they're for the openwrt build systems where you tell it where to get its sources. As openwrt-19 is still not working on my hardware (I'd laugh if it weren't so sad actually) I don't have one set up to create an ipk. If no one else builds and shares an ipk you'll have to build it yourself, or better yet, learn to build your own firmware images, because you can install way more onto it when NOT using ipk at all.

fe80:ce9a:14ff:398b:31c2:5a7e:2342:c3fa, 2020/04/14 11:32

works for me

Adding Darkmatter to your running LEDE/OpenWRT as ipk package via LuCI

Go to System → Software Paste the following URL into the Download and install package field:

http://pulpstone.pw/gigi/tema/lede/luci-theme-Material.ipk

Press Enter or click “OK”

chrono, 2020/04/14 11:43

nice! <3 for sharing

fe80:5553:e342:9200:c902:61c9:5547:d01e, 2020/04/14 12:27

The url http://pulpstone.pw/gigi/tema/lede/luci-theme-Material.ipk gives me a 404.

fe80:5553:e342:9200:c902:61c9:5547:d01e, 2020/04/14 12:42

# wget http://pulpstone.pw/gigi/tema/lede/luci-theme-Material.ipk

–2020-04-14 14:28:45– http://pulpstone.pw/gigi/tema/lede/luci-theme-Material.ipk Resolving pulpstone.pw… 108.167.180.185 Connecting to pulpstone.pw|108.167.180.185|:80… connected. HTTP request sent, awaiting response… 301 Moved Permanently Location: https://pulpstone.pw/gigi/tema/lede/luci-theme-Material.ipk [following] –2020-04-14 14:28:46– https://pulpstone.pw/gigi/tema/lede/luci-theme-Material.ipk Connecting to pulpstone.pw|108.167.180.185|:443… connected. HTTP request sent, awaiting response… 404 Not Found 2020-04-14 14:28:51 ERROR 404: Not Found.

fe80:b897:8bca:9dd0:ed88:77f7:1231:3418, 2020/05/05 21:47

JUSTE COPIE URL AND PUT IT AT SYSTEM/SOFTWARE

1-ENTER TO 192.168… THEN CLICK SYSTEM SELECT SOFTWARE

2-YOU WIL SEE THIS IN THE RIGHT OF THE PAGE

Download and install package: http://pulpstone.pw/gigi/tema/lede/luci-theme-darkmatter.ipk AND CLICK OK

fe80:8ef4:3c06:369c:c1fd:2be8:1087:feb8, 2020/05/05 19:18

New Netgear Theme

pics

http://pic20.picturetrail.com/VOL1312/13793124/24857346/414423428.jpg

http://pic20.picturetrail.com/VOL1312/13793124/24857346/414423427.jpg

http://pic20.picturetrail.com/VOL1312/13793124/24857346/414423426.jpg

Adding NETGEAR to your running LEDE/OpenWRT as ipk package via LuCI

Go to System → Software Paste the following URL into the Download and install package field:

http://pulpstone.pw/gigi/tema/lede/luci-theme-netgear.ipk

Press Enter or click “OK”

fe80:0201:4215:53b9:1bc3:efa6:3183:415a, 2020/05/21 20:02

How do I fix this? I tried installing the netgear theme on my R7800 and this is what I get when I try to use Luci:

/usr/lib/lua/luci/template.lua:97: Failed to execute template 'sysauth'.

A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'header'.

A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'themes/netgear/header'.

A runtime error occurred: [string ”/usr/lib/lua/luci/view/themes/netgear/heade…”]:21: attempt to call field 'node_childs' (a nil value)

stack traceback:

[string "/usr/lib/lua/luci/view/themes/netgear/heade..."]:21: in main chunk

stack traceback:

[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function 'render'
/usr/lib/lua/luci/dispatcher.lua:755: in function 'include'
[string "/usr/lib/lua/luci/view/header.htm"]:3: in main chunk

stack traceback:

[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function 'render'
/usr/lib/lua/luci/dispatcher.lua:755: in function 'include'
[string "/usr/lib/lua/luci/view/sysauth.htm"]:1: in main chunk

stack traceback:

[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function </usr/lib/lua/luci/template.lua:85>
(tail call): ?
(tail call): ?
/usr/lib/lua/luci/dispatcher.lua:979: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:478: in function </usr/lib/lua/luci/dispatcher.lua:477>
fe80:0201:4215:53b9:1bc3:efa6:3183:415a, 2020/05/22 10:47

I fixed this by editing /etc/config/luci and at the top I changed the default theme back to bootstrap and my problem went away … now to figure out how to get themes working properly…

fe80:0201:4215:53b9:1bc3:efa6:3183:415a, 2020/05/22 11:04

So I did what you posted … went into System → Software and pasted this link into the Download area: http://pulpstone.pw/gigi/tema/lede/luci-theme-darkmatter.ipk

And the package installed successfully, but now when I access the router, it comes back with this (I'm running on a Netgear R7800 and here are the versions of OpenWRT and Luci that I'm running - OpenWrt 19.07.2 r10947-65030d81f3 / LuCI openwrt-19.07 branch git-20.140.38620-8d89f0d) :

/usr/lib/lua/luci/template.lua:97: Failed to execute template 'sysauth'. A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'header'. A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'themes/darkmatter/header'. A runtime error occurred: [string ”/usr/lib/lua/luci/view/themes/darkmatter/he…”]:21: attempt to call field 'node_childs' (a nil value) stack traceback:

[string "/usr/lib/lua/luci/view/themes/darkmatter/he..."]:21: in main chunk

stack traceback:

[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function 'render'
/usr/lib/lua/luci/dispatcher.lua:755: in function 'include'
[string "/usr/lib/lua/luci/view/header.htm"]:3: in main chunk

stack traceback:

[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function 'render'
/usr/lib/lua/luci/dispatcher.lua:755: in function 'include'
[string "/usr/lib/lua/luci/view/sysauth.htm"]:1: in main chunk

stack traceback:

[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function </usr/lib/lua/luci/template.lua:85>
(tail call): ?
(tail call): ?
/usr/lib/lua/luci/dispatcher.lua:979: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:478: in function </usr/lib/lua/luci/dispatcher.lua:477>
fe80:23a2:c5af:fa22:f97f:03c4:504d:a0a7, 2020/06/26 20:24

about your problem the old lede openwrt 17.1 project its difernt than the new project openwrt 19.7 themes will not work in it

but

you can use the GoldenOrb project frome here and try to install netgear on it

https://ofmodemsandmen.com/firmware16.html

chrono, 2020/06/26 23:22, 2020/06/26 23:23

Patches to get Darkmatter to work on newer openwrt have been merged into master on github. There is no new apk, if you want it, you'll have to build it yourself. Please dont SPAM non darkmatter related stuff in the comments.

Enter your comment. Wiki syntax is allowed:
   __ __   __ __   __  ___   ____   ____
  / //_/  / //_/  /  |/  /  / __/  / __/
 / ,<    / ,<    / /|_/ /  / _/   / _/  
/_/|_|  /_/|_|  /_/  /_/  /___/  /___/