🤞 Sync 2026-09-27 22:16:29

This commit is contained in:
github-actions[bot] committed 2026-09-27 22:16:29 +08:00
1 parent 8ede4a8320
commit 618f51e9dc
459 files changed
+44817 -2191

No files matched your search

+18 -8
View File
@@ -7,39 +7,49 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=quickfile
PKG_VERSION:=1.0.25
PKG_RELEASE:=11
PKG_VERSION:=2.0.1
PKG_RELEASE:=12
PKG_SOURCE:=quickfile-$(PKG_VERSION).tar.gz
PKG_SOURCE:=quickfile-src-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://r2.cooluc.com/source
PKG_HASH:=skip
PKG_BUILD_DIR:=$(BUILD_DIR)/quickfile-src-$(PKG_VERSION)
PKG_MAINTAINER:=sbwml <admin@cooluc.com>
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=rust/host
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/rust/rust-package.mk
define Package/quickfile
SECTION:=net
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=Quick File Manager
DEPENDS:=@(arm||aarch64||x86_64)
DEPENDS:=$(RUST_ARCH_DEPENDS) +liblzma
URL:=https://git.cooluc.com/sbwml/quickfile
endef
define Package/quickfile/description
Lightweight web-based file manager for OpenWrt/LuCI with minimal resource usage.
A high-performance, lightweight web file manager built with Rust (Axum) and Vue 3,
featuring an integrated terminal and multimedia preview, tailored for embeddedsystems
and the OpenWrt ecosystem.
endef
define Build/Compile
endef
CARGO_PKG_VARS += QUICKFILE_VERSION=v$(PKG_VERSION)-r$(PKG_RELEASE)
define Package/quickfile/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/quickfile.$(ARCH) $(1)/usr/bin/quickfile
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/quickfile $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/init.d $(1)/etc/nginx/conf.d
$(INSTALL_BIN) $(CURDIR)/files/quickfile.init $(1)/etc/init.d/quickfile
$(INSTALL_CONF) $(CURDIR)/files/quickfile.locations $(1)/etc/nginx/conf.d/quickfile.locations
endef
$(eval $(call RustBinPackage,quickfile))
$(eval $(call BuildPackage,quickfile))
+4 -6
View File
@@ -1,15 +1,12 @@
# The default temporary storage space in OpenWrt may be limited.
# To upload large files, please modify the `client_body_temp_path`
# directory to a location with larger storage capacity.
client_max_body_size 0;
client_body_buffer_size 128k;
#client_body_temp_path /mnt/quickfile_tmp;
location /cgi-bin/luci/quickfile {
proxy_cache off;
proxy_redirect off;
proxy_buffering off;
proxy_request_buffering off;
proxy_http_version 1.1;
proxy_connect_timeout 300;
proxy_read_timeout 300;
@@ -26,6 +23,7 @@ location /cgi-bin/luci/quickfile/api/ {
proxy_cache off;
proxy_redirect off;
proxy_buffering off;
proxy_request_buffering off;
proxy_http_version 1.1;
proxy_connect_timeout 300;
proxy_read_timeout 300;
@@ -35,7 +33,7 @@ location /cgi-bin/luci/quickfile/api/ {
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
rewrite ^/cgi-bin/luci/quickfile/api/(.*) /api/$1?host=$scheme://$host break;
rewrite ^/cgi-bin/luci/quickfile/api/(.*) /api/$1 break;
proxy_pass http://unix:/tmp/run/quickfile/quickfile.sock;
}
@@ -43,6 +41,6 @@ location /cgi-bin/luci/quickfile-static/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
rewrite ^/cgi-bin/luci/quickfile-static/(.*) /static/$1?host=$scheme://$host break;
rewrite ^/cgi-bin/luci/quickfile-static/(.*) /static/$1 break;
proxy_pass http://unix:/tmp/run/quickfile/quickfile.sock;
}