luci-app-alist/README.md
sbwml d123315bcc ci/docs: update to go1.22
Signed-off-by: sbwml <admin@cooluc.com>
2024-07-21 22:17:01 +08:00

63 lines
1.3 KiB
Markdown

# luci-app-alist
A file list program that supports multiple storage.
## 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.22.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 22.x feeds/packages/lang/golang
```
*2. get luci-app-alist source & building*
```shell
git clone https://github.com/sbwml/luci-app-alist package/alist
make menuconfig # choose LUCI -> Applications -> luci-app-alist
make package/alist/luci-app-alist/compile V=s # build luci-app-alist
```
--------------
## How to install prebuilt packages
- Login OpenWrt terminal (SSH)
- Install `curl` package
```shell
opkg update
opkg install curl
```
- Execute install script (Multi-architecture support)
```shell
sh -c "$(curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-alist/master/install.sh)"
```
--------------
![](https://user-images.githubusercontent.com/16485166/190462187-5d54725e-1d9b-45f3-854f-403b882fb223.png)