开源项目安装指南:Jerrykuku 的 Luci Theme Argon

开源项目安装指南:Jerrykuku 的 Luci Theme Argon

luci-theme-argon Argon is a clean and tidy OpenWrt LuCI theme that allows users to customize their login interface with images or videos. It also supports automatic and manual switching between light and dark modes. luci-theme-argon 项目地址: https://gitcode.com/gh_mirrors/lu/luci-theme-argon

项目基础介绍与编程语言

Luci Theme Argon 是一个专为 OpenWrt 设计的清晰简洁的主题,允许用户通过图像或视频自定义登录界面。它支持系统自动及手动切换深色和浅色模式。此主题基于 HTML5 开发,并且主要涉及的编程语言包括 Less、HTML、JavaScript 和 Shell,其中以 Less 编写的 CSS 样式为重头戏。

关键技术和框架

  • LuCI: 这是 OpenWrt 用户界面的核心,提供了一个Web配置界面。
  • Less: 用于构建项目的CSS预处理器,简化CSS的编写和维护。
  • 适应性设计: 支持移动设备显示优化,确保在各种屏幕尺寸上的良好体验。
  • 主题自定义: 支持用户上传个性化图片或视频作为登录背景。
  • 暗黑模式: 提供自动跟随系统或用户可固定选择的亮暗模式切换功能。

安装和配置教程

准备工作

  1. 环境需求:确保你的开发环境已准备好Git客户端,以及适合编译OpenWrt的工具链(如GCC)。
  2. 知识准备:基本的Linux命令行操作知识。
  3. 目标平台:适用于OpenWrt官方版本、ImmortalWrt或其他基于OpenWrt的固件。

安装步骤

对于Lean的LEDE项目:
  1. 克隆仓库

    cd lede/package/lean
    rm -rf luci-theme-argon
    git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git luci-theme-argon
    
  2. 配置与编译

    make menuconfig
    # 在LUCI->Theme中选择Luci-theme-argon
    make -j1 V=s
    
对于OpenWrt官方或ImmortalWrt:
  1. 同样从Git获取主题

    cd openwrt/package
    git clone https://github.com/jerrykuku/luci-theme-argon.git
    
  2. 配置并编译

    make menuconfig
    # 同样,在LUCI->Theme中选中Luci-theme-argon
    make -j1 V=s
    

安装到设备上

对于已经编译好的固件,或者直接安装主题包:

  1. 下载主题包(假设你想安装最新版到已运行的系统上):

    • 对于旧版系统(例如18.06系列):
      wget --no-check-certificate https://github.com/jerrykuku/luci-theme-argon/releases/download/v1.8.2/luci-theme-argon_1.8.2-20230609_all.ipk
      opkg install luci-theme-argon_1.8.2-20230609_all.ipk
      
    • 对于较新或官方SnapShot:
      opkg install luci-compat
      opkg install luci-lib-ipkg
      wget --no-check-certificate https://github.com/jerrykuku/luci-theme-argon/releases/download/v2.3.1/luci-theme-argon_2.3.1_all.ipk
      opkg install luci-theme-argon_2.3.1_all.ipk
      
  2. 启用并享受:安装后,重启OpenWrt的Web管理界面即可看到新的主题效果。

配置扩展

为了进一步定制,可以安装主题设置插件:

wget --no-check-certificate https://github.com/jerrykuku/luci-app-argon-config/releases/download/v0.9/luci-app-argon-config_0.9_all.ipk
opkg install luci-app-argon-config_0.9_all.ipk

完成以上步骤后,您就成功地将Argon主题应用到了您的OpenWrt系统上,通过Web管理界面进行个性化调整,享受更为美观的用户体验。请注意,为了最佳显示效果,推荐使用Chrome浏览器。

luci-theme-argon Argon is a clean and tidy OpenWrt LuCI theme that allows users to customize their login interface with images or videos. It also supports automatic and manual switching between light and dark modes. luci-theme-argon 项目地址: https://gitcode.com/gh_mirrors/lu/luci-theme-argon

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

滕宜奕Miles

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值