feat: 适配应用到 v2 应用商店版本

This commit is contained in:
okxlin 2023-05-22 21:44:39 +08:00
parent 6f16028a2d
commit 7b17124bc5
227 changed files with 1077 additions and 4062 deletions

20
ALS/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: ALS
tags:
- 工具
title: Another Looking-glass Server测速服务端
type: 工具
description: Another Looking-glass Server测速服务端
additionalProperties:
key: ALS
name: ALS
tags:
- Tool
shortDescZh: Another Looking-glass Server测速服务端
shortDescEn: Another Looking-glass Server,Speed measurement server
type: tool
crossVersionUpdate: false
limit: 0
recommend: 0
website: https://github.com/wikihost-opensource/als
github: https://github.com/wikihost-opensource/als
document: https://github.com/wikihost-opensource/als

10
ALS/latest/data.yml Normal file
View File

@ -0,0 +1,10 @@
additionalProperties:
formFields:
- default: 20080
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: WebUI Port
labelZh: 网页端口
required: true
rule: paramPort
type: number

View File

Before

Width:  |  Height:  |  Size: 581 B

After

Width:  |  Height:  |  Size: 581 B

View File

@ -1,14 +0,0 @@
{
"key": "ALS",
"name": "ALS",
"tags": ["Tool"],
"versions": ["latest"],
"shortDescZh": "Another Looking-glass Server测速服务端",
"shortDescEn": "Another Looking-glass Server,Speed measurement server",
"type": "tool",
"limit": 0,
"crossVersionUpdate": false,
"website": "https://github.com/wikihost-opensource/als",
"github": "https://github.com/wikihost-opensource/als",
"document": "https://github.com/wikihost-opensource/als"
}

View File

@ -1,15 +0,0 @@
{
"formFields": [
{
"type": "number",
"labelZh": "网页端口",
"labelEn": "WebUI Port",
"required": true,
"default": 20080,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
}
]
}

View File

@ -0,0 +1,16 @@
additionalProperties:
formFields:
- default: 127.0.0.1:9003
edit: true
envKey: FastCGI_Server_PORT
labelEn: Port
labelZh: 端口
required: true
type: text
- default: /opt/1panel/apps/openresty/OpenResty/www
edit: true
envKey: Site_Path
labelEn: Website directory file path
labelZh: 网站目录文件路径
required: true
type: text

View File

@ -0,0 +1,16 @@
additionalProperties:
formFields:
- default: 127.0.0.1:9001
edit: true
envKey: FastCGI_Server_PORT
labelEn: Port
labelZh: 端口
required: true
type: text
- default: /opt/1panel/apps/openresty/OpenResty/www
edit: true
envKey: Site_Path
labelEn: Website directory file path
labelZh: 网站目录文件路径
required: true
type: text

View File

@ -0,0 +1,16 @@
additionalProperties:
formFields:
- default: 127.0.0.1:9002
edit: true
envKey: FastCGI_Server_PORT
labelEn: Port
labelZh: 端口
required: true
type: text
- default: /opt/1panel/apps/openresty/OpenResty/www
edit: true
envKey: Site_Path
labelEn: Website directory file path
labelZh: 网站目录文件路径
required: true
type: text

View File

@ -0,0 +1,20 @@
name: PHP-Unofficial
tags:
- 工具
title: PHP是一种流行的服务器端脚本语言
type: 工具
description: PHP是一种流行的服务器端脚本语言
additionalProperties:
key: PHP-Unofficial
name: PHP-Unofficial
tags:
- Tool
shortDescZh: PHP是一种流行的服务器端脚本语言
shortDescEn: PHP is a popular server-side scripting language
type: tool
crossVersionUpdate: false
limit: 0
recommend: 0
website: https://www.php.net/
github: https://github.com/php/php-src
document: https://www.php.net/docs.php

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -1,15 +0,0 @@
{
"key": "PHP-Unofficial",
"name": "PHP-Unofficial",
"tags": ["Tool"],
"versions": ["7.4.33","7.4.33-alpine","8.1.17"],
"shortDescZh": "PHP是一种流行的服务器端脚本语言。",
"shortDescEn": "PHP is a popular server-side scripting language",
"type": "tool",
"limit": 0,
"crossVersionUpdate": false,
"website": "https://www.php.net/",
"github": "https://github.com/php/php-src",
"document": "https://www.php.net/docs.php"
}

View File

@ -1,128 +0,0 @@
# 介绍
这是个非1Panel官方制作的PHP容器。
# 注意事项
~~在1Panel V1.0.5及以下版本条件下需要对官方OpenResty镜像和OpenResty配置进行修改才能正常部署PHP网站。~~
- 写在20230414
1Panel V1.1.0版本的openresty已经添加了php文件支持但存在缺点需要在创建网站时即创建PHP运行环境
如果现有网站需要添加可能需要删除重建,这边提供另外一种思路。
如果修改openresty不同的PHP版本只要监听不同的PHP容器服务端口即可方便快捷。
> 以下是操作过程
V1.1.0版本拦截了PHP配置如果需要使用第三方PHP容器提供服务。
需要修改openresty目录下的`fastcgi_params`文件,
`fastcgi_params`文件所在位置。以默认安装在`/opt`路径为例子,
```
/opt/1panel/apps/openresty/自定容器名/conf
```
修改成如下:
```
# 添加行1
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param REQUEST_SCHEME $scheme;
fastcgi_param HTTPS $https if_not_empty;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
# PHP only, required if PHP was built with --enable-force-cgi-redirect
fastcgi_param REDIRECT_STATUS 200;
# 添加行2非必要
fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";
```
然后修改openresty配置监听php-fpm端口即可。
```
# php服务端口例如 127.0.0.1:9000按需修改
location ~ [^/]\.php(/|$) {
fastcgi_pass 127.0.0.1:9000;
include fastcgi-php.conf;
include fastcgi_params;
}
```
点击保存并重载即可或重启openresty容器。
# 特性
<details>
<summary>启用拓展如下</summary>
> - [PHP Modules]
>> - bcmath
>> - Core
>> - ctype
>> - curl
>> - date
>> - dom
>> - exif
>> - fileinfo
>> - filter
>> - ftp
>> - gd
>> - gettext
>> - hash
>> - iconv
>> - imagick
>> - imap
>> - intl
>> - json
>> - libxml
>> - mbstring
>> - mcrypt
>> - memcached
>> - mysqli
>> - mysqlnd
>> - openssl
>> - pcre
>> - PDO
>> - pdo_mysql
>> - pdo_sqlite
>> - Phar
>> - posix
>> - rar
>> - readline
>> - redis
>> - Reflection
>> - session
>> - SimpleXML
>> - sodium
>> - SPL
>> - sqlite3
>> - standard
>> - tokenizer
>> - xml
>> - xmlreader
>> - xmlwriter
>> - xsl
>> - zip
>> - zlib
> - [Zend Modules]
</details>

View File

@ -1,23 +0,0 @@
{
"formFields": [
{
"type": "text",
"labelZh": "端口",
"labelEn": "Port",
"required": true,
"default": "127.0.0.1:9003",
"envKey": "FastCGI_Server_PORT",
"edit": true
},
{
"type": "text",
"labelZh": "网站目录文件路径",
"labelEn": "Website directory file path",
"required": true,
"default": "/opt/1panel/apps/openresty/OpenResty/www",
"envKey": "Site_Path",
"edit": true
}
]
}

