72 lines
1.7 KiB
Markdown
72 lines
1.7 KiB
Markdown
# luci-app-openlist
|
|
|
|
🗂️ A file list program that supports multiple storage, powered by Gin and Solidjs.
|
|
|
|
## How to build
|
|
|
|
- Install `libfuse` development package.
|
|
|
|
- ubuntu/debian:
|
|
```shell
|
|
sudo apt update
|
|
sudo apt install libfuse-dev
|
|
```
|
|
|
|
- redhat:
|
|
```shell
|
|
sudo yum install fuse-devel
|
|
```
|
|
|
|
- arch:
|
|
```shell
|
|
sudo pacman -S fuse2
|
|
```
|
|
|
|
- Enter in your openwrt dir
|
|
|
|
- Openwrt official SnapShots
|
|
|
|
*1. requires golang 1.24.x or latest version (Fix build for older branches of OpenWrt.)*
|
|
```shell
|
|
rm -rf feeds/packages/lang/golang
|
|
git clone https://github.com/sbwml/packages_lang_golang -b 24.x feeds/packages/lang/golang
|
|
```
|
|
|
|
*2. get luci-app-openlist code & building*
|
|
```shell
|
|
git clone https://github.com/sbwml/luci-app-openlist package/openlist
|
|
make menuconfig # choose LUCI -> Applications -> luci-app-openlist
|
|
make package/openlist/luci-app-openlist/compile V=s # build luci-app-openlist
|
|
```
|
|
|
|
--------------
|
|
|
|
## How to install prebuilt packages
|
|
|
|
- Login OpenWrt terminal (SSH)
|
|
|
|
- Install `curl` package
|
|
```shell
|
|
# for opkg package manager (openwrt 21.02 ~ 24.10)
|
|
opkg update
|
|
opkg install curl
|
|
|
|
# for apk package manager
|
|
apk update
|
|
apk add curl
|
|
```
|
|
|
|
- Execute install script (Multi-architecture support)
|
|
```shell
|
|
sh -c "$(curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-openlist/main/install.sh)"
|
|
```
|
|
|
|
install via ghproxy:
|
|
```shell
|
|
sh -c "$(curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-openlist/main/install.sh)" _ gh_proxy="https://gh.cooluc.com"
|
|
```
|
|
|
|
--------------
|
|
|
|

|