From 2717cf82409454b9ac8e11e3fcd8164d050241d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E6=A3=AE?= Date: Thu, 15 Aug 2024 12:54:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=BA=94=E7=94=A8=20?= =?UTF-8?q?=E9=A6=96=E5=B8=AD=E6=83=85=E6=8A=A5=E5=AE=98=EF=BC=88Wiseflow?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 萌森 --- apps/wiseflow/0.3.1/data.yml | 68 +++++++++++++++++++++++ apps/wiseflow/0.3.1/docker-compose.yml | 31 +++++++++++ apps/wiseflow/0.3.1/scripts/init.sh | 15 +++++ apps/wiseflow/0.3.1/scripts/uninstall.sh | 10 ++++ apps/wiseflow/0.3.1/scripts/upgrade.sh | 15 +++++ apps/wiseflow/README.md | 15 +++++ apps/wiseflow/data.yml | 18 ++++++ apps/wiseflow/logo.png | Bin 0 -> 7260 bytes 8 files changed, 172 insertions(+) create mode 100644 apps/wiseflow/0.3.1/data.yml create mode 100644 apps/wiseflow/0.3.1/docker-compose.yml create mode 100644 apps/wiseflow/0.3.1/scripts/init.sh create mode 100644 apps/wiseflow/0.3.1/scripts/uninstall.sh create mode 100644 apps/wiseflow/0.3.1/scripts/upgrade.sh create mode 100644 apps/wiseflow/README.md create mode 100644 apps/wiseflow/data.yml create mode 100644 apps/wiseflow/logo.png diff --git a/apps/wiseflow/0.3.1/data.yml b/apps/wiseflow/0.3.1/data.yml new file mode 100644 index 00000000..7b9510ef --- /dev/null +++ b/apps/wiseflow/0.3.1/data.yml @@ -0,0 +1,68 @@ +additionalProperties: + formFields: + - default: "/home/wiseflow" + edit: true + envKey: WISEFLOW_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 8090 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: + labelEn: WebUI port + required: true + rule: paramPort + type: number + - default: 8077 + edit: true + envKey: PANEL_APP_PORT_BACKEND + labelZh: 后端服务端口 + labelEn: Backend service port + required: true + rule: paramPort + type: number + - default: "https://api.siliconflow.cn/v1" + edit: true + envKey: LLM_API_BASE + labelZh: LLM API 地址 + labelEn: LLM API address + required: true + rule: paramExtUrl + type: text + - default: "" + edit: true + envKey: LLM_API_KEY + labelZh: LLM API 密钥 + labelEn: LLM API key + required: false + type: text + - default: "test@example.com|1234567890" + edit: true + envKey: PB_API_AUTH + labelZh: PB数据库 账户密码 + labelEn: PB database account password + required: true + type: text + - default: "zhipuai/glm4-9B-chat" + edit: true + envKey: GET_INFO_MODEL + labelZh: 信息提炼与标签匹配任务模型 + labelEn: Information extraction and label matching task model + required: true + type: text + - default: "alibaba/Qwen2-7B-Instruct" + edit: true + envKey: REWRITE_MODEL + labelZh: 近似信息合并改写任务模型 + labelEn: Approximate information merge rewrite task model + required: true + type: text + - default: "alibaba/Qwen2-7B-Instruct" + edit: true + envKey: HTML_PARSE_MODEL + labelZh: 网页解析模型 + labelEn: Web page parsing model + required: true + type: text diff --git a/apps/wiseflow/0.3.1/docker-compose.yml b/apps/wiseflow/0.3.1/docker-compose.yml new file mode 100644 index 00000000..12cadeda --- /dev/null +++ b/apps/wiseflow/0.3.1/docker-compose.yml @@ -0,0 +1,31 @@ +version: "3.8" + +networks: + 1panel-network: + external: true + +services: + wiseflow: + image: qyg2297248353/wiseflow:v0.3.1 + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" + restart: always + networks: + - 1panel-network + tty: true + stdin_open: true + ports: + - ${PANEL_APP_PORT_HTTP}:8090 + - ${PANEL_APP_PORT_BACKEND}:8077 + env_file: + - /etc/1panel/envs/global.env + - ${ENV_FILE:-/etc/1panel/envs/default.env} + volumes: + - ${WISEFLOW_ROOT_PATH}/pb_data:/app/pb/pb_data + - ${WISEFLOW_ROOT_PATH}/data:/app/data + environment: + - TZ=Asia/Shanghai + - LANG=zh_CN.UTF-8 + - LC_ALL=zh_CN.UTF-8 + - WS_LOG=verbose diff --git a/apps/wiseflow/0.3.1/scripts/init.sh b/apps/wiseflow/0.3.1/scripts/init.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/wiseflow/0.3.1/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/wiseflow/0.3.1/scripts/uninstall.sh b/apps/wiseflow/0.3.1/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/apps/wiseflow/0.3.1/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/wiseflow/0.3.1/scripts/upgrade.sh b/apps/wiseflow/0.3.1/scripts/upgrade.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/wiseflow/0.3.1/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/wiseflow/README.md b/apps/wiseflow/README.md new file mode 100644 index 00000000..7aff40bd --- /dev/null +++ b/apps/wiseflow/README.md @@ -0,0 +1,15 @@ +# Wiseflow 首席情报官 + +一款注重隐私、安全可控的自定义通知推送工具。 + +![Bark](https://file.lifebus.top/imgs/bark_logo.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) + +## 特性 + +Pass + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/apps/wiseflow/data.yml b/apps/wiseflow/data.yml new file mode 100644 index 00000000..00e3f6d7 --- /dev/null +++ b/apps/wiseflow/data.yml @@ -0,0 +1,18 @@ +name: Wiseflow 首席情报官 +title: Wiseflow 首席情报官 +description: 通知推送工具 +additionalProperties: + key: wiseflow + name: Wiseflow 首席情报官 + tags: + - WebSite + - Tool + - Local + shortDescZh: Wiseflow 首席情报官 + shortDescEn: Wiseflow Chief Intelligence Officer + type: website + crossVersionUpdate: true + limit: 0 + website: https://github.com/TeamWiseFlow/wiseflow/ + github: https://github.com/TeamWiseFlow/wiseflow/ + document: https://github.com/TeamWiseFlow/wiseflow/ diff --git a/apps/wiseflow/logo.png b/apps/wiseflow/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..eba752a83d60091f600d90812fb4801b88620149 GIT binary patch literal 7260 zcmV-i9HZljP)Py67D+@wRCr$PT?u$pMb(~8WC%3*Y zUjqHA>ei{#_uaa6>y|=*itf_kP&7mvs0M8SeI!cI0tzjFvY&%W{|=DUbzYQW0N(=O z?_y{aBLl@KK@l=ggk307D+DdUQW6gW z&^TGbOS|ccfL=^;tAfZZuSei1q4g=D*2usFD2(u0P-(9&BA^yR>&dDh@{U)d^Ni3s zH*^(%@z6NbE8(P_dV#<;C^cE-7vAl~XcH#1&dtn)Rucg9_Cg?Oqn;w5^%6A5n5>o; zzMTjH2@zW7W)6c^(-RRu>Iwo?5V&52BM-Vo#WkUIcIXBu+~c-msV4~3h=9gpsvt7b z4MMI6t#d*%0Ss}|q0|us>>;3*t8n3|_MR<&$}ypJPG|#w)=oQ;=LG>52z;l)5r#h4 zE{+JTb3)wDZ*IGFc~B5Y9DyPgjxa33R+H}?P`EwSQb~V;fNKOaZdL`6J7N<$C$w5l zXS;@0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