diff --git a/nextaidrawio/.helmignore b/nextaidrawio/.helmignore new file mode 100755 index 000000000..f0c131944 --- /dev/null +++ b/nextaidrawio/.helmignore @@ -0,0 +1,21 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj diff --git a/nextaidrawio/Chart.yaml b/nextaidrawio/Chart.yaml new file mode 100644 index 000000000..2a47bda7a --- /dev/null +++ b/nextaidrawio/Chart.yaml @@ -0,0 +1,7 @@ +apiVersion: v2 +appVersion: 0.4.12 +description: A Next.js web application that integrates AI capabilities with draw.io + diagrams +name: nextaidrawio +type: application +version: 0.0.2 diff --git a/nextaidrawio/OlaresManifest.yaml b/nextaidrawio/OlaresManifest.yaml new file mode 100644 index 000000000..e12bb15c8 --- /dev/null +++ b/nextaidrawio/OlaresManifest.yaml @@ -0,0 +1,70 @@ +olaresManifest.version: '0.10.0' +olaresManifest.type: app +metadata: + name: nextaidrawio + description: AI-powered diagram creation with draw.io and natural language + icon: https://cdn.olares.com/images/2026/02/ebebcd497f2648bd41700511528f5f3f.png + appid: nextaidrawio + version: 0.0.2 + title: Next AI Draw.io + categories: + - Productivity_v112 + - Creativity + - Productivity +permission: + appData: true + appCache: true + userData: + - Home +spec: + versionName: '0.4.12' + featuredImage: https://app.cdn.olares.com/appstore/nextaidrawio/1.jpg + promoteImage: + - https://app.cdn.olares.com/appstore/nextaidrawio/1.jpg + - https://app.cdn.olares.com/appstore/nextaidrawio/2.jpg + - https://app.cdn.olares.com/appstore/nextaidrawio/3.jpg + fullDescription: | + Next AI Draw.io is a Next.js web application that integrates AI capabilities with draw.io diagrams. + This app allows you to create, modify, and enhance diagrams through natural language commands and AI-assisted visualization. + + Features + - LLM-Powered Diagram Creation: Generate and manipulate draw.io diagrams using natural language commands. + - Image-Based Diagram Replication: The AI can replicate and enhance diagrams from uploaded images. + - PDF & Text File Upload: Content from PDF documents and text files can be extracted to generate diagrams. + - Interactive Chat Interface: Refine your diagrams through real-time communication with the AI. + - Multi-Provider AI Support: Compatible with various AI providers, including OpenAI, Anthropic, Google AI, AWS Bedrock, and others. + - Diagram History: Version control to track changes and restore previous diagram versions. + - Export to PNG, SVG & clipboard. + - Open format - export drawings as .drawio files. + + developer: DayuanJiang + website: https://github.com/DayuanJiang/next-ai-draw-io + sourceCode: https://github.com/DayuanJiang/next-ai-draw-io + submitter: Olares + locale: + - en-US + - zh-CN + requiredMemory: 512Mi + limitedMemory: 2Gi + requiredDisk: 256Mi + limitedDisk: 512Mi + requiredCpu: 0.5 + limitedCpu: 3 + doc: https://github.com/DayuanJiang/next-ai-draw-io#readme + license: + - text: MIT + url: https://github.com/DayuanJiang/next-ai-draw-io/blob/main/LICENSE + supportArch: + - amd64 + - arm64 +options: + dependencies: + - name: olares + type: system + version: '>=1.10.1-0' +entrances: +- name: nextaidrawio + port: 3000 + host: nextaidrawio + title: Next AI Drawio + icon: https://cdn.olares.com/images/2026/02/ebebcd497f2648bd41700511528f5f3f.png diff --git a/nextaidrawio/i18n/en-US/OlaresManifest.yaml b/nextaidrawio/i18n/en-US/OlaresManifest.yaml new file mode 100755 index 000000000..fcebe6f7e --- /dev/null +++ b/nextaidrawio/i18n/en-US/OlaresManifest.yaml @@ -0,0 +1,17 @@ +metadata: + title: Next AI Draw.io + description: AI-powered diagram creation with draw.io and natural language +spec: + fullDescription: | + Next AI Draw.io is a Next.js web application that integrates AI capabilities with draw.io diagrams. + This app allows you to create, modify, and enhance diagrams through natural language commands and AI-assisted visualization. + + Features + - LLM-Powered Diagram Creation: Generate and manipulate draw.io diagrams using natural language commands. + - Image-Based Diagram Replication: The AI can replicate and enhance diagrams from uploaded images. + - PDF & Text File Upload: Content from PDF documents and text files can be extracted to generate diagrams. + - Interactive Chat Interface: Refine your diagrams through real-time communication with the AI. + - Multi-Provider AI Support: Compatible with various AI providers, including OpenAI, Anthropic, Google AI, AWS Bedrock, and others. + - Diagram History: Version control to track changes and restore previous diagram versions. + - Export to PNG, SVG & clipboard. + - Open format - export drawings as .drawio files. diff --git a/nextaidrawio/i18n/zh-CN/OlaresManifest.yaml b/nextaidrawio/i18n/zh-CN/OlaresManifest.yaml new file mode 100755 index 000000000..11abcd496 --- /dev/null +++ b/nextaidrawio/i18n/zh-CN/OlaresManifest.yaml @@ -0,0 +1,17 @@ +metadata: + title: Next AI Draw.io + description: 基于 AI 和自然语言的智能图表绘制工具 +spec: + fullDescription: | + Next AI Draw.io 是一个将 AI 功能与 draw.io 图表集成的 Next.js Web 应用。 + 通过自然语言命令和 AI 辅助可视化,您可以轻松创建、修改和增强图表。 + + 功能特性 + - LLM 驱动的图表创建:使用自然语言命令生成和操作 draw.io 图表。 + - 基于图像的图表复制:AI 可以从上传的图像中复制和增强图表。 + - PDF 和文本文件上传:可从 PDF 文档和文本文件中提取内容生成图表。 + - 交互式聊天界面:通过与 AI 的实时交流来完善您的图表。 + - 多 AI 提供商支持:兼容多种 AI 提供商,包括 OpenAI、Anthropic、Google AI、AWS Bedrock 等。 + - 图表历史记录:版本控制,跟踪更改并恢复之前的图表版本。 + - 导出为 PNG、SVG 和剪贴板。 + - 开放格式 - 将绘图导出为 .drawio 文件。 diff --git a/nextaidrawio/owners b/nextaidrawio/owners new file mode 100755 index 000000000..487a37656 --- /dev/null +++ b/nextaidrawio/owners @@ -0,0 +1,8 @@ +owners: +- 'LittleLollipop' +- 'TShentu' +- 'hysyeah' +- 'pengpeng' +- 'harveyff' +- 'zdf-org' +- 'heiye1024' diff --git a/nextaidrawio/templates/deployment.yaml b/nextaidrawio/templates/deployment.yaml new file mode 100755 index 000000000..eca6551f6 --- /dev/null +++ b/nextaidrawio/templates/deployment.yaml @@ -0,0 +1,73 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nextaidrawio + namespace: {{ .Release.Namespace }} + labels: + io.kompose.service: nextaidrawio +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: nextaidrawio + strategy: + type: Recreate + template: + metadata: + labels: + io.kompose.service: nextaidrawio + spec: + containers: + - name: nextaidrawio + image: "ghcr.io/dayuanjiang/next-ai-draw-io:{{ .Values.image.version }}" + env: + - name: PGID + value: "1000" + - name: PUID + value: "1000" + - name: TZ + value: Etc/UTC + resources: + requests: + cpu: 500m + memory: 512Mi + limits: + cpu: 3000m + memory: 2Gi + ports: + - name: http + containerPort: 3000 + protocol: TCP + volumeMounts: + - name: app-data + mountPath: /app/data + volumes: + - name: app-data + hostPath: + type: DirectoryOrCreate + {{- if .Values.sysVersion }} + {{- if semverCompare ">=1.12.3-0" (toString .Values.sysVersion) }} + path: '{{ .Values.userspace.appData }}/app-data' + {{- else }} + path: '{{ .Values.userspace.appData }}/nextaidrawio/app-data' + {{- end }} + {{- else }} + path: '{{ .Values.userspace.appData }}/nextaidrawio/app-data' + {{- end }} + restartPolicy: Always + +--- +apiVersion: v1 +kind: Service +metadata: + name: nextaidrawio + namespace: {{ .Release.Namespace }} + labels: + io.kompose.service: nextaidrawio +spec: + ports: + - name: http + port: 3000 + targetPort: 3000 + selector: + io.kompose.service: nextaidrawio diff --git a/nextaidrawio/values.yaml b/nextaidrawio/values.yaml new file mode 100755 index 000000000..d3925fb8c --- /dev/null +++ b/nextaidrawio/values.yaml @@ -0,0 +1,5 @@ +image: + version: 'latest' + +userspace: + appdata: ""