diff --git a/apps/syncclipboard-server/2.7.5/.env.sample b/apps/syncclipboard-server/2.7.5/.env.sample new file mode 100644 index 00000000..dec0e2fa --- /dev/null +++ b/apps/syncclipboard-server/2.7.5/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="syncclipboard-server" +PANEL_APP_PORT_HTTP="40229" +CONFIG_FILE_PATH="./data/appsettings.json" diff --git a/apps/syncclipboard-server/2.7.5/data.yml b/apps/syncclipboard-server/2.7.5/data.yml new file mode 100644 index 00000000..9a2c4206 --- /dev/null +++ b/apps/syncclipboard-server/2.7.5/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: 40229 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data/appsettings.json + disabled: true + envKey: CONFIG_FILE_PATH + labelEn: Configuration file path + labelZh: 配置文件路径 + required: true + type: text diff --git a/apps/syncclipboard-server/2.7.5/data/appsettings.json b/apps/syncclipboard-server/2.7.5/data/appsettings.json new file mode 100644 index 00000000..0f5a0ef2 --- /dev/null +++ b/apps/syncclipboard-server/2.7.5/data/appsettings.json @@ -0,0 +1,20 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*", + "Kestrel": { + "Endpoints": { + "Http": { + "Url": "http://0.0.0.0:5033" + } + } + }, + "AppSettings": { + "UserName": "admin", + "Password": "admin" + } +} \ No newline at end of file diff --git a/apps/syncclipboard-server/2.7.5/docker-compose.yml b/apps/syncclipboard-server/2.7.5/docker-compose.yml new file mode 100644 index 00000000..eca36429 --- /dev/null +++ b/apps/syncclipboard-server/2.7.5/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3' +services: + syncclipboard-server: + image: jericx/syncclipboard-server:v2.7.5 + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:5033" + volumes: + - ${CONFIG_FILE_PATH}:/app/appsettings.json + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/syncclipboard-server/README.md b/apps/syncclipboard-server/README.md new file mode 100644 index 00000000..55e2e88a --- /dev/null +++ b/apps/syncclipboard-server/README.md @@ -0,0 +1,18 @@ +# SyncClipboard +[![build](https://github.com/Jeric-X/SyncClipboard/actions/workflows/build-entry.yml/badge.svg?branch=master)](https://github.com/Jeric-X/SyncClipboard/actions?query=branch%3Amaster) + +中文 | [English](https://github.com/Jeric-X/SyncClipboard/blob/master/docs/README_EN.md) + + +## 注意 + +- 默认用户名是`admin`,密码是`admin`,可以通过应用目录下的配置文件进行修改。 + + +## 功能 + +- 剪贴板同步,支持文字、图片和文件。服务器/客户端架构,可以使用客户端内置服务器、独立部署服务器,也可以使用支持WebDAV的网盘作为服务器 +- 优化图片类型的剪贴板,功能有: + - 从任意位置复制图片时,可以直接向文件系统粘贴图片文件,反之亦然 + - 从浏览器复制图片后,后台下载原图到本地,解决无法从浏览器拷贝动态图的问题(大多网站有认证,适用范围有限,支持bilibili动态图片) + - 从文件系统复制较新格式类型的图片文件时(webp/heic等),在剪贴板内储存gif或jpg格式,用于直接向支持图片的文本框粘贴图片 diff --git a/apps/syncclipboard-server/data.yml b/apps/syncclipboard-server/data.yml new file mode 100644 index 00000000..b1f1d95b --- /dev/null +++ b/apps/syncclipboard-server/data.yml @@ -0,0 +1,19 @@ +name: SyncClipboard-Server +tags: + - 实用工具 +title: 跨平台剪贴板同步方案 (服务端) +description: 跨平台剪贴板同步方案 (服务端) +additionalProperties: + key: syncclipboard-server + name: SyncClipboard-Server + tags: + - Tool + shortDescZh: 跨平台剪贴板同步方案 (服务端) + shortDescEn: Cross-Platform Cipboard Syncing Solution (Server) + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://github.com/Jeric-X/SyncClipboard + github: https://github.com/Jeric-X/SyncClipboard + document: https://github.com/Jeric-X/SyncClipboard diff --git a/apps/syncclipboard-server/latest/.env.sample b/apps/syncclipboard-server/latest/.env.sample new file mode 100644 index 00000000..dec0e2fa --- /dev/null +++ b/apps/syncclipboard-server/latest/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="syncclipboard-server" +PANEL_APP_PORT_HTTP="40229" +CONFIG_FILE_PATH="./data/appsettings.json" diff --git a/apps/syncclipboard-server/latest/data.yml b/apps/syncclipboard-server/latest/data.yml new file mode 100644 index 00000000..9a2c4206 --- /dev/null +++ b/apps/syncclipboard-server/latest/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: 40229 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data/appsettings.json + disabled: true + envKey: CONFIG_FILE_PATH + labelEn: Configuration file path + labelZh: 配置文件路径 + required: true + type: text diff --git a/apps/syncclipboard-server/latest/data/appsettings.json b/apps/syncclipboard-server/latest/data/appsettings.json new file mode 100644 index 00000000..0f5a0ef2 --- /dev/null +++ b/apps/syncclipboard-server/latest/data/appsettings.json @@ -0,0 +1,20 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*", + "Kestrel": { + "Endpoints": { + "Http": { + "Url": "http://0.0.0.0:5033" + } + } + }, + "AppSettings": { + "UserName": "admin", + "Password": "admin" + } +} \ No newline at end of file diff --git a/apps/syncclipboard-server/latest/docker-compose.yml b/apps/syncclipboard-server/latest/docker-compose.yml new file mode 100644 index 00000000..18be63f8 --- /dev/null +++ b/apps/syncclipboard-server/latest/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3' +services: + syncclipboard-server: + image: jericx/syncclipboard-server:latest + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:5033" + volumes: + - ${CONFIG_FILE_PATH}:/app/appsettings.json + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/syncclipboard-server/logo.png b/apps/syncclipboard-server/logo.png new file mode 100644 index 00000000..9cec3e62 Binary files /dev/null and b/apps/syncclipboard-server/logo.png differ