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 00000000..eba752a8 Binary files /dev/null and b/apps/wiseflow/logo.png differ