View File

@ -1,128 +0,0 @@
# 介绍
这是个非1Panel官方制作的PHP容器。
# 注意事项
~~在1Panel V1.0.5及以下版本条件下需要对官方OpenResty镜像和OpenResty配置进行修改才能正常部署PHP网站。~~
- 写在20230414
1Panel V1.1.0版本的openresty已经添加了php文件支持但存在缺点需要在创建网站时即创建PHP运行环境
如果现有网站需要添加可能需要删除重建,这边提供另外一种思路。
如果修改openresty不同的PHP版本只要监听不同的PHP容器服务端口即可方便快捷。
> 以下是操作过程
V1.1.0版本拦截了PHP配置如果需要使用第三方PHP容器提供服务。
需要修改openresty目录下的`fastcgi_params`文件,
`fastcgi_params`文件所在位置。以默认安装在`/opt`路径为例子,
```
/opt/1panel/apps/openresty/自定容器名/conf
```
修改成如下:
```
# 添加行1
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param REQUEST_SCHEME $scheme;
fastcgi_param HTTPS $https if_not_empty;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
# PHP only, required if PHP was built with --enable-force-cgi-redirect
fastcgi_param REDIRECT_STATUS 200;
# 添加行2非必要
fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";
```
然后修改openresty配置监听php-fpm端口即可。
```
# php服务端口例如 127.0.0.1:9000按需修改
location ~ [^/]\.php(/|$) {
fastcgi_pass 127.0.0.1:9000;
include fastcgi-php.conf;
include fastcgi_params;
}
```
点击保存并重载即可或重启openresty容器。
# 特性
<details>
<summary>启用拓展如下</summary>
> - [PHP Modules]
>> - bcmath
>> - Core
>> - ctype
>> - curl
>> - date
>> - dom
>> - exif
>> - fileinfo
>> - filter
>> - ftp
>> - gd
>> - gettext
>> - hash
>> - iconv
>> - imagick
>> - imap
>> - intl
>> - json
>> - libxml
>> - mbstring
>> - mcrypt
>> - memcached
>> - mysqli
>> - mysqlnd
>> - openssl
>> - pcre
>> - PDO
>> - pdo_mysql
>> - pdo_sqlite
>> - Phar
>> - posix
>> - rar
>> - readline
>> - redis
>> - Reflection
>> - session
>> - SimpleXML
>> - sodium
>> - SPL
>> - sqlite3
>> - standard
>> - tokenizer
>> - xml
>> - xmlreader
>> - xmlwriter
>> - xsl
>> - zip
>> - zlib
> - [Zend Modules]
</details>

View File

@ -1,23 +0,0 @@
{
"formFields": [
{
"type": "text",
"labelZh": "端口",
"labelEn": "Port",
"required": true,
"default": "127.0.0.1:9001",
"envKey": "FastCGI_Server_PORT",
"edit": true
},
{
"type": "text",
"labelZh": "网站目录文件路径",
"labelEn": "Website directory file path",
"required": true,
"default": "/opt/1panel/apps/openresty/OpenResty/www",
"envKey": "Site_Path",
"edit": true
}
]
}

View File

@ -1,23 +0,0 @@
{
"formFields": [
{
"type": "text",
"labelZh": "端口",
"labelEn": "Port",
"required": true,
"default": "127.0.0.1:9002",
"envKey": "FastCGI_Server_PORT",
"edit": true
},
{
"type": "text",
"labelZh": "网站目录文件路径",
"labelEn": "Website directory file path",
"required": true,
"default": "/opt/1panel/apps/openresty/OpenResty/www",
"envKey": "Site_Path",
"edit": true
}
]
}

View File

