diff --git a/reader/README.md b/reader/README.md new file mode 100644 index 00000000..37975676 --- /dev/null +++ b/reader/README.md @@ -0,0 +1,15 @@ +# 免责声明(Disclaimer) + +*阅读是一款提供网络文学搜索的工具,为广大网络文学爱好者提供一种方便、快捷舒适的试读体验。 +*当您搜索一本书的时,阅读会将该书的书名以关键词的形式提交到各个第三方网络文学网站。各第三方网站返回的内容与阅读无关,阅读对其概不负责,亦不承担任何法律责任。任何通过使用阅读而链接到的第三方网页均系他人制作或提供,您可能从第三方网页上获得其他服务,阅读对其合法性概不负责,亦不承担任何法律责任。第三方搜索引擎结果根据您提交的书名自动搜索获得并提供试读,不代表阅读赞成或被搜索链接到的第三方网页上的内容或立场。您应该对使用搜索引擎的结果自行承担风险。 + +## TODO: + + - 定时更新书架书籍章节 + - 多源并发搜索书籍 + - 并发更新书架章节 + - 并发搜索书籍来源 + - WebDav同步 + - 导入本地书籍,支持epub + - 阅读3核心兼容。已最大可能兼容,支持使用webview,支持使用javascript。 + - 支持RSS订阅 diff --git a/reader/data.yml b/reader/data.yml new file mode 100644 index 00000000..ce55837d --- /dev/null +++ b/reader/data.yml @@ -0,0 +1,13 @@ +additionalProperties: + key: reader + name: reader + tags: + - Tool + shortDescZh: 阅读3服务器版 + shortDescEn: reader-server + type: tool + crossVersionUpdate: true + limit: 0 + website: https://github.com/hectorqin/reader + github: https://github.com/hectorqin/reader + document: https://github.com/hectorqin/reader/blob/master/doc.md \ No newline at end of file diff --git a/reader/latest/data.yml b/reader/latest/data.yml new file mode 100644 index 00000000..6f8abd88 --- /dev/null +++ b/reader/latest/data.yml @@ -0,0 +1,73 @@ +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 diff --git a/reader/latest/docker-compose.yml b/reader/latest/docker-compose.yml new file mode 100644 index 00000000..a891cb27 --- /dev/null +++ b/reader/latest/docker-compose.yml @@ -0,0 +1,25 @@ +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 diff --git a/reader/logo.png b/reader/logo.png new file mode 100644 index 00000000..930f00a9 Binary files /dev/null and b/reader/logo.png differ