mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-24 17:55:10 +08:00
新增 阅读3 应用
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
1009d0739d
commit
bf6c0cca79
10
apps/reader3-webview/3.2.0/data.yml
Normal file
10
apps/reader3-webview/3.2.0/data.yml
Normal file
@ -0,0 +1,10 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 8050
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: API 端口
|
||||
labelEn: API port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
19
apps/reader3-webview/3.2.0/docker-compose.yml
Normal file
19
apps/reader3-webview/3.2.0/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
version: "3.8"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
reader3-webview:
|
||||
image: hectorqin/remote-webview:3.2.0
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8050
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
10
apps/reader3-webview/3.2.0/scripts/init.sh
Normal file
10
apps/reader3-webview/3.2.0/scripts/init.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
10
apps/reader3-webview/3.2.0/scripts/uninstall.sh
Normal file
10
apps/reader3-webview/3.2.0/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
10
apps/reader3-webview/3.2.0/scripts/upgrade.sh
Normal file
10
apps/reader3-webview/3.2.0/scripts/upgrade.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
9
apps/reader3-webview/README.md
Normal file
9
apps/reader3-webview/README.md
Normal file
@ -0,0 +1,9 @@
|
||||
# 阅读3 Webview插件
|
||||
|
||||
阅读是一款提供网络文学搜索的工具,为广大网络文学爱好者提供一种方便、快捷舒适的试读体验。
|
||||
|
||||
<img height="256" src="https://file.lifebus.top/apps/reader3/logo.png" width="256"/>
|
||||
|
||||
## 应用说明
|
||||
|
||||
当前应用为 `阅读3` 的 Webview 插件,提供了一个简单的 Webview 容器,用于 `阅读3` 的订阅源书籍加载功能。
|
17
apps/reader3-webview/data.yml
Normal file
17
apps/reader3-webview/data.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: 阅读3 Webview插件
|
||||
title: 阅读3服务器版,不需要手机
|
||||
description: 阅读3服务器版,不需要手机
|
||||
additionalProperties:
|
||||
key: reader3-webview
|
||||
name: 阅读3 Webview插件
|
||||
tags:
|
||||
- WebSite
|
||||
- Local
|
||||
shortDescZh: 阅读3服务器版,不需要手机
|
||||
shortDescEn: Reader3 server version, no need for mobile phone
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://github.com/hectorqin/reader/
|
||||
github: https://github.com/hectorqin/reader/
|
||||
document: https://github.com/hectorqin/reader/
|
BIN
apps/reader3-webview/logo.png
Normal file
BIN
apps/reader3-webview/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 206 KiB |
131
apps/reader3/3.2.10/data.yml
Normal file
131
apps/reader3/3.2.10/data.yml
Normal file
@ -0,0 +1,131 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/reader3"
|
||||
edit: true
|
||||
envKey: READER3_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 8080
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: READER_APP_SECUREKEY
|
||||
labelZh: 管理员 密码
|
||||
labelEn: Admin Password
|
||||
required: true
|
||||
type: password
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: READER_APP_INVITECODE
|
||||
labelZh: 邀请码
|
||||
labelEn: Invite Code
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: READER_APP_CACHECHAPTERCONTENT
|
||||
labelZh: 缓存章节内容
|
||||
labelEn: Cache Chapter Content
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 开启
|
||||
value: "true"
|
||||
- label: 关闭
|
||||
value: "false"
|
||||
- default: 0
|
||||
edit: true
|
||||
envKey: READER_APP_AUTOCLEARINACTIVEUSER
|
||||
labelZh: 自动清理不活跃用户 (天)
|
||||
labelEn: Auto Clear Inactive User (Days)
|
||||
required: true
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: READER_APP_REMOTEWEBVIEWAPI
|
||||
labelZh: 远程 WebView API 地址 (插件)
|
||||
labelEn: Remote WebView API Address (Plugin)
|
||||
required: false
|
||||
type: text
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: READER_APP_DEFAULTUSERENABLEWEBDAV
|
||||
labelZh: 新用户默认启用 WebDAV
|
||||
labelEn: New User Default Enable WebDAV
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 启用
|
||||
value: "true"
|
||||
- label: 禁用
|
||||
value: "false"
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: READER_APP_DEFAULTUSERENABLELOCALSTORE
|
||||
labelZh: 新用户默认启用 LocalStore
|
||||
labelEn: New User Default Enable LocalStore
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 启用
|
||||
value: "true"
|
||||
- label: 禁用
|
||||
value: "false"
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: READER_APP_DEFAULTUSERENABLEBOOKSOURCE
|
||||
labelZh: 允许新用户编辑书源
|
||||
labelEn: Allow New User Edit Book Source
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 允许
|
||||
value: "true"
|
||||
- label: 禁止
|
||||
value: "false"
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: READER_APP_DEFAULTUSERENABLERSSSOURCE
|
||||
labelZh: 允许新用户编辑 RSS 源
|
||||
labelEn: Allow New User Edit RSS Source
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 允许
|
||||
value: "true"
|
||||
- label: 禁止
|
||||
value: "false"
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: READER_APP_defaultUserBookLimit
|
||||
labelZh: 允许新用户编辑 RSS 源
|
||||
labelEn: Allow New User Edit RSS Source
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 允许
|
||||
value: "true"
|
||||
- label: 禁止
|
||||
value: "false"
|
||||
- default: 200
|
||||
edit: true
|
||||
envKey: READER_APP_DEFAULTUSERBOOKSOURCELIMIT
|
||||
labelZh: 新用户书源数量限制
|
||||
labelEn: New User Book Source Limit
|
||||
required: true
|
||||
type: number
|
||||
- default: 8
|
||||
edit: true
|
||||
envKey: READER_APP_minUserPasswordLength
|
||||
labelZh: 用户密码最小长度
|
||||
labelEn: User Password Min Length
|
||||
required: true
|
||||
type: number
|
32
apps/reader3/3.2.10/docker-compose.yml
Normal file
32
apps/reader3/3.2.10/docker-compose.yml
Normal file
@ -0,0 +1,32 @@
|
||||
version: "3.8"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
reader3:
|
||||
image: hectorqin/reader:3.2.10
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8080
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ${READER3_ROOT_PATH}/logs:/logs
|
||||
- ${READER3_ROOT_PATH}/storage:/storage
|
||||
environment:
|
||||
- SPRING_PROFILES_ACTIVE=prod
|
||||
- READER_SERVER_PORT=8080
|
||||
- READER_SERVER_CONTEXTPATH=${READER_SERVER_CONTEXTPATH:-}
|
||||
- READER_APP_USERLIMIT=50
|
||||
- READER_APP_USERBOOKLIMIT=${READER_APP_DEFAULTUSERBOOKSOURCELIMIT}
|
||||
- READER_APP_SECURE=true
|
||||
- READER_APP_SHELFUPDATEINTEVAL=10
|
||||
- READER_APP_REMOTEBOOKSOURCEUPDATEINTERVAL=720
|
15
apps/reader3/3.2.10/scripts/init.sh
Normal file
15
apps/reader3/3.2.10/scripts/init.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
10
apps/reader3/3.2.10/scripts/uninstall.sh
Normal file
10
apps/reader3/3.2.10/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
15
apps/reader3/3.2.10/scripts/upgrade.sh
Normal file
15
apps/reader3/3.2.10/scripts/upgrade.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
93
apps/reader3/README.md
Normal file
93
apps/reader3/README.md
Normal file
@ -0,0 +1,93 @@
|
||||
# 阅读3
|
||||
|
||||
阅读是一款提供网络文学搜索的工具,为广大网络文学爱好者提供一种方便、快捷舒适的试读体验。
|
||||
|
||||
![阅读3](https://file.lifebus.top/imgs/reader3_cover.jpg)
|
||||
|
||||
## 免责声明
|
||||
|
||||
阅读是一款提供网络文学搜索的工具,为广大网络文学爱好者提供一种方便、快捷舒适的试读体验。
|
||||
|
||||
当您搜索一本书的时,阅读会将该书的书名以关键词的形式提交到各个第三方网络文学网站。各第三方网站返回的内容与阅读无关,阅读对其概不负责,亦不承担任何法律责任。任何通过使用阅读而链接到的第三方网页均系他人制作或提供,您可能从第三方网页上获得其他服务,阅读对其合法性概不负责,亦不承担任何法律责任。第三方搜索引擎结果根据您提交的书名自动搜索获得并提供试读,不代表阅读赞成或被搜索链接到的第三方网页上的内容或立场。您应该对使用搜索引擎的结果自行承担风险。
|
||||
|
||||
阅读不做任何形式的保证:不保证第三方搜索引擎的搜索结果满足您的要求,不保证搜索服务不中断,不保证搜索结果的安全性、正确性、及时性、合法性。因网络状况、通讯线路、第三方网站等任何原因而导致您不能正常使用阅读,阅读不承担任何法律责任。阅读尊重并保护所有使用阅读用户的个人隐私权,您注册的用户名、电子邮件地址等个人资料,非经您亲自许可或根据相关法律、法规的强制性规定,阅读不会主动地泄露给第三方。
|
||||
|
||||
阅读致力于最大程度地减少网络文学阅读者在自行搜寻过程中的无意义的时间浪费,通过专业搜索展示不同网站中网络文学的最新章节。阅读在为广大小说爱好者提供方便、快捷舒适的试读体验的同时,也使优秀网络文学得以迅速、更广泛的传播,从而达到了在一定程度促进网络文学充分繁荣发展之目的。阅读鼓励广大小说爱好者通过阅读发现优秀网络小说及其提供商,并建议阅读正版图书。任何单位或个人认为通过阅读搜索链接到的第三方网页内容可能涉嫌侵犯其信息网络传播权,应该及时向阅读提出书面权力通知,并提供身份证明、权属证明及详细侵权情况证明。阅读在收到上述法律文件后,将会依法尽快断开相关链接内容。
|
||||
|
||||
## 服务地址说明
|
||||
|
||||
> 全功能web端:`http://{host_ip}:{port}`
|
||||
>
|
||||
> 适配kindle的 simple-web (收费):`http://{host_ip}:{port}/simple-web`
|
||||
>
|
||||
> WebDAV同步配置:`http://{host_ip}:{port}/reader3/webdav/`
|
||||
>
|
||||
> 用户名 `default` 或 注册用户
|
||||
>
|
||||
> 密码 `123456` 或 注册用户密码
|
||||
|
||||
## 安装说明
|
||||
|
||||
> `远程 WebView API 地址 (插件)` 配置
|
||||
|
||||
此配置为远程 WebView API 地址,用于阅读3加载订阅源文章使用。
|
||||
|
||||
此项配置非强制配置,如果遇到无法加载订阅源文章的情况,可以尝试配置此项。
|
||||
|
||||
请先在应用商店搜索安装 `阅读3 Webview插件` 插件,然后配置 `远程 WebView API 地址`。
|
||||
|
||||
```yaml
|
||||
http://host_ip:port
|
||||
```
|
||||
|
||||
## 数据存储树
|
||||
|
||||
```yaml
|
||||
storage
|
||||
├── assets # 静态资源
|
||||
│ ├── hector # 用户 hector 的资源目录
|
||||
│ | |── covers # 本地 epub 书籍的封面图片目录
|
||||
│ │ ├── background # 自定义阅读背景图片保存目录
|
||||
│ │ │ └── 6.jpg
|
||||
│ └── reader.css # 自定义CSS样式文件
|
||||
├── cache # 缓存目录
|
||||
│ ├── 6190ac40068e74c2c82624e91a5f8a0c.jpg # 书籍封面缓存
|
||||
│ ├── bookInfoCache # 书籍搜索缓存 ACache 目录
|
||||
│ └── ea11967236129bdae6133c3c9ff8c2dd.jpg
|
||||
├── data # 数据目录
|
||||
│ ├── default # 系统默认用户的数据目录 (reader.app.secure为false时)
|
||||
│ │ ├── bookSource.json # 书源列表
|
||||
│ │ ├── bookshelf.json # 书架书籍列表
|
||||
│ │ ├── 斗罗大陆_唐家三少 # 书籍缓存目录
|
||||
│ │ │ ├── 5d01bc88d6b19ebbe974acaac1675811 # A书源章节缓存目录
|
||||
│ │ │ ├── 5d01bc88d6b19ebbe974acaac1675811.json # A书源目录列表
|
||||
│ │ │ ├── 7e5ca1cc2a1ea2e09fdec4ee2e150f02 # B书源章节缓存目录
|
||||
│ │ │ ├── 7e5ca1cc2a1ea2e09fdec4ee2e150f02.json # B书源目录列表
|
||||
│ │ │ └── bookSource.json # 书籍书源列表
|
||||
│ ├── hector # 用户 hector 的数据目录 (reader.app.secure为true时的用户目录)
|
||||
│ │ ├── bookSource.json # 书源列表
|
||||
│ │ ├── bookshelf.json # 书架书籍列表
|
||||
│ │ ├── webdav # webdav 存储目录 可能会存在 legado 子目录
|
||||
│ │ │ ├── backup2021-09-15.zip # 阅读3备份文件
|
||||
│ │ │ └── bookProgress # 阅读3书籍进度备份目录
|
||||
│ │ │ └── 斗罗大陆_唐家三少.json # 阅读3书籍进度
|
||||
│ │ └── 斗罗大陆_唐家三少 # 书籍缓存目录
|
||||
│ │ |── 2d44d0ec2397b6c1d4010b97d914031e # A书源章节缓存目录
|
||||
│ │ └── 2d44d0ec2397b6c1d4010b97d914031e.json # A书源目录列表
|
||||
│ └── users.json # 用户列表
|
||||
├── localStore # 本地书仓,所有用户共享(用户需要开启书仓权限,才能访问)
|
||||
│ |── 斗破苍穹.txt # 本地书仓书籍
|
||||
│ └── 斗罗大陆.txt # 本地书仓书籍
|
||||
└── windowConfig.json # 窗口配置文件
|
||||
```
|
||||
|
||||
## 获取激活码
|
||||
|
||||
已知付费功能
|
||||
|
||||
- 适配kindle的 simple-web
|
||||
- 用户数量限制 (默认最大值为 50 个)
|
||||
|
||||
如果需要付费功能,请联系作者获取 `激活密钥` 。
|
||||
|
||||
<img src="https://file.lifebus.top/imgs/reader3_author_wechat_official_accounts.png" width="100%"/>
|
17
apps/reader3/data.yml
Normal file
17
apps/reader3/data.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: 阅读3
|
||||
title: 阅读3服务器版,不需要手机
|
||||
description: 阅读3服务器版,不需要手机
|
||||
additionalProperties:
|
||||
key: reader3
|
||||
name: 阅读3
|
||||
tags:
|
||||
- WebSite
|
||||
- Local
|
||||
shortDescZh: 阅读3服务器版,不需要手机
|
||||
shortDescEn: Reader3 server version, no need for mobile phone
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://github.com/hectorqin/reader/
|
||||
github: https://github.com/hectorqin/reader/
|
||||
document: https://github.com/hectorqin/reader/
|
BIN
apps/reader3/logo.png
Normal file
BIN
apps/reader3/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 206 KiB |
Loading…
Reference in New Issue
Block a user