# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: WhoDB
spec:
    description: |
        A lightweight, fast, and beautiful database management tool supporting PostgreSQL, MySQL, SQLite3, MongoDB, Redis, MariaDB, and ElasticSearch with an intuitive UI and AI-powered queries.
    coverImage: https://raw.githubusercontent.com/clidey/whodb/main/docs/images/06-storage-unit-list-with-sidebar.png
    icon: https://raw.githubusercontent.com/clidey/whodb/main/docs/logo/logo.svg
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to bind for accessing WhoDB.
    tags:
        - Database
        - Management
        - DevTools
    readme: ""
    services:
        - name: whodb
          icon: https://raw.githubusercontent.com/clidey/whodb/main/docs/logo/logo.svg
          template: PREBUILT_V2
          spec:
            id: whodb
            source:
                image: clidey/whodb:latest
            ports:
                - id: web
                  port: 8080
                  type: HTTP
            volumes:
                - id: data
                  dir: /data
          domainKey: PUBLIC_DOMAIN
localization:
    en-US:
        description: |
            A lightweight, fast, and beautiful database management tool supporting PostgreSQL, MySQL, SQLite3, MongoDB, Redis, MariaDB, and ElasticSearch with an intuitive UI and AI-powered queries.
        readme: |
            ## WhoDB – Lightweight, Fast, and Beautiful Database Management

            WhoDB is a powerful yet lightweight (<50MB) database client built with GoLang and React. It combines blazing-fast performance with an intuitive interface, making database management effortless.

            ### Supported Databases

            - PostgreSQL
            - MySQL / MariaDB
            - SQLite3
            - MongoDB
            - Redis
            - ElasticSearch

            ### Key Features

            - **Spreadsheet-like Data Grid** – View, edit, and manage data intuitively with inline editing and bulk operations
            - **Interactive Schema Explorer** – Visualize table relationships and foreign keys with an interactive graph
            - **Scratchpad Query Editor** – Jupyter-like notebook interface with syntax highlighting and query history
            - **AI-Powered Queries** – Convert natural language to SQL using Ollama, OpenAI, Anthropic, or any OpenAI-compatible provider
            - **Mock Data Generation** – Generate realistic test data for development
            - **Flexible Export** – Export to CSV, Excel, JSON, or SQL

            ### Getting Started

            After deployment, open your domain in the browser and enter your database credentials to connect. No credentials are stored by default — connections are session-based.

            [Documentation](https://docs.whodb.com/) | [GitHub](https://github.com/clidey/whodb) | [Live Demo](https://demo.whodb.com/)
    zh-CN:
        description: |
            轻量、快速且美观的数据库管理工具，支持 PostgreSQL、MySQL、SQLite3、MongoDB、Redis、MariaDB 及 ElasticSearch，并提供直观界面与 AI 查询功能。
        readme: |
            ## WhoDB – 轻量、快速且美观的数据库管理工具

            WhoDB 是以 GoLang 和 React 打造的强大轻量数据库客户端（不到 50MB），兼具极快的性能与直观的操作界面，让数据库管理轻松无负担。

            ### 支持的数据库

            - PostgreSQL
            - MySQL / MariaDB
            - SQLite3
            - MongoDB
            - Redis
            - ElasticSearch

            ### 核心功能

            - **电子表格式数据视图** – 直观地查看、编辑和管理数据，支持行内编辑与批量操作
            - **交互式 Schema 探索器** – 以交互图形可视化数据表关联与外键
            - **Scratchpad 查询编辑器** – 类 Jupyter 笔记本界面，支持语法高亮与查询历史
            - **AI 驱动查询** – 通过 Ollama、OpenAI、Anthropic 或任何兼容 OpenAI 的服务，以自然语言生成 SQL
            - **模拟数据生成** – 为开发环境生成真实测试数据
            - **灵活导出** – 支持导出为 CSV、Excel、JSON 或 SQL

            ### 开始使用

            部署完成后，在浏览器打开你的域名并输入数据库连接信息即可。默认不存储凭据，连接为会话制。

            [说明文档](https://docs.whodb.com/) | [GitHub](https://github.com/clidey/whodb) | [在线演示](https://demo.whodb.com/)
    zh-TW:
        description: |
            輕量、快速且美觀的資料庫管理工具，支援 PostgreSQL、MySQL、SQLite3、MongoDB、Redis、MariaDB 及 ElasticSearch，並提供直覺介面與 AI 查詢功能。
        readme: |
            ## WhoDB – 輕量、快速且美觀的資料庫管理工具

            WhoDB 是以 GoLang 和 React 打造的強大輕量資料庫客戶端（不到 50MB），兼具極快的性能與直覺的操作介面，讓資料庫管理輕鬆無負擔。

            ### 支援的資料庫

            - PostgreSQL
            - MySQL / MariaDB
            - SQLite3
            - MongoDB
            - Redis
            - ElasticSearch

            ### 核心功能

            - **試算表式資料檢視** – 直覺地檢視、編輯與管理資料，支援行內編輯與批次操作
            - **互動式 Schema 探索器** – 以互動圖形視覺化資料表關聯與外鍵
            - **Scratchpad 查詢編輯器** – 類 Jupyter 筆記本介面，支援語法高亮與查詢歷史
            - **AI 驅動查詢** – 透過 Ollama、OpenAI、Anthropic 或任何相容 OpenAI 的服務，以自然語言生成 SQL
            - **模擬資料生成** – 為開發環境產生真實測試資料
            - **彈性匯出** – 支援匯出為 CSV、Excel、JSON 或 SQL

            ### 開始使用

            部署完成後，在瀏覽器開啟你的網域並輸入資料庫連線資訊即可。預設不儲存憑證，連線為工作階段制。

            [說明文件](https://docs.whodb.com/) | [GitHub](https://github.com/clidey/whodb) | [線上示範](https://demo.whodb.com/)