@ -1,5 +1,5 @@
## 1.简介
这是一些适配`1Panel`商店的docker应用配置。
这是一些适配`1Panel`商店`2.0`版本的docker应用配置。
## 2.使用方式
@ -8,37 +8,42 @@
### 2.1
- 当`/opt/1panel/resource/localApps`文件夹下没有任何内容,则可以
- 当`/opt/1panel/resource/apps/local`文件夹下没有任何内容,则可以
```shell
git clone -b localApps https://github.com/okxlin/appstore /opt/1panel/resource/localApps
git clone -b localApps https://github.com/okxlin/appstore /opt/1panel/resource/apps/local
```
然后应用商店刷新本地应用即可。
### 2.2
- 当`/opt/1panel/resource/localApps`文件夹下已经存在文件内容,
- 当`/opt/1panel/resource/apps/local`文件夹下已经存在文件内容,
```shell
cd /opt/1panel/resource/localApps # 进入目标目录
wget https://github.com/okxlin/appstore/archive/refs/heads/localApps.zip # 从GitHub下载ZIP文件
unzip localApps.zip # 解压下载的ZIP文件
cp /opt/1panel/resource/localApps/list.json /opt/1panel/resource/localApps/list.json.bak # 备份目标目录中的list.json文件
cd appstore-localApps # 进入解压后的目录
mv ./* .. # 将所有文件和目录移动到父目录中
cd /opt/1panel/resource/localApps # 进入目标目录
rm -r /opt/1panel/resource/localApps/appstore-localApps # 删除解压后的目录及其内容
rm /opt/1panel/resource/localApps/localApps.zip # 删除下载的ZIP文件
cd /opt/1panel/resource/apps/local # 进入目标目录
wget https://github.com/okxlin/appstore/archive/refs/heads/localApps.zip # 从GitHub下载ZIP文件
unzip localApps.zip # 解压下载的ZIP文件
cd appstore-localApps # 进入解压后的目录
mv ./* .. # 将所有文件和目录移动到父目录中
cd /opt/1panel/resource/apps/local # 进入目标目录
rm -r /opt/1panel/resource/apps/local/appstore-localApps # 删除解压后的目录及其内容
rm /opt/1panel/resource/apps/local/localApps.zip # 删除下载的ZIP文件
```
然后将`list.json.bak`里的原有参数按照格式粘贴到`list.json`里即可。
然后应用商店刷新本地应用即可。
## 3.备注
**`list.json`为不完整配置,未在里头的未完全适配应用商店面板操作**
**未显示本地应用列表里的,表示未完全适配应用商店面板操作**
**但是支持直接终端运行。**
@ -46,7 +51,7 @@ rm /opt/1panel/resource/localApps/localApps.zip # 删除下载的ZIP文件
```shell
# 进入 rustdesk 的最新版本目录
cd /opt/1panel/resource/localApps/rustdesk/versions/latest/
cd /opt/1panel/resource/apps/local/rustdesk/versions/latest/
# 复制 .env.sample 为 .env
cp .env.sample .env

20
aaPanel/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: aaPanel
tags:
- 工具
title: 宝塔面板国际版开源的Linux面板
type: 工具
description: 宝塔面板国际版开源的Linux面板
additionalProperties:
key: aaPanel
name: aaPanel
tags:
- Tool
shortDescZh: 宝塔面板国际版开源的Linux面板
shortDescEn: BT Panel International Edition, the open source Linux panel
type: tool
crossVersionUpdate: false
limit: 0
recommend: 0
website: https://www.aapanel.com/new/index.html
github: https://github.com/aaPanel/aaPanel
document: https://github.com/aaPanel/aaPanel

50
aaPanel/latest/data.yml Normal file
View File

@ -0,0 +1,50 @@
additionalProperties:
formFields:
- default: 7200
edit: true
envKey: Web_Panel_Port
labelEn: Web Panel Port
labelZh: 面板端口
required: true
rule: paramPort
type: number
- default: 10080
edit: true
envKey: HTTP_PORT
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number
- default: 10443
edit: true
envKey: HTTPS_PORT
labelEn: HTTPS Port
labelZh: HTTPS端口
required: true
rule: paramPort
type: number
- default: 10888
edit: true
envKey: phpMyAdmin_PORT
labelEn: phpMyAdmin Port
labelZh: phpMyAdmin端口
required: true
rule: paramPort
type: number
- default: 20022
edit: true
envKey: SSH_PORT
labelEn: SSH Port
labelZh: 面板内SSH端口
required: true
rule: paramPort
type: number
- default: 20021
edit: true
envKey: FTP_PORT
labelEn: SSH Port
labelZh: 面板内FTP端口
required: true
rule: paramPort
type: number

View File

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

@ -1,15 +0,0 @@
{
"key": "aaPanel",
"name": "aaPanel",
"tags": ["Tool"],
"versions": ["latest"],
"shortDescZh": "宝塔面板国际版开源的Linux面板。",
"shortDescEn": "BT Panel International Edition, the open source Linux panel.",
"type": "tool",
"limit": 0,
"crossVersionUpdate": false,
"website": "https://www.aapanel.com/new/index.html",
"github": "https://github.com/aaPanel/aaPanel",
"document": "https://github.com/aaPanel/aaPanel"
}

View File

@ -1,65 +0,0 @@
{
"formFields": [
{
"type": "number",
"labelZh": "面板端口",
"labelEn": "Web Panel Port",
"required": true,
"default": 7200,
"rule": "paramPort",
"envKey": "Web_Panel_Port",
"edit": true
},
{
"type": "number",
"labelZh": "HTTP端口",
"labelEn": "HTTP Port",
"required": true,
"default": 10080,
"rule": "paramPort",
"envKey": "HTTP_PORT",
"edit": true
},
{
"type": "number",
"labelZh": "HTTPS端口",
"labelEn": "HTTPS Port",
"required": true,
"default": 10443,
"rule": "paramPort",
"envKey": "HTTPS_PORT",
"edit": true
},
{
"type": "number",
"labelZh": "phpMyAdmin端口",
"labelEn": "phpMyAdmin Port",
"required": true,
"default": 10888,
"rule": "paramPort",
"envKey": "phpMyAdmin_PORT",
"edit": true
},
{
"type": "number",
"labelZh": "面板内SSH端口",
"labelEn": "SSH Port",
"required": true,
"default": 20022,
"rule": "paramPort",
"envKey": "SSH_PORT",
"edit": true
},
{
"type": "number",
"labelZh": "面板内FTP端口",
"labelEn": "SSH Port",
"required": true,
"default": 20021,
"rule": "paramPort",
"envKey": "FTP_PORT",
"edit": true
}
]
}

24
alist/3.16.3/data.yml Normal file
View File

@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: 5244
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: WebUI Port
labelZh: 网页端口
required: true
rule: paramPort
type: number
- default: ./data/data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: ./data/mnt
edit: true
envKey: MOUNT_PATH
labelEn: Mount folder path
labelZh: 挂载文件夹路径
required: true
type: text

24
alist/3.17.0/data.yml Normal file
View File

@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: 5244
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: WebUI Port
labelZh: 网页端口
required: true
rule: paramPort
type: number
- default: ./data/data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: ./data/mnt
edit: true
envKey: MOUNT_PATH
labelEn: Mount folder path
labelZh: 挂载文件夹路径
required: true
type: text

20
alist/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: alist
tags:
- 工具
title: 一个支持多存储的文件列表程序
type: 工具
description: 一个支持多存储的文件列表程序
additionalProperties:
key: alist
name: alist
tags:
- Tool
shortDescZh: 一个支持多存储的文件列表程序
shortDescEn: A file list program that supports multiple storage
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://github.com/alist-org/alist
github: https://github.com/alist-org/alist
document: https://alist.nn.ci/zh/

24
alist/latest/data.yml Normal file
View File

@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: 5244
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: WebUI Port
labelZh: 网页端口
required: true
rule: paramPort
type: number
- default: ./data/data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: ./data/mnt
edit: true
envKey: MOUNT_PATH
labelEn: Mount folder path
labelZh: 挂载文件夹路径
required: true
type: text

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -1,15 +0,0 @@
{
"key": "alist",
"name": "alist",
"tags": ["Tool"],
"versions": ["3.16.3","latest"],
"shortDescZh": "一个支持多存储的文件列表程序。",
"shortDescEn": "A file list program that supports multiple storage.",
"type": "tool",
"limit": 0,
"crossVersionUpdate": true,
"website": "https://github.com/alist-org/alist",
"github": "https://github.com/alist-org/alist",
"document": "https://alist.nn.ci/zh/"
}

View File

@ -1,41 +0,0 @@
{
"formFields": [
{
"type": "number",
"labelZh": "网页端口",
"labelEn": "WebUI Port",
"required": true,
"default": 5244,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
},
{
"type": "text",
"labelZh": "数据文件夹路径",
"labelEn": "Data folder path",
"required": true,
"default": "./data/data",
"envKey": "DATA_PATH",
"edit": true
},
{
"type": "text",
"labelZh": "挂载文件夹路径",
"labelEn": "Mount folder path",
"required": true,
"default": "./data/mnt",
"envKey": "MOUNT_PATH",
"edit": true
},
{
"type": "text",
"labelZh": "管理员账户密码获取:容器终端输入./alist admin",
"labelEn": "Administrator account password retrieval: container terminal enter . /alist admin",
"required": false,
"default": "这是一个提示/This is a tip",
"edit": false
}
]
}

View File

@ -1,134 +0,0 @@
<div align="center">
<a href="https://alist.nn.ci"><img height="100px" alt="logo" src="https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg"/></a>
<p><em>🗂一个支持多存储的文件列表程序,使用 Gin 和 Solidjs。</em></p>
<div>
<a href="https://goreportcard.com/report/github.com/alist-org/alist/v3">
<img src="https://goreportcard.com/badge/github.com/alist-org/alist/v3" alt="latest version" />
</a>
<a href="https://github.com/Xhofe/alist/blob/main/LICENSE">
<img src="https://img.shields.io/github/license/Xhofe/alist" alt="License" />
</a>
<a href="https://github.com/Xhofe/alist/actions?query=workflow%3ABuild">
<img src="https://img.shields.io/github/actions/workflow/status/Xhofe/alist/build.yml?branch=main" alt="Build status" />
</a>
<a href="https://github.com/Xhofe/alist/releases">
<img src="https://img.shields.io/github/release/Xhofe/alist" alt="latest version" />
</a>
<a title="Crowdin" target="_blank" href="https://crwd.in/alist">
<img src="https://badges.crowdin.net/alist/localized.svg">
</a>
</div>
<div>
<a href="https://github.com/Xhofe/alist/discussions">
<img src="https://img.shields.io/github/discussions/Xhofe/alist?color=%23ED8936" alt="discussions" />
</a>
<a href="https://discord.gg/F4ymsH4xv2">
<img src="https://img.shields.io/discord/1018870125102895134?logo=discord" alt="discussions" />
</a>
<a href="https://github.com/Xhofe/alist/releases">
<img src="https://img.shields.io/github/downloads/Xhofe/alist/total?color=%239F7AEA&logo=github" alt="Downloads" />
</a>
<a href="https://hub.docker.com/r/xhofe/alist">
<img src="https://img.shields.io/docker/pulls/xhofe/alist?color=%2348BB78&logo=docker&label=pulls" alt="Downloads" />
</a>
<a href="https://alist.nn.ci/zh/guide/sponsor.html">
<img src="https://img.shields.io/badge/%24-sponsor-F87171.svg" alt="sponsor" />
</a>
</div>
</div>
---
[English](./README.md) | 中文 | [Contributing](./CONTRIBUTING.md) | [CODE_OF_CONDUCT](./CODE_OF_CONDUCT.md)
## 功能
- [x] 多种存储
- [x] 本地存储
- [x] [阿里云盘](https://www.aliyundrive.com/)
- [x] OneDrive / Sharepoint[国际版](https://www.office.com/), [世纪互联](https://portal.partner.microsoftonline.cn),de,us
- [x] [天翼云盘](https://cloud.189.cn) (个人云, 家庭云)
- [x] [GoogleDrive](https://drive.google.com/)
- [x] [123云盘](https://www.123pan.com/)
- [x] FTP / SFTP
- [x] [PikPak](https://www.mypikpak.com/)
- [x] [S3](https://aws.amazon.com/cn/s3/)
- [x] [Seafile](https://seafile.com/)
- [x] [又拍云对象存储](https://www.upyun.com/products/file-storage)
- [x] WebDav(支持无API的OneDrive/SharePoint)
- [x] Teambition[中国](https://www.teambition.com/ )[国际](https://us.teambition.com/ )
- [x] [分秒帧](https://www.mediatrack.cn/)
- [x] [和彩云](https://yun.139.com/) (个人云, 家庭云)
- [x] [Yandex.Disk](https://disk.yandex.com/)
- [x] [百度网盘](http://pan.baidu.com/)
- [x] [夸克网盘](https://pan.quark.cn)
- [x] [迅雷网盘](https://pan.xunlei.com)
- [x] [蓝奏云](https://www.lanzou.com/)
- [x] [阿里云盘分享](https://www.aliyundrive.com/)
- [x] [谷歌相册](https://photos.google.com/)
- [x] [Mega.nz](https://mega.nz)
- [x] [一刻相册](https://photo.baidu.com/)
- [x] SMB
- [x] [115](https://115.com/)
- [X] Cloudreve
- [x] 部署方便,开箱即用
- [x] 文件预览PDF、markdown、代码、纯文本……
- [x] 画廊模式下的图像预览
- [x] 视频和音频预览,支持歌词和字幕
- [x] Office 文档预览docx、pptx、xlsx、...
- [x] `README.md` 预览渲染
- [x] 文件永久链接复制和直接文件下载
- [x] 黑暗模式
- [x] 国际化
- [x] 受保护的路由(密码保护和身份验证)
- [x] WebDav (具体见 https://alist.nn.ci/zh/guide/webdav.html)
- [x] [Docker 部署](https://hub.docker.com/r/xhofe/alist)
- [x] Cloudflare workers 中转
- [x] 文件/文件夹打包下载
- [x] 网页上传(可以允许访客上传),删除,新建文件夹,重命名,移动,复制
- [x] 离线下载
- [x] 跨存储复制文件
## 文档
<https://alist.nn.ci/zh/>
## Demo
<https://al.nn.ci>
## 讨论
一般问题请到[讨论论坛](https://github.com/Xhofe/alist/discussions) **issue仅针对错误报告和功能请求。**
## 赞助
AList 是一个开源软件如果你碰巧喜欢这个项目并希望我继续下去请考虑赞助我或提供一个单一的捐款感谢所有的爱和支持https://alist.nn.ci/zh/guide/sponsor.html
### 特别赞助
- [找资源 - 阿里云盘资源搜索引擎](https://zhaoziyuan.la/)
- [KinhDown 百度云盘不限速下载永久免费已稳定运行3年非常可靠Q群 -> 786799372](https://kinhdown.com)
- [JetBrains: Essential tools for software developers and teams](https://www.jetbrains.com/)
## 贡献者
Thanks goes to these wonderful people:
[![Contributors](http://contributors.nn.ci/api?repo=alist-org/alist&repo=alist-org/alist-web&repo=alist-org/docs)](https://github.com/alist-org/alist/graphs/contributors)
## 许可
`AList` 是在 AGPL-3.0 许可下许可的开源软件。
## 免责声明
- 本程序为免费开源项目旨在分享网盘文件方便下载以及学习golang使用时请遵守相关法律法规请勿滥用
- 本程序通过调用官方sdk/接口实现,无破坏官方接口行为;
- 本程序仅做302重定向/流量转发,不拦截、存储、篡改任何用户数据;
- 在使用本程序之前你应了解并承担相应的风险包括但不限于账号被ban下载限速等与本程序无关
- 如有侵权,请通过[邮件](mailto:i@nn.ci)与我联系,会及时处理。
---
> [@博客](https://nn.ci/) · [@GitHub](https://github.com/Xhofe) · [@Telegram群](https://t.me/alist_chat) · [@Discord](https://discord.gg/F4ymsH4xv2)

View File

@ -1,41 +0,0 @@
{
"formFields": [
{
"type": "number",
"labelZh": "网页端口",
"labelEn": "WebUI Port",
"required": true,
"default": 5244,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
},
{
"type": "text",
"labelZh": "数据文件夹路径",
"labelEn": "Data folder path",
"required": true,
"default": "./data/data",
"envKey": "DATA_PATH",
"edit": true
},
{
"type": "text",
"labelZh": "挂载文件夹路径",
"labelEn": "Mount folder path",
"required": true,
"default": "./data/mnt",
"envKey": "MOUNT_PATH",
"edit": true
},
{
"type": "text",
"labelZh": "管理员账户密码获取:容器终端输入./alist admin",
"labelEn": "Administrator account password retrieval: container terminal enter . /alist admin",
"required": false,
"default": "这是一个提示/This is a tip",
"edit": false
}
]
}

View File

@ -1,134 +0,0 @@
<div align="center">
<a href="https://alist.nn.ci"><img height="100px" alt="logo" src="https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg"/></a>
<p><em>🗂一个支持多存储的文件列表程序,使用 Gin 和 Solidjs。</em></p>
<div>
<a href="https://goreportcard.com/report/github.com/alist-org/alist/v3">
<img src="https://goreportcard.com/badge/github.com/alist-org/alist/v3" alt="latest version" />
</a>
<a href="https://github.com/Xhofe/alist/blob/main/LICENSE">
<img src="https://img.shields.io/github/license/Xhofe/alist" alt="License" />
</a>
<a href="https://github.com/Xhofe/alist/actions?query=workflow%3ABuild">
<img src="https://img.shields.io/github/actions/workflow/status/Xhofe/alist/build.yml?branch=main" alt="Build status" />
</a>
<a href="https://github.com/Xhofe/alist/releases">
<img src="https://img.shields.io/github/release/Xhofe/alist" alt="latest version" />
</a>
<a title="Crowdin" target="_blank" href="https://crwd.in/alist">
<img src="https://badges.crowdin.net/alist/localized.svg">
</a>
</div>
<div>
<a href="https://github.com/Xhofe/alist/discussions">
<img src="https://img.shields.io/github/discussions/Xhofe/alist?color=%23ED8936" alt="discussions" />
</a>
<a href="https://discord.gg/F4ymsH4xv2">
<img src="https://img.shields.io/discord/1018870125102895134?logo=discord" alt="discussions" />
</a>
<a href="https://github.com/Xhofe/alist/releases">
<img src="https://img.shields.io/github/downloads/Xhofe/alist/total?color=%239F7AEA&logo=github" alt="Downloads" />
</a>
<a href="https://hub.docker.com/r/xhofe/alist">
<img src="https://img.shields.io/docker/pulls/xhofe/alist?color=%2348BB78&logo=docker&label=pulls" alt="Downloads" />
</a>
<a href="https://alist.nn.ci/zh/guide/sponsor.html">
<img src="https://img.shields.io/badge/%24-sponsor-F87171.svg" alt="sponsor" />
</a>
</div>
</div>
---
[English](./README.md) | 中文 | [Contributing](./CONTRIBUTING.md) | [CODE_OF_CONDUCT](./CODE_OF_CONDUCT.md)
## 功能
- [x] 多种存储
- [x] 本地存储
- [x] [阿里云盘](https://www.aliyundrive.com/)
- [x] OneDrive / Sharepoint[国际版](https://www.office.com/), [世纪互联](https://portal.partner.microsoftonline.cn),de,us
- [x] [天翼云盘](https://cloud.189.cn) (个人云, 家庭云)
- [x] [GoogleDrive](https://drive.google.com/)
- [x] [123云盘](https://www.123pan.com/)
- [x] FTP / SFTP
- [x] [PikPak](https://www.mypikpak.com/)
- [x] [S3](https://aws.amazon.com/cn/s3/)
- [x] [Seafile](https://seafile.com/)
- [x] [又拍云对象存储](https://www.upyun.com/products/file-storage)
- [x] WebDav(支持无API的OneDrive/SharePoint)
- [x] Teambition[中国](https://www.teambition.com/ )[国际](https://us.teambition.com/ )
- [x] [分秒帧](https://www.mediatrack.cn/)
- [x] [和彩云](https://yun.139.com/) (个人云, 家庭云)
- [x] [Yandex.Disk](https://disk.yandex.com/)
- [x] [百度网盘](http://pan.baidu.com/)
- [x] [夸克网盘](https://pan.quark.cn)
- [x] [迅雷网盘](https://pan.xunlei.com)
- [x] [蓝奏云](https://www.lanzou.com/)
- [x] [阿里云盘分享](https://www.aliyundrive.com/)
- [x] [谷歌相册](https://photos.google.com/)
- [x] [Mega.nz](https://mega.nz)
- [x] [一刻相册](https://photo.baidu.com/)
- [x] SMB
- [x] [115](https://115.com/)
- [X] Cloudreve
- [x] 部署方便,开箱即用
- [x] 文件预览PDF、markdown、代码、纯文本……
- [x] 画廊模式下的图像预览
- [x] 视频和音频预览,支持歌词和字幕
- [x] Office 文档预览docx、pptx、xlsx、...
- [x] `README.md` 预览渲染
- [x] 文件永久链接复制和直接文件下载
- [x] 黑暗模式
- [x] 国际化
- [x] 受保护的路由(密码保护和身份验证)
- [x] WebDav (具体见 https://alist.nn.ci/zh/guide/webdav.html)
- [x] [Docker 部署](https://hub.docker.com/r/xhofe/alist)
- [x] Cloudflare workers 中转
- [x] 文件/文件夹打包下载
- [x] 网页上传(可以允许访客上传),删除,新建文件夹,重命名,移动,复制
- [x] 离线下载
- [x] 跨存储复制文件
## 文档
<https://alist.nn.ci/zh/>
## Demo
<https://al.nn.ci>
## 讨论
一般问题请到[讨论论坛](https://github.com/Xhofe/alist/discussions) **issue仅针对错误报告和功能请求。**
## 赞助
AList 是一个开源软件如果你碰巧喜欢这个项目并希望我继续下去请考虑赞助我或提供一个单一的捐款感谢所有的爱和支持https://alist.nn.ci/zh/guide/sponsor.html
### 特别赞助
- [找资源 - 阿里云盘资源搜索引擎](https://zhaoziyuan.la/)
- [KinhDown 百度云盘不限速下载永久免费已稳定运行3年非常可靠Q群 -> 786799372](https://kinhdown.com)
- [JetBrains: Essential tools for software developers and teams](https://www.jetbrains.com/)
## 贡献者
Thanks goes to these wonderful people:
[![Contributors](http://contributors.nn.ci/api?repo=alist-org/alist&repo=alist-org/alist-web&repo=alist-org/docs)](https://github.com/alist-org/alist/graphs/contributors)
## 许可
`AList` 是在 AGPL-3.0 许可下许可的开源软件。
## 免责声明
- 本程序为免费开源项目旨在分享网盘文件方便下载以及学习golang使用时请遵守相关法律法规请勿滥用
- 本程序通过调用官方sdk/接口实现,无破坏官方接口行为;
- 本程序仅做302重定向/流量转发,不拦截、存储、篡改任何用户数据;
- 在使用本程序之前你应了解并承担相应的风险包括但不限于账号被ban下载限速等与本程序无关
- 如有侵权,请通过[邮件](mailto:i@nn.ci)与我联系,会及时处理。
---
> [@博客](https://nn.ci/) · [@GitHub](https://github.com/Xhofe) · [@Telegram群](https://t.me/alist_chat) · [@Discord](https://discord.gg/F4ymsH4xv2)

View File

@ -1,41 +0,0 @@
{
"formFields": [
{
"type": "number",
"labelZh": "网页端口",
"labelEn": "WebUI Port",
"required": true,
"default": 5244,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
},
{
"type": "text",
"labelZh": "数据文件夹路径",
"labelEn": "Data folder path",
"required": true,
"default": "./data/data",
"envKey": "DATA_PATH",
"edit": true
},
{
"type": "text",
"labelZh": "挂载文件夹路径",
"labelEn": "Mount folder path",
"required": true,
"default": "./data/mnt",
"envKey": "MOUNT_PATH",
"edit": true
},
{
"type": "text",
"labelZh": "管理员账户密码获取:容器终端输入./alist admin",
"labelEn": "Administrator account password retrieval: container terminal enter . /alist admin",
"required": false,
"default": "这是一个提示/This is a tip",
"edit": false
}
]
}

View File

@ -0,0 +1,33 @@
additionalProperties:
formFields:
- default: 40030
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: WebUI Port
labelZh: 网页端口
required: true
rule: paramPort
type: number
- default: VNCPassword
edit: true
envKey: VNC_PASSWORD
labelEn: Access Password
labelZh: 访问密码
random: true
required: true
rule: paramComplexity
type: password
- default: ./data/config
edit: true
envKey: CONFIG_PATH
labelEn: Config file path
labelZh: 配置文件所在路径
required: true
type: text
- default: ./data/downloads
edit: true
envKey: DOWNLOAD_PATH
labelEn: Download folder path
labelZh: 下载文件夹路径
required: true
type: text

View File

@ -0,0 +1,33 @@
additionalProperties:
formFields:
- default: 40030
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: WebUI Port
labelZh: 网页端口
required: true
rule: paramPort
type: number
- default: VNCPassword
edit: true
envKey: VNC_PASSWORD
labelEn: Access Password
labelZh: 访问密码
random: true
required: true
rule: paramComplexity
type: password
- default: ./data/config
edit: true
envKey: CONFIG_PATH
labelEn: Config file path
labelZh: 配置文件所在路径
required: true
type: text
- default: ./data/downloads
edit: true
envKey: DOWNLOAD_PATH
labelEn: Download folder path
labelZh: 下载文件夹路径
required: true
type: text

20
baidunetdisk/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: 百度网盘
tags:
- 工具
title: 百度网盘是百度推出的一项云存储服务
type: 工具
description: 百度网盘是百度推出的一项云存储服务
additionalProperties:
key: baidunetdisk
name: 百度网盘
tags:
- Tool
shortDescZh: 百度网盘是百度推出的一项云存储服务
shortDescEn: BaiduNetdisk is a cloud storage service launched by Baidu
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://pan.baidu.com/
github: https://github.com/gshang2017/docker/tree/master/baidunetdisk
document: https://github.com/gshang2017/docker/tree/master/baidunetdisk

View File

@ -0,0 +1,33 @@
additionalProperties:
formFields:
- default: 40030
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: WebUI Port
labelZh: 网页端口
required: true
rule: paramPort
type: number
- default: VNCPassword
edit: true
envKey: VNC_PASSWORD
labelEn: Access Password
labelZh: 访问密码
random: true
required: true
rule: paramComplexity
type: password
- default: ./data/config
edit: true
envKey: CONFIG_PATH
labelEn: Config file path
labelZh: 配置文件所在路径
required: true
type: text
- default: ./data/downloads
edit: true
envKey: DOWNLOAD_PATH
labelEn: Download folder path
labelZh: 下载文件夹路径
required: true
type: text

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,14 +0,0 @@
{
"key": "baidunetdisk",
"name": "百度网盘",
"tags": ["Tool"],
"versions": ["4.14.6","4.17.7","latest"],
"shortDescZh": "百度网盘是百度推出的一项云存储服务。",
"shortDescEn": "BaiduNetdisk is a cloud storage service launched by Baidu.",
"type": "tool",
"limit": 0,
"crossVersionUpdate": true,
"website": "https://pan.baidu.com/",
"github": "https://github.com/gshang2017/docker/tree/master/baidunetdisk",
"document": "https://github.com/gshang2017/docker/tree/master/baidunetdisk"
}

View File

@ -1,44 +0,0 @@
{
"formFields": [
{
"type": "number",
"labelZh": "网页端口",
"labelEn": "WebUI Port",
"required": true,
"default": 40030,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
},
{
"type": "password",
"labelZh": "访问密码",
"labelEn": "Access Password",
"required": true,
"default": "VNCPassword",
"random": true,
"rule": "paramComplexity",
"envKey": "VNC_PASSWORD",
"edit": true
},
{
"type": "text",
"labelZh": "配置文件所在路径",
"labelEn": "Config file path",
"required": true,
"default": "./data/config",
"envKey": "CONFIG_PATH",
"edit": true
},
{
"type": "text",
"labelZh": "下载文件夹路径",
"labelEn": "Download folder path",
"required": true,
"default": "./data/downloads",
"envKey": "DOWNLOAD_PATH",
"edit": true
}
]
}

View File

@ -1,102 +0,0 @@
## 群晖nas自用
### GitHub:
[https://github.com/gshang2017/docker](https://github.com/gshang2017/docker)
### 感谢以下项目:
[https://github.com/jlesage/docker-baseimage-gui](https://github.com/jlesage/docker-baseimage-gui "https://github.com/jlesage/docker-baseimage-gui")
### 版本:
|名称|版本|说明|
|:-|:-|:-|
|baidunetdisk|4.17.7|amd64|
|baidunetdisk|4.14.6|arm64|
#### 注意:
* 重启群晖,网盘(baidunetdisk:3.0.1.2)不能登陆只需要删除配置文件夹下baidunetdiskdata.db(下载进度会保留)如果网盘设置闪退需删除帐户文件夹下userConf.db重启docker。
* 升级 baidunetdisk:3.5.0,下载位置需手动配置(右上角-设置)。
### docker命令行设置
1. 下载镜像
|镜像源|命令|
|:-|:-|
|DockerHub|docker pull johngong/baidunetdisk:latest|
|GitHub|docker pull ghcr.io/gshang2017/baidunetdisk:latest|
2. 创建baidunetdisk容器
docker create \
--name=baidunetdisk \
-p 5800:5800 \
-p 5900:5900 \
-v /配置文件位置:/config \
-v /下载位置:/config/baidunetdiskdownload \
--restart unless-stopped \
johngong/baidunetdisk:latest
3. 运行
docker start baidunetdisk
4. 停止
docker stop baidunetdisk
5. 删除容器
docker rm baidunetdisk
6. 删除镜像
docker image rm johngong/baidunetdisk:latest
### 变量:
|参数|说明|
|:-|:-|
| `--name=baidunetdisk` |容器名|
| `-p 5800:5800` |Web界面访问端口,[ip:5800](ip:5800)|
| `-p 5900:5900` |VNC协议访问端口.如果未使用VNC客户端,则为可选,[ip:5900](ip:5900)|
| `-v /配置文件位置:/config` |baidunetdisk配置文件位置|
| `-v /下载位置:/config/baidunetdiskdownload` |baidunetdisk下载路径(3.3.2需手动设置)|
| `-e VNC_PASSWORD=VNC密码` |VNC密码|
| `-e USER_ID=1000` |uid设置,默认为1000|
| `-e GROUP_ID=1000` |gid设置,默认为1000|
| `-e NOVNC_LANGUAGE="zh_Hans"` |(zh_Hans\|en)设定novnc语言,默认为中文|
更多参数设置详见:[https://registry.hub.docker.com/r/jlesage/baseimage-gui](https://registry.hub.docker.com/r/jlesage/baseimage-gui "https://registry.hub.docker.com/r/jlesage/baseimage-gui")
### 群晖docker设置
1. 卷
|参数|说明|
|:-|:-|
| `本地文件夹1:/config/baidunetdiskdownload` |baidunetdisk下载路径(3.3.2需手动设置)|
| `本地文件夹2:/config` |baidunetdisk配置文件位置|
2. 端口
|参数|说明|
|:-|:-|
| `本地端口1:5800` |Web界面访问端口,[ip:本地端口1](ip:本地端口1)|
| `本地端口2:5900` |VNC协议访问端口.如果未使用VNC客户端,则为可选,[ip:本地端口2](ip:本地端口2)|
3. 环境变量
|参数|说明|
|:-|:-|
| `VNC_PASSWORD=VNC密码` |VNC密码|
| `USER_ID=1000` |uid设置,默认为1000|
| `GROUP_ID=1000` |gid设置,默认为1000|
| `NOVNC_LANGUAGE="zh_Hans"` |(zh_Hans\|en)设定novnc语言,默认为中文|

View File

@ -1,44 +0,0 @@
{
"formFields": [
{
"type": "number",
"labelZh": "网页端口",
"labelEn": "WebUI Port",
"required": true,
"default": 40030,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
},
{
"type": "password",
"labelZh": "访问密码",
"labelEn": "Access Password",
"required": true,
"default": "VNCPassword",
"random": true,
"rule": "paramComplexity",
"envKey": "VNC_PASSWORD",
"edit": true
},
{
"type": "text",
"labelZh": "配置文件所在路径",
"labelEn": "Config file path",
"required": true,
"default": "./data/config",
"envKey": "CONFIG_PATH",
"edit": true
},
{
"type": "text",
"labelZh": "下载文件夹路径",
"labelEn": "Download folder path",
"required": true,
"default": "./data/downloads",
"envKey": "DOWNLOAD_PATH",
"edit": true
}
]
}

View File

@ -1,102 +0,0 @@
## 群晖nas自用
### GitHub:
[https://github.com/gshang2017/docker](https://github.com/gshang2017/docker)
### 感谢以下项目:
[https://github.com/jlesage/docker-baseimage-gui](https://github.com/jlesage/docker-baseimage-gui "https://github.com/jlesage/docker-baseimage-gui")
### 版本:
|名称|版本|说明|
|:-|:-|:-|
|baidunetdisk|4.17.7|amd64|
|baidunetdisk|4.14.6|arm64|
#### 注意:
* 重启群晖,网盘(baidunetdisk:3.0.1.2)不能登陆只需要删除配置文件夹下baidunetdiskdata.db(下载进度会保留)如果网盘设置闪退需删除帐户文件夹下userConf.db重启docker。
* 升级 baidunetdisk:3.5.0,下载位置需手动配置(右上角-设置)。
### docker命令行设置
1. 下载镜像
|镜像源|命令|
|:-|:-|
|DockerHub|docker pull johngong/baidunetdisk:latest|
|GitHub|docker pull ghcr.io/gshang2017/baidunetdisk:latest|
2. 创建baidunetdisk容器
docker create \
--name=baidunetdisk \
-p 5800:5800 \
-p 5900:5900 \
-v /配置文件位置:/config \
-v /下载位置:/config/baidunetdiskdownload \
--restart unless-stopped \
johngong/baidunetdisk:latest
3. 运行
docker start baidunetdisk
4. 停止
docker stop baidunetdisk
5. 删除容器
docker rm baidunetdisk
6. 删除镜像
docker image rm johngong/baidunetdisk:latest
### 变量:
|参数|说明|
|:-|:-|
| `--name=baidunetdisk` |容器名|
| `-p 5800:5800` |Web界面访问端口,[ip:5800](ip:5800)|
| `-p 5900:5900` |VNC协议访问端口.如果未使用VNC客户端,则为可选,[ip:5900](ip:5900)|
| `-v /配置文件位置:/config` |baidunetdisk配置文件位置|
| `-v /下载位置:/config/baidunetdiskdownload` |baidunetdisk下载路径(3.3.2需手动设置)|
| `-e VNC_PASSWORD=VNC密码` |VNC密码|
| `-e USER_ID=1000` |uid设置,默认为1000|
| `-e GROUP_ID=1000` |gid设置,默认为1000|
| `-e NOVNC_LANGUAGE="zh_Hans"` |(zh_Hans\|en)设定novnc语言,默认为中文|
更多参数设置详见:[https://registry.hub.docker.com/r/jlesage/baseimage-gui](https://registry.hub.docker.com/r/jlesage/baseimage-gui "https://registry.hub.docker.com/r/jlesage/baseimage-gui")
### 群晖docker设置
1. 卷
|参数|说明|
|:-|:-|
| `本地文件夹1:/config/baidunetdiskdownload` |baidunetdisk下载路径(3.3.2需手动设置)|
| `本地文件夹2:/config` |baidunetdisk配置文件位置|
2. 端口
|参数|说明|
|:-|:-|
| `本地端口1:5800` |Web界面访问端口,[ip:本地端口1](ip:本地端口1)|
| `本地端口2:5900` |VNC协议访问端口.如果未使用VNC客户端,则为可选,[ip:本地端口2](ip:本地端口2)|
3. 环境变量
|参数|说明|
|:-|:-|
| `VNC_PASSWORD=VNC密码` |VNC密码|
| `USER_ID=1000` |uid设置,默认为1000|
| `GROUP_ID=1000` |gid设置,默认为1000|
| `NOVNC_LANGUAGE="zh_Hans"` |(zh_Hans\|en)设定novnc语言,默认为中文|

View File

@ -1,44 +0,0 @@
{
"formFields": [
{
"type": "number",
"labelZh": "网页端口",
"labelEn": "WebUI Port",
"required": true,
"default": 40030,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
},
{
"type": "password",
"labelZh": "访问密码",
"labelEn": "Access Password",
"required": true,
"default": "VNCPassword",
"random": true,
"rule": "paramComplexity",
"envKey": "VNC_PASSWORD",
"edit": true
},
{
"type": "text",
"labelZh": "配置文件所在路径",
"labelEn": "Config file path",
"required": true,
"default": "./data/config",
"envKey": "CONFIG_PATH",
"edit": true
},
{
"type": "text",
"labelZh": "下载文件夹路径",
"labelEn": "Download folder path",
"required": true,
"default": "./data/downloads",
"envKey": "DOWNLOAD_PATH",
"edit": true
}
]
}

20
chatgpt-web/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: chatgpt-web
tags:
- 工具
title: 使用express和vue3搭建的支持ChatGPT双模型演示网页
type: 工具
description: 使用express和vue3搭建的支持ChatGPT双模型演示网页
additionalProperties:
key: chatgpt-web
name: chatgpt-web
tags:
- Tool
shortDescZh: 使用express和vue3搭建的支持ChatGPT双模型演示网页
shortDescEn: ChatGPT-enabled dual-model demo page built with express and vue3
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://github.com/Chanzhaoyu/chatgpt-web
github: https://github.com/Chanzhaoyu/chatgpt-web
document: https://github.com/Chanzhaoyu/chatgpt-web

103
chatgpt-web/latest/data.yml Normal file
View File

@ -0,0 +1,103 @@
additionalProperties:
formFields:
- default: 40021
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: WebUI Port
labelZh: 网页端口
required: true
rule: paramPort
type: number
- default: ''
edit: true
envKey: ACCESS_TOKEN
labelEn: OPENAI ACCESS TOKEN (fill in at least one with OPENAI API KEY)
labelZh: OPENAI ACCESS TOKEN(与OPENAI API KEY至少填一个)
required: false
type: text
- default: https://bypass.duti.tech/api/conversation
edit: true
envKey: REVERSE_PROXY
labelEn: API reverse proxy, optional (enabled by default when OPENAI ACCESS TOKEN, need to pay attention to availability)
labelZh: API反向代理可选(OPENAI ACCESS TOKEN时默认启用,需要注意可用性)
required: false
type: text
- default: ''
edit: true
envKey: API_KEY
labelEn: OPENAI API KEY (fill in at least one with OPENAI ACCESS TOKEN)
labelZh: OPENAI API KEY(与OPENAI ACCESS TOKEN至少填一个)
required: false
type: text
- default: gpt-3.5-turbo
edit: true
envKey: API_MODEL
labelEn: API model, optional, available when setting OPENAI API KEY(https://platform.openai.com/docs/models)
labelZh: API模型可选设置OPENAI API KEY时可用(https://platform.openai.com/docs/models)
required: false
type: text
- default: https://api.openai.com
edit: true
envKey: API_BASE_URL
labelEn: API interface address, optional, available when setting OPENAI API KEY
labelZh: API接口地址可选设置OPENAI API KEY时可用
required: false
type: text
- default: chatgptweb
edit: true
envKey: SECRET_KEY
labelEn: Access rights key, optional (recommended)
labelZh: 访问权限密钥,可选(强烈建议填写)
random: true
required: false
rule: paramComplexity
type: password
- default: '0'
edit: true
envKey: REQUEST_LIMIT
labelEn: Maximum number of requests per hour, optional, default unlimited
labelZh: 每小时最大请求次数,可选,默认无限
required: false
type: text
- default: '60000'
edit: true
envKey: TIMEOUT
labelEn: Timeout, in milliseconds, optional
labelZh: 超时,单位毫秒,可选
required: false
type: text
- default: ''
edit: true
envKey: PROXY_HOST
labelEn: Socks proxy address, optional, effective when combined with Socks proxy port
labelZh: Socks代理地址可选和Socks代理端口一起时生效
required: false
type: text
- default: ''
edit: true
envKey: PROXY_PORT
labelEn: Socks proxy port, optional, effective when combined with Socks proxy address
labelZh: Socks代理端口可选和Socks代理地址一起时生效
required: false
type: text
- default: ''
edit: true
envKey: PROXY_USERNAME
labelEn: Socks proxy user name, optional, effective when combined with Socks proxy address
labelZh: Socks代理用户名可选和Socks代理地址一起时生效
required: false
type: text
- default: ''
edit: true
envKey: PROXY_PASSWORD
labelEn: Socks proxy password, optional, effective when combined with Socks proxy address
labelZh: Socks代理密码可选和Socks代理地址一起时生效
required: false
type: text
- default: ''
edit: true
envKey: HTTPS_PROXY
labelEn: HTTPS proxy, optional, supports http, https, socks5
labelZh: HTTPS代理可选支持httphttpssocks5
required: false
type: text

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1,14 +0,0 @@
{
"key": "chatgpt-web",
"name": "chatgpt-web",
"tags": ["Tool"],
"versions": ["latest"],
"shortDescZh": "使用express和vue3搭建的支持ChatGPT双模型演示网页。",
"shortDescEn": "ChatGPT-enabled dual-model demo page built with express and vue3.",
"type": "tool",
"limit": 0,
"crossVersionUpdate": true,
"website": "https://github.com/Chanzhaoyu/chatgpt-web",
"github": "https://github.com/Chanzhaoyu/chatgpt-web",
"document": "https://github.com/Chanzhaoyu/chatgpt-web"
}

View File

@ -1,142 +0,0 @@
{
"formFields": [
{
"type": "number",
"labelZh": "网页端口",
"labelEn": "WebUI Port",
"required": true,
"default": 40021,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
},
{
"type": "text",
"labelZh": "OPENAI ACCESS TOKEN(与OPENAI API KEY至少填一个)",
"labelEn": "OPENAI ACCESS TOKEN (fill in at least one with OPENAI API KEY)",
"required": false,
"default": "",
"envKey": "ACCESS_TOKEN",
"edit": true
},
{
"type": "text",
"labelZh": "API反向代理可选(OPENAI ACCESS TOKEN时默认启用,需要注意可用性)",
"labelEn": "API reverse proxy, optional (enabled by default when OPENAI ACCESS TOKEN, need to pay attention to availability)",
"required": false,
"default": "https://bypass.duti.tech/api/conversation",
"envKey": "REVERSE_PROXY",
"edit": true
},
{
"type": "text",
"labelZh": "OPENAI API KEY(与OPENAI ACCESS TOKEN至少填一个)",
"labelEn": "OPENAI API KEY (fill in at least one with OPENAI ACCESS TOKEN)",
"required": false,
"default": "",
"envKey": "API_KEY",
"edit": true
},
{
"type": "text",
"labelZh": "API模型可选设置OPENAI API KEY时可用(https://platform.openai.com/docs/models)",
"labelEn": "API model, optional, available when setting OPENAI API KEY(https://platform.openai.com/docs/models)",
"required": false,
"default": "gpt-3.5-turbo",
"envKey": "API_MODEL",
"edit": true
},
{
"type": "text",
"labelZh": "API接口地址可选设置OPENAI API KEY时可用",
"labelEn": "API interface address, optional, available when setting OPENAI API KEY",
"required": false,
"default": "https://api.openai.com",
"envKey": "API_BASE_URL",
"edit": true
},
{
"type": "password",
"labelZh": "访问权限密钥,可选(强烈建议填写)",
"labelEn": "Access rights key, optional (recommended)",
"required": false,
"default": "chatgptweb",
"random": true,
"rule": "paramComplexity",
"envKey": "SECRET_KEY",
"edit": true
},
{
"type": "text",
"labelZh": "每小时最大请求次数,可选,默认无限",
"labelEn": "Maximum number of requests per hour, optional, default unlimited",
"required": false,
"default": "0",
"envKey": "REQUEST_LIMIT",
"edit": true
},
{
"type": "text",
"labelZh": "超时,单位毫秒,可选",
"labelEn": "Timeout, in milliseconds, optional",
"required": false,
"default": "60000",
"envKey": "TIMEOUT",
"edit": true
},
{
"type": "text",
"labelZh": "Socks代理地址可选和Socks代理端口一起时生效",
"labelEn": "Socks proxy address, optional, effective when combined with Socks proxy port",
"required": false,
"default": "",
"envKey": "PROXY_HOST",
"edit": true
},
{
"type": "text",
"labelZh": "Socks代理端口可选和Socks代理地址一起时生效",
"labelEn": "Socks proxy port, optional, effective when combined with Socks proxy address",
"required": false,
"default": "",
"envKey": "PROXY_PORT",
"edit": true
},
{
"type": "text",
"labelZh": "Socks代理用户名可选和Socks代理地址一起时生效",
"labelEn": "Socks proxy user name, optional, effective when combined with Socks proxy address",
"required": false,
"default": "",
"envKey": "PROXY_USERNAME",
"edit": true
},
{
"type": "text",
"labelZh": "Socks代理密码可选和Socks代理地址一起时生效",
"labelEn": "Socks proxy password, optional, effective when combined with Socks proxy address",
"required": false,
"default": "",
"envKey": "PROXY_PASSWORD",
"edit": true
},
{
"type": "text",
"labelZh": "HTTPS代理可选支持httphttpssocks5",
"labelEn": "HTTPS proxy, optional, supports http, https, socks5",
"required": false,
"default": "",
"envKey": "HTTPS_PROXY",
"edit": true
},
{
"type": "text",
"labelZh": "获取ACCESS_TOKENhttps://chat.openai.com/api/auth/session",
"labelEn": "Get ACCESS_TOKEN: https://chat.openai.com/api/auth/session",
"required": false,
"default": "这是一个提示/This is a tip",
"edit": false
}
]
}

Some files were not shown because too many files have changed in this diff Show More