Skip to content

FileCodeBox v1.11.1

Choose a tag to compare

@github-actions github-actions released this 02 Feb 18:37
· 15 commits to main since this release

FileCodeBox v1.11.1

📝 本次更新

  • feat: 实现后端二维码生成功能并优化相关组件 (ddc9535)

� 变更统计

 config.yaml                             |   2 +-
 docs/changelogs/QR_CODE_FEATURE.md      | 118 ++++++++++++++++++++++++++
 go.mod                                  |   1 +
 go.sum                                  |   3 +
 internal/handlers/qrcode.go             | 121 +++++++++++++++++++++++++++
 internal/handlers/share.go              |  33 ++++++--
 internal/handlers/user.go               |   6 ++
 internal/models/web/share.go            |  10 ++-
 internal/routes/qrcode.go               |  26 ++++++
 internal/routes/setup.go                |   3 +
 internal/routes/user.go                 |  14 +++-
 internal/services/qrcode.go             |  82 +++++++++++++++++++
 internal/services/services.go           |   1 +
 internal/services/user/profile.go       |   6 +-
 test_backend_qr.sh                      |  98 ++++++++++++++++++++++
 test_qr_feature.sh                      |  66 +++++++++++++++
 tests/test_user_registration_control.sh | 141 ++++++++++++++++++++++++++++++++
 themes/2025/admin/css/admin-modern.css  |   8 +-
 themes/2025/css/components.css          |  54 ++++++++++++
 themes/2025/js/share.js                 |  45 ++++++++++
 themes/2025/js/upload.js                |  51 +++++++++++-
 21 files changed, 867 insertions(+), 22 deletions(-)

�🚀 功能特性

  • ✅ 多平台可执行文件支持 (Linux, macOS, Windows)
  • ✅ 支持 AMD64 和 ARM64 架构
  • ✅ Docker 镜像自动构建和发布
  • ✅ 文件上传下载服务
  • ✅ 用户认证系统
  • ✅ 管理员控制面板
  • ✅ 多种存储后端支持 (本地/S3/WebDAV)

📦 安装方式

方式一:直接下载可执行文件

选择对应平台的文件下载:

  • 🐧 Linux x64: filecodebox-linux-amd64.tar.gz
  • 🐧 Linux ARM64: filecodebox-linux-arm64.tar.gz
  • 🍎 macOS Intel: filecodebox-darwin-amd64.tar.gz
  • 🍎 macOS Apple Silicon: filecodebox-darwin-arm64.tar.gz
  • 🪟 Windows x64: filecodebox-windows-amd64.zip
  • 🪟 Windows ARM64: filecodebox-windows-arm64.zip

方式二:Docker 部署

# 拉取镜像
docker pull ghcr.io/zy84338719/filecodebox:v1.11.1

# 运行容器
docker run -d \
  --name filecodebox \
  -p 12345:12345 \
  -v ./data:/app/data \
  ghcr.io/zy84338719/filecodebox:v1.11.1

方式三:Docker Compose

version: '3.8'
services:
  filecodebox:
    image: ghcr.io/zy84338719/filecodebox:v1.11.1
    ports:
      - "12345:12345"
    volumes:
      - ./data:/app/data
    restart: unless-stopped

🔧 快速开始

  1. 下载并启动服务

    • 下载对应平台的文件并解压
    • 运行 ./filecodebox (Linux/macOS) 或 filecodebox.exe (Windows)
  2. 访问服务

  3. 基本配置

    • 修改管理员密码
    • 配置存储后端
    • 设置用户系统开关

📋 系统要求

  • 操作系统: Linux, macOS, Windows
  • 架构: AMD64 或 ARM64
  • 内存: 最小 64MB,推荐 256MB+
  • 存储: 根据使用量而定
  • 网络: HTTP/HTTPS 端口访问

🔒 安全说明

  • 首次启动请立即修改默认管理员密码
  • 生产环境建议配置 HTTPS
  • 定期备份数据目录

🆘 问题反馈

如遇到问题,请访问:


构建信息

  • 构建时间: 2026-02-02 18:45:40 UTC
  • Git 提交: ddc9535
  • Go 版本: go1.24.12