diff --git a/.github/README.md b/.github/README.md index 36040c34..f7fabdd1 100644 --- a/.github/README.md +++ b/.github/README.md @@ -152,6 +152,7 @@ | 🟢 | | 唐僧叨叨 | https://tsdaodao.com/ | 让企业轻松拥有自己的即时通讯 | | | 🟢 | | Teemii | https://www.teemii.io/ | 漫画阅读器和管理器 | | | 🟢 | | Telegram Bot Api | https://telegram.org/ | 自建 Telegram Bot API 服务器 | | +| 🟢 | | Tissue | https://github.com/chris-2s/tissue/ | 老师教材刮削工具,提供海报下载、元数据匹配等功能 | | | 🟢 | | TOPIAM | https://topiam.cn/ | IAM/IDaaS 身份管理平台 | | | 🟢 | | Traccar 轨迹 | https://www.traccar.org/ | 现代 GPS 追踪系统 | | | 🟢 | | Transmission | https://transmissionbt.com/ | 快速、简单、免费的 Bittorrent 客户端 | | diff --git a/README.md b/README.md index 40d3ec3a..db9888c4 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,7 @@ | 🟢 | | 唐僧叨叨 | https://tsdaodao.com/ | 让企业轻松拥有自己的即时通讯 | | | 🟢 | | Teemii | https://www.teemii.io/ | 漫画阅读器和管理器 | | | 🟢 | | Telegram Bot Api | https://telegram.org/ | 自建 Telegram Bot API 服务器 | | +| 🟢 | | Tissue | https://github.com/chris-2s/tissue/ | 老师教材刮削工具,提供海报下载、元数据匹配等功能 | | | 🟢 | | TOPIAM | https://topiam.cn/ | IAM/IDaaS 身份管理平台 | | | 🟢 | | Traccar 轨迹 | https://www.traccar.org/ | 现代 GPS 追踪系统 | | | 🟢 | | Transmission | https://transmissionbt.com/ | 快速、简单、免费的 Bittorrent 客户端 | | diff --git a/apps/tissue/1.5.11/data.yml b/apps/tissue/1.5.11/data.yml new file mode 100644 index 00000000..41c598bc --- /dev/null +++ b/apps/tissue/1.5.11/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: "/home/tissue" + edit: true + envKey: TISSUE_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 9193 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number diff --git a/apps/tissue/1.5.11/docker-compose.yml b/apps/tissue/1.5.11/docker-compose.yml new file mode 100644 index 00000000..675e0d66 --- /dev/null +++ b/apps/tissue/1.5.11/docker-compose.yml @@ -0,0 +1,25 @@ +networks: + 1panel-network: + external: true + +services: + tissue: + image: chris2s/tissue:1.5.11 + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" + restart: always + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:9193 + env_file: + - ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env} + - ${ENV_FILE:-/etc/1panel/envs/default.env} + volumes: + - ${TISSUE_ROOT_PATH}/config:/app/config + - ${TISSUE_ROOT_PATH}/video:/data/video + - ${TISSUE_ROOT_PATH}/file:/data/file + - ${TISSUE_ROOT_PATH}/downloads:/downloads + environment: + - TZ=Asia/Shanghai diff --git a/apps/tissue/1.5.11/envs/default.env b/apps/tissue/1.5.11/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/apps/tissue/1.5.11/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/apps/tissue/1.5.11/envs/global.env b/apps/tissue/1.5.11/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/apps/tissue/1.5.11/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/apps/tissue/1.5.11/scripts/init.sh b/apps/tissue/1.5.11/scripts/init.sh new file mode 100644 index 00000000..07fb8c3f --- /dev/null +++ b/apps/tissue/1.5.11/scripts/init.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + sed -i '/^GLOBAL_ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/tissue/1.5.11/scripts/uninstall.sh b/apps/tissue/1.5.11/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/apps/tissue/1.5.11/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/tissue/1.5.11/scripts/upgrade.sh b/apps/tissue/1.5.11/scripts/upgrade.sh new file mode 100644 index 00000000..07fb8c3f --- /dev/null +++ b/apps/tissue/1.5.11/scripts/upgrade.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + sed -i '/^GLOBAL_ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/tissue/README.md b/apps/tissue/README.md new file mode 100644 index 00000000..9c484c2a --- /dev/null +++ b/apps/tissue/README.md @@ -0,0 +1,25 @@ +# Tissue + +简短的介绍 + +![Tissue](https://file.lifebus.top/imgs/tissue_cover.png) + +![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue) + +## 使用说明 + ++ 科学的上网方式是使用本项目的前提,这是最重要的一点。 ++ 项目仍处于非常早期阶段,只是满足了最基本的需求。 ++ 目前仍有许多bug,不排除有丢失或污染数据的可能性,请做好备份,酌情使用。 ++ 对于非Tissue刮削的NFO文件打开可能存在报错,有处理了部分情况,可能还有遗漏的情况。 ++ 当前还是自用为主,请勿在国内任何平台讨论本项目。 + +## 安装说明 + +> 默认用户名:`admin` +> +> 默认密码:`password` + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/apps/tissue/data.yml b/apps/tissue/data.yml new file mode 100644 index 00000000..47bc399a --- /dev/null +++ b/apps/tissue/data.yml @@ -0,0 +1,14 @@ +additionalProperties: + key: tissue + name: Tissue + tags: + - WebSite + - Local + shortDescZh: 老师教材刮削工具,提供海报下载、元数据匹配等功能 + shortDescEn: A scraping tool for teachers' teaching materials, providing functions such as poster download and metadata matching + type: website + crossVersionUpdate: true + limit: 0 + website: https://github.com/chris-2s/tissue/ + github: https://github.com/chris-2s/tissue/ + document: https://github.com/chris-2s/tissue/ diff --git a/apps/tissue/logo.png b/apps/tissue/logo.png new file mode 100644 index 00000000..2512e2b9 Binary files /dev/null and b/apps/tissue/logo.png differ