diff --git a/apps/pixman/1.5.6/data.yml b/apps/pixman/1.5.6/data.yml new file mode 100644 index 000000000..2edb4e676 --- /dev/null +++ b/apps/pixman/1.5.6/data.yml @@ -0,0 +1,31 @@ +additionalProperties: + formFields: + - default: "/home/pixman" + edit: true + envKey: PIXMAN_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 5000 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number + - default: "" + edit: true + envKey: MYTVSUPER_TOKEN + labelZh: MyTVSuper 授权码 + labelEn: MyTVSuper Token + required: false + type: text + - default: "" + edit: true + envKey: NETWORK_PROXY + labelZh: 网络代理 + labelEn: Network Proxy + required: false + type: text diff --git a/apps/pixman/1.5.6/docker-compose.yml b/apps/pixman/1.5.6/docker-compose.yml new file mode 100644 index 000000000..7c689f00f --- /dev/null +++ b/apps/pixman/1.5.6/docker-compose.yml @@ -0,0 +1,23 @@ +version: "3.8" +networks: + 1panel-network: + external: true +services: + pixman: + image: pixman/pixman:v1.5.6 + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" + restart: always + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:5000 + env_file: + - /etc/1panel/envs/global.env + - ${ENV_FILE:-/etc/1panel/envs/default.env} + volumes: + - ${PIXMAN_ROOT_PATH}/m3u:/app/app/data/m3u + entrypoint: + - http_proxy=${NETWORK_PROXY:-} + - https_proxy=${NETWORK_PROXY:-} diff --git a/apps/pixman/1.5.6/scripts/init.sh b/apps/pixman/1.5.6/scripts/init.sh new file mode 100644 index 000000000..77b849120 --- /dev/null +++ b/apps/pixman/1.5.6/scripts/init.sh @@ -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 diff --git a/apps/pixman/1.5.6/scripts/uninstall.sh b/apps/pixman/1.5.6/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/apps/pixman/1.5.6/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/pixman/1.5.6/scripts/upgrade.sh b/apps/pixman/1.5.6/scripts/upgrade.sh new file mode 100644 index 000000000..77b849120 --- /dev/null +++ b/apps/pixman/1.5.6/scripts/upgrade.sh @@ -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 diff --git a/apps/pixman/README.md b/apps/pixman/README.md new file mode 100644 index 000000000..69e7b3a21 --- /dev/null +++ b/apps/pixman/README.md @@ -0,0 +1,25 @@ +# Pixman + +## 免责声明 + +本程序仅供学习或测试设备,禁止 `中国大陆用户` 使用,不得用于商业用途,否则后果自负 + +## 使用说明 + +除内置资源外,可自行挂载 `.m3u` 文件。 + +可挂载到 持久化目录 `m3u` 目录下,并通过 `http://{host_ip}:{port}/<文件名>.m3u` 使用。 + +## 快捷操作 + +> 清理缓存 + +```shell +flask clean_cache +``` + +> 更新 mytvsuper_tivimate.m3u 文件 + +```shell +flask mytvsuper_tivimate +``` diff --git a/apps/pixman/data.yml b/apps/pixman/data.yml new file mode 100644 index 000000000..d7ed62cd0 --- /dev/null +++ b/apps/pixman/data.yml @@ -0,0 +1,18 @@ +name: Pixman +title: IPTV、M3U8 直播源 +description: IPTV、M3U8 直播源 +additionalProperties: + key: pixman + name: Pixman + tags: + - WebSite + - Media + - Local + shortDescZh: IPTV、M3U8 直播源 + shortDescEn: IPTV、M3U8 直播源 + type: website + crossVersionUpdate: true + limit: 0 + website: https://pixman.io/ + github: https://pixman.io/ + document: https://pixman.io/ diff --git a/apps/pixman/logo.png b/apps/pixman/logo.png new file mode 100644 index 000000000..e9b7d0cde Binary files /dev/null and b/apps/pixman/logo.png differ