Skip to content

Conversation

ebraminio
Copy link

This adds dark mode support to lighttpd's dirlisting generated pages.

Nowadays files transferred to browser via text/* MIME are also getting automatic dark mode by the browsers so this makes lighttpd's dirlisting compatible with those features of the browsers.

Screen.Recording.2024-06-08.at.9.03.36.PM.mov

lighttpd 1.4 version of the patch: lighttpd/lighttpd1.4#134

(build instruction self note for future)

meson setup --buildtype debugoptimized build # currently with -Dlua=false due to a compile issue
cp contrib/lighttpd.conf .. # then edit it
ninja -C build && (cd .. && lighttpd2/build/src/main/lighttpd2-worker -m lighttpd2/build/src/modules/)

This adds dark mode support to lighttpd's dirlisting generated pages.

Nowadays files transferred to browser via text/* MIME are also getting
automatic dark mode by the browsers so this makes lighttpd's dirlisting
compatible with those features of the browsers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant