mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 21:16:55 +08:00
feat: 优化 reader 安装包
This commit is contained in:
parent
2ca58eca98
commit
1cccef4f8f
54
apps/reader/3.2.7/data.yml
Normal file
54
apps/reader/3.2.7/data.yml
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: '4396'
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: '50'
|
||||||
|
edit: true
|
||||||
|
envKey: READER_APP_USERLIMIT
|
||||||
|
labelEn: User Limit
|
||||||
|
labelZh: 用户上限
|
||||||
|
required: true
|
||||||
|
type: number
|
||||||
|
- default: '200'
|
||||||
|
edit: true
|
||||||
|
envKey: READER_APP_USERBOOKLIMIT
|
||||||
|
labelEn: User Book Limit
|
||||||
|
labelZh: 用户书籍上限
|
||||||
|
required: true
|
||||||
|
type: number
|
||||||
|
- default: "false"
|
||||||
|
envKey: READER_APP_SECURE
|
||||||
|
labelEn: Enable Login Authentication
|
||||||
|
labelZh: 开启登录鉴权,开启后将支持多用户模式
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 开启
|
||||||
|
value: "true"
|
||||||
|
- label: 关闭
|
||||||
|
value: "false"
|
||||||
|
- default: reader
|
||||||
|
envKey: READER_APP_SECUREKEY
|
||||||
|
labelEn: Admin Password
|
||||||
|
labelZh: 管理员密码
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
- default: "true"
|
||||||
|
envKey: READER_APP_CACHECHAPTERCONTENT
|
||||||
|
labelEn: Cache Chapter Content
|
||||||
|
labelZh: 开启缓存章节内容 V2.0
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 开启
|
||||||
|
value: "true"
|
||||||
|
- label: 关闭
|
||||||
|
value: "false"
|
25
apps/reader/3.2.7/docker-compose.yml
Normal file
25
apps/reader/3.2.7/docker-compose.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
version: '3.1'
|
||||||
|
services:
|
||||||
|
reader:
|
||||||
|
image: hectorqin/reader:3.2.7
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:8080
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
volumes:
|
||||||
|
- ./data/logs:/logs
|
||||||
|
- ./data/storage:/storage
|
||||||
|
environment:
|
||||||
|
- SPRING_PROFILES_ACTIVE=prod
|
||||||
|
- READER_APP_USERLIMIT=${READER_APP_USERLIMIT}
|
||||||
|
- READER_APP_USERBOOKLIMIT=${READER_APP_USERBOOKLIMIT}
|
||||||
|
- READER_APP_CACHECHAPTERCONTENT=${READER_APP_CACHECHAPTERCONTENT}
|
||||||
|
- READER_APP_SECURE=${READER_APP_SECURE:-FALSE}
|
||||||
|
- READER_APP_SECUREKEY=${READER_APP_SECUREKEY}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
36
apps/reader/README.md
Normal file
36
apps/reader/README.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# reader
|
||||||
|
|
||||||
|
**阅读是一款提供网络文学搜索的工具,为广大网络文学爱好者提供一种方便、快捷舒适的试读体验。**
|
||||||
|
|
||||||
|
当您搜索一本书的时,阅读会将该书的书名以关键词的形式提交到各个第三方网络文学网站。
|
||||||
|
各第三方网站返回的内容与阅读无关,阅读对其概不负责,亦不承担任何法律责任。
|
||||||
|
任何通过使用阅读而链接到的第三方网页均系他人制作或提供,您可能从第三方网页上获得其他服务,阅读对其合法性概不负责,亦不承担任何法律责任。
|
||||||
|
第三方搜索引擎结果根据您提交的书名自动搜索获得并提供试读,不代表阅读赞成或被搜索链接到的第三方网页上的内容或立场。您应该对使用搜索引擎的结果自行承担风险。
|
||||||
|
|
||||||
|
## 主要功能:
|
||||||
|
|
||||||
|
- 书架管理
|
||||||
|
- 书架布局
|
||||||
|
- 搜索
|
||||||
|
- 书海
|
||||||
|
- 看书
|
||||||
|
- 移动端适配
|
||||||
|
- 换源
|
||||||
|
- 翻页方式
|
||||||
|
- 手势支持
|
||||||
|
- 自定义主题
|
||||||
|
- 自定义样式
|
||||||
|
- WebDAV同步
|
||||||
|
- 文字替换过滤
|
||||||
|
- 听书<仅部分浏览器支持,手机端会因为锁屏而失效>
|
||||||
|
- 用户配置备份恢复
|
||||||
|
- 支持漫画
|
||||||
|
- 支持音频
|
||||||
|
- 书源失效检测
|
||||||
|
- 导入本地TXT、EPUB、UMD、PDF格式的书籍
|
||||||
|
- 书籍分组
|
||||||
|
- RSS订阅
|
||||||
|
- 定时更新书架
|
||||||
|
- 并发搜书
|
||||||
|
- 本地书仓
|
||||||
|
- 支持kindle阅读
|
@ -1,10 +1,15 @@
|
|||||||
|
name: reader
|
||||||
|
tags:
|
||||||
|
- 实用工具
|
||||||
|
title: 阅读3服务器版
|
||||||
|
type: 实用工具
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
key: reader
|
key: reader
|
||||||
name: reader
|
name: reader
|
||||||
tags:
|
tags:
|
||||||
- Tool
|
- Tool
|
||||||
shortDescZh: 阅读3服务器版
|
shortDescZh: 阅读3服务器版
|
||||||
shortDescEn: reader-server
|
shortDescEn: Read 3 Server Edition
|
||||||
type: tool
|
type: tool
|
||||||
crossVersionUpdate: true
|
crossVersionUpdate: true
|
||||||
limit: 0
|
limit: 0
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@ -1,15 +0,0 @@
|
|||||||
# 免责声明(Disclaimer)
|
|
||||||
|
|
||||||
*阅读是一款提供网络文学搜索的工具,为广大网络文学爱好者提供一种方便、快捷舒适的试读体验。
|
|
||||||
*当您搜索一本书的时,阅读会将该书的书名以关键词的形式提交到各个第三方网络文学网站。各第三方网站返回的内容与阅读无关,阅读对其概不负责,亦不承担任何法律责任。任何通过使用阅读而链接到的第三方网页均系他人制作或提供,您可能从第三方网页上获得其他服务,阅读对其合法性概不负责,亦不承担任何法律责任。第三方搜索引擎结果根据您提交的书名自动搜索获得并提供试读,不代表阅读赞成或被搜索链接到的第三方网页上的内容或立场。您应该对使用搜索引擎的结果自行承担风险。
|
|
||||||
|
|
||||||
## TODO:
|
|
||||||
|
|
||||||
- 定时更新书架书籍章节
|
|
||||||
- 多源并发搜索书籍
|
|
||||||
- 并发更新书架章节
|
|
||||||
- 并发搜索书籍来源
|
|
||||||
- WebDav同步
|
|
||||||
- 导入本地书籍,支持epub
|
|
||||||
- 阅读3核心兼容。已最大可能兼容,支持使用webview,支持使用javascript。
|
|
||||||
- 支持RSS订阅
|
|
@ -1,73 +0,0 @@
|
|||||||
additionalProperties:
|
|
||||||
formFields:
|
|
||||||
- default: '4396'
|
|
||||||
edit: true
|
|
||||||
envKey: PANEL_APP_PORT_HTTP
|
|
||||||
labelEn: Port
|
|
||||||
labelZh: 端口
|
|
||||||
required: true
|
|
||||||
rule: paramPort
|
|
||||||
type: number
|
|
||||||
- default: 'hectorqin/reader和hectorqin/reader:openj9-latest'
|
|
||||||
edit: true
|
|
||||||
envKey: READER_IMAGE
|
|
||||||
labelEn: reader:openj9-latest:arm64:This image is preferred for arm64 architecture or small memory machines
|
|
||||||
labelZh: reader:openj9-latest:arm64架构或小内存机器优先使用此镜像
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: '/home/reader/logs'
|
|
||||||
edit: true
|
|
||||||
envKey: READER_LOGS_PATH
|
|
||||||
labelEn: Logs Path
|
|
||||||
labelZh: 日志路径
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: '/home/reader/storage'
|
|
||||||
edit: true
|
|
||||||
envKey: READER_STORAGE_PATH
|
|
||||||
labelEn: Storage Path
|
|
||||||
labelZh: 存储路径
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: '50'
|
|
||||||
edit: true
|
|
||||||
envKey: READER_APP_USERLIMIT
|
|
||||||
labelEn: User Limit
|
|
||||||
labelZh: 用户上限
|
|
||||||
required: true
|
|
||||||
type: number
|
|
||||||
- default: '200'
|
|
||||||
edit: true
|
|
||||||
envKey: READER_APP_USERBOOKLIMIT
|
|
||||||
labelEn: User Book Limit
|
|
||||||
labelZh: 用户书籍上限
|
|
||||||
required: true
|
|
||||||
type: number
|
|
||||||
- default: 'true'
|
|
||||||
edit: true
|
|
||||||
envKey: READER_APP_CACHECHAPTERCONTENT
|
|
||||||
labelEn: Cache Chapter Content
|
|
||||||
labelZh: 开启缓存章节内容 V2.0
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: 'true'
|
|
||||||
edit: true
|
|
||||||
envKey: READER_APP_SECURE
|
|
||||||
labelEn: Enable Login Authentication
|
|
||||||
labelZh: 开启登录鉴权,开启后将支持多用户模式
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: 'adminpwd'
|
|
||||||
edit: true
|
|
||||||
envKey: READER_APP_SECUREKEY
|
|
||||||
labelEn: Admin Password
|
|
||||||
labelZh: 管理员密码
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: 'registercode'
|
|
||||||
edit: true
|
|
||||||
envKey: READER_APP_INVITECODE
|
|
||||||
labelEn: Invite Code
|
|
||||||
labelZh: 注册邀请码
|
|
||||||
required: true
|
|
||||||
type: text
|
|
@ -1,25 +0,0 @@
|
|||||||
version: '3.1'
|
|
||||||
services:
|
|
||||||
reader:
|
|
||||||
image: "${READER_IMAGE}"
|
|
||||||
container_name: ${CONTAINER_NAME}
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- "${PANEL_APP_PORT_HTTP}:8080" #4396端口映射可自行修改
|
|
||||||
networks:
|
|
||||||
- share_net
|
|
||||||
volumes:
|
|
||||||
- "${READER_LOGS_PATH}:/logs" #log映射目录 /home/reader/logs 映射目录可自行修改
|
|
||||||
- "${READER_STORAGE_PATH}:/storage" #数据映射目录 /home/reader/storage 映射目录可自行修改
|
|
||||||
environment:
|
|
||||||
- SPRING_PROFILES_ACTIVE=prod
|
|
||||||
- "READER_APP_USERLIMIT=${READER_APP_USERLIMIT}" #用户上限,默认50
|
|
||||||
- "READER_APP_USERBOOKLIMIT=${READER_APP_USERBOOKLIMIT}" #用户书籍上限,默认200
|
|
||||||
- "READER_APP_CACHECHAPTERCONTENT=${READER_APP_CACHECHAPTERCONTENT}" #开启缓存章节内容 V2.0
|
|
||||||
# 下面都是多用户模式配置
|
|
||||||
- "READER_APP_SECURE=${READER_APP_SECURE}" #开启登录鉴权,开启后将支持多用户模式
|
|
||||||
- "READER_APP_SECUREKEY=${READER_APP_SECUREKEY}" #管理员密码 建议修改
|
|
||||||
- "READER_APP_INVITECODE=${READER_APP_INVITECODE}" #注册邀请码 建议修改,如不需要可注释或删除
|
|
||||||
networks:
|
|
||||||
share_net:
|
|
||||||
driver: bridge
|
|
Loading…
Reference in New Issue
Block a user