From db97c6fa999888b223b885b856853da499c9d8ac Mon Sep 17 00:00:00 2001 From: okxlin Date: Tue, 28 May 2024 01:06:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0pic-smaller=E5=88=B0?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/pic-smaller/20240517/.env.sample | 2 ++ apps/pic-smaller/20240517/data.yml | 10 +++++++++ apps/pic-smaller/20240517/docker-compose.yml | 16 ++++++++++++++ apps/pic-smaller/README.md | 3 +++ apps/pic-smaller/data.yml | 21 +++++++++++++++++++ apps/pic-smaller/latest/.env.sample | 2 ++ apps/pic-smaller/latest/data.yml | 10 +++++++++ apps/pic-smaller/latest/docker-compose.yml | 16 ++++++++++++++ apps/pic-smaller/logo.png | Bin 0 -> 1524 bytes 9 files changed, 80 insertions(+) create mode 100644 apps/pic-smaller/20240517/.env.sample create mode 100644 apps/pic-smaller/20240517/data.yml create mode 100644 apps/pic-smaller/20240517/docker-compose.yml create mode 100644 apps/pic-smaller/README.md create mode 100644 apps/pic-smaller/data.yml create mode 100644 apps/pic-smaller/latest/.env.sample create mode 100644 apps/pic-smaller/latest/data.yml create mode 100644 apps/pic-smaller/latest/docker-compose.yml create mode 100644 apps/pic-smaller/logo.png diff --git a/apps/pic-smaller/20240517/.env.sample b/apps/pic-smaller/20240517/.env.sample new file mode 100644 index 00000000..39b024c8 --- /dev/null +++ b/apps/pic-smaller/20240517/.env.sample @@ -0,0 +1,2 @@ +CONTAINER_NAME="pic-smaller" +PANEL_APP_PORT_HTTP="40253" diff --git a/apps/pic-smaller/20240517/data.yml b/apps/pic-smaller/20240517/data.yml new file mode 100644 index 00000000..9be33f14 --- /dev/null +++ b/apps/pic-smaller/20240517/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: 40253 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number diff --git a/apps/pic-smaller/20240517/docker-compose.yml b/apps/pic-smaller/20240517/docker-compose.yml new file mode 100644 index 00000000..ec63cf15 --- /dev/null +++ b/apps/pic-smaller/20240517/docker-compose.yml @@ -0,0 +1,16 @@ +version: "3" +services: + pic-smaller: + image: "vimiix/pic-smaller:20240517" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:3000" + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true \ No newline at end of file diff --git a/apps/pic-smaller/README.md b/apps/pic-smaller/README.md new file mode 100644 index 00000000..489e145c --- /dev/null +++ b/apps/pic-smaller/README.md @@ -0,0 +1,3 @@ +# Pic Smaller (图小小) + +**Pic Smaller** is a super easy-to-use online image compression tool. Its UI is intuitive and supports compression configuration. At the same time, because it is purely local compression without any server-side logic, it is completely safe. \ No newline at end of file diff --git a/apps/pic-smaller/data.yml b/apps/pic-smaller/data.yml new file mode 100644 index 00000000..4485e428 --- /dev/null +++ b/apps/pic-smaller/data.yml @@ -0,0 +1,21 @@ +name: Pic Smaller +tags: + - 实用工具 + - 多媒体 +title: 智能图片压缩工具 +description: 智能压缩 JPEG、PNG、WEBP、AVIF、SVG 和 GIF 图片 +additionalProperties: + key: pic-smaller + name: Pic Smaller + tags: + - Tool + - Media + shortDescZh: 智能压缩 JPEG、PNG、WEBP、AVIF、SVG 和 GIF 图片 + shortDescEn: Compress JPEG, PNG, WEBP, AVIF, SVG and GIF images intelligently + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://picsmaller.com + github: https://github.com/joye61/pic-smaller + document: https://github.com/joye61/pic-smaller diff --git a/apps/pic-smaller/latest/.env.sample b/apps/pic-smaller/latest/.env.sample new file mode 100644 index 00000000..39b024c8 --- /dev/null +++ b/apps/pic-smaller/latest/.env.sample @@ -0,0 +1,2 @@ +CONTAINER_NAME="pic-smaller" +PANEL_APP_PORT_HTTP="40253" diff --git a/apps/pic-smaller/latest/data.yml b/apps/pic-smaller/latest/data.yml new file mode 100644 index 00000000..9be33f14 --- /dev/null +++ b/apps/pic-smaller/latest/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: 40253 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number diff --git a/apps/pic-smaller/latest/docker-compose.yml b/apps/pic-smaller/latest/docker-compose.yml new file mode 100644 index 00000000..41be4382 --- /dev/null +++ b/apps/pic-smaller/latest/docker-compose.yml @@ -0,0 +1,16 @@ +version: "3" +services: + pic-smaller: + image: "vimiix/pic-smaller:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:3000" + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true \ No newline at end of file diff --git a/apps/pic-smaller/logo.png b/apps/pic-smaller/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..79bd52963286c837da9236fbb377e580c85e5003 GIT binary patch literal 1524 zcmb7E`#TeA9AC9la*z|17&b~zl+aj@ImE_BxnztI#SX`HVQU;EGjfaNlFB8G>Etdp zc32E^8FE>*TrzPg*SU0Taum*Zp8kOIJfF|^{k)&|d->t}Ja4j-14>?2RTcmM$lIck z&eD^)O_@E?D66z8jeupRi!RnqlTXy1`J#CDwzjr3p8xLnArIA)>Nt^aFU&>1qFQ&Q zTpW9>RT+$Ub01t5h#r1$vL@WNKON4AJ=G8i?@h97PdHwM*C-7@bR?OuqjebJ_9Ks= zZRCy3&9C3r8$J!j^_O29dU!$b!0vUX9X~^-B4koLf0dJQuI3Nk+-SCdW!@HVP#>Ys zyxBJ|toys~&oS=VhNv@@1igyT#Wiv3w4i#TC!9wM>d3cc#hbKKEEv%SO}C)cq~oQ* zLrb6XhhN_5E5Ws8pC3py?@MuPOg_mZOs_7DewpGgOr-E%pz7lctB51ZQ$${2Xjj3w z?t}pV0OZ&rEnOl6VxFM9Mw40O7KCYq_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