Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 新增 filebrowser #673

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions apps/filebrowser/2.26.0/data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 40071
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number
- default: ./data/mnt
edit: true
envKey: MOUNT_PATH
labelEn: Mount folder path
labelZh: 挂载文件夹路径
required: true
type: text
8 changes: 8 additions & 0 deletions apps/filebrowser/2.26.0/data/.filebrowser.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"port": 80,
"baseURL": "",
"address": "",
"log": "stdout",
"database": "/database/filebrowser.db",
"root": "/srv"
}
Empty file.
19 changes: 19 additions & 0 deletions apps/filebrowser/2.26.0/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: '3'
services:
filebrowser:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
volumes:
- "${MOUNT_PATH}:/srv"
- "./data/database.db:/database.db"
- "./data/.filebrowser.json:/.filebrowser.json"
image: filebrowser/filebrowser:v2.26.0
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
21 changes: 21 additions & 0 deletions apps/filebrowser/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 使用说明

- 默认账户密码

```
username:admin
password:admin
```

# filebrowser

**filebrowser** 提供了指定目录下的文件管理界面,可以用来上传、删除、预览、重命名和编辑文件。它允许创建多个用户,每个用户可以有自己的目录。它可以用作独立的应用程序。

## 主要功能:

- **文件管理**:浏览文件和文件夹,创建、复制、移动和删除文件,以及创建新文件夹。
- **文件预览**:预览文本文件、图像、视频和其他常见文件格式,方便快速查看内容。
- **文件编辑**:对文本文件进行编辑,例如代码文件(支持语法高亮)、配置文件等。
- **文件分享**:生成链接或共享码,以便他人访问特定文件或文件夹。
- **用户认证和权限控制**:可以设置用户账户、权限和访问控制,确保文件的安全性和隐私性。
- **多平台支持**:可以在不同的操作系统上部署和运行,例如 Linux、Windows 和 macOS。
20 changes: 20 additions & 0 deletions apps/filebrowser/data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: File Browser
tags:
- 实用工具
title: 网页文件浏览器
type: 实用工具
description: 网页文件浏览器
additionalProperties:
key: filebrowser
name: File Browser
tags:
- Tool
shortDescZh: 网页文件浏览器
shortDescEn: Web File Browser
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://filebrowser.org/
github: https://github.com/filebrowser/filebrowser
document: https://filebrowser.org/
Binary file added apps/filebrowser/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.