# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: PDFDing
spec:
    description: |
        PDFDing is a self-hosted PDF manager and viewer. Upload, organize, tag, and read PDF documents through a clean web interface. All data is stored locally with embedded SQLite — no external database required.
    coverImage: https://avatars.githubusercontent.com/u/75428863
    icon: https://avatars.githubusercontent.com/u/75428863
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access PDFDing
        - key: PASSWORD
          type: PASSWORD
          name: Password
          description: The password for PDFDing admin authentication
    tags:
        - Tool
        - Productivity
    readme: |
        # PDFDing

        A self-hosted PDF manager and viewer. Upload, organize, and read PDF documents through a clean web interface with tagging and full-text search.

        ## What You Can Do After Deployment

        1. **Visit your domain** — open the web interface and create an account
        2. **Upload PDFs** — drag and drop or browse to upload PDF files
        3. **Organize** — tag and categorize your documents for easy retrieval
        4. **Read** — view PDFs directly in the browser with the built-in reader
        5. **Search** — find documents by title, tags, or content

        ## Key Features

        - Browser-based PDF viewer
        - Tag-based organization
        - Full-text search
        - Drag-and-drop upload
        - Embedded SQLite storage
        - Responsive web interface

        ## License

        MIT — [GitHub](https://github.com/mrmn2/PdfDing)
    services:
        - name: pdfding
          icon: https://avatars.githubusercontent.com/u/75428863
          template: PREBUILT_V2
          spec:
            source:
                image: ghcr.io/mrmn2/pdfding:v1.7.1
            ports:
                - id: web
                  port: 8000
                  type: HTTP
            volumes:
                - id: pdfding-data
                  dir: /data
            env:
                SECRET_KEY:
                    default: ${PASSWORD}
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            PDFDing es un gestor y visor de PDF autoalojado. Sube, organiza, etiqueta y lee documentos PDF a traves de una interfaz web limpia. Sin base de datos externa.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a PDFDing
            - key: PASSWORD
              type: STRING
              name: Contrasena
              description: La contrasena de autenticacion de administrador de PDFDing
        readme: |
            # PDFDing

            Gestor y visor de PDF autoalojado. Sube, organiza y lee documentos PDF con etiquetas y busqueda de texto completo.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — crea una cuenta en la interfaz web
            2. **Sube PDFs** — arrastra y suelta para subir archivos
            3. **Organiza** — clasifica documentos con etiquetas
            4. **Lee** — visualiza PDFs directamente en el navegador
            5. **Busca** — encuentra documentos por titulo, etiqueta o contenido

            ## Licencia

            MIT — [GitHub](https://github.com/mrmn2/PdfDing)
    id-ID:
        description: |
            PDFDing adalah pengelola dan penampil PDF self-hosted. Unggah, atur, tandai, dan baca dokumen PDF melalui antarmuka web yang bersih. Tanpa database eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses PDFDing
            - key: PASSWORD
              type: STRING
              name: Kata Sandi
              description: Kata sandi autentikasi admin PDFDing
        readme: |
            # PDFDing

            Pengelola dan penampil PDF self-hosted. Unggah, atur, dan baca dokumen PDF dengan tag dan pencarian teks lengkap.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — buat akun di antarmuka web
            2. **Unggah PDF** — seret dan lepas untuk mengunggah
            3. **Atur** — klasifikasi dokumen dengan tag
            4. **Baca** — lihat PDF langsung di browser
            5. **Cari** — temukan berdasarkan judul, tag, atau konten

            ## Lisensi

            MIT — [GitHub](https://github.com/mrmn2/PdfDing)
    ja-JP:
        description: |
            PDFDing はセルフホスト型の PDF 管理・閲覧ツールです。クリーンな Web インターフェースで PDF をアップロード、整理、タグ付け、閲覧できます。外部データベース不要。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: PDFDing にアクセスするためのドメイン
            - key: PASSWORD
              type: STRING
              name: パスワード
              description: PDFDing 管理者認証パスワード
        readme: |
            # PDFDing

            セルフホスト型の PDF 管理・閲覧ツール。タグ付けと全文検索で PDF を管理。

            ## デプロイ後にできること

            1. **ドメインにアクセス** — Web インターフェースでアカウントを作成
            2. **PDF をアップロード** — ドラッグ＆ドロップでアップロード
            3. **整理** — タグでドキュメントを分類
            4. **閲覧** — ブラウザ内で PDF を直接閲覧
            5. **検索** — タイトル、タグ、内容で検索

            ## ライセンス

            MIT — [GitHub](https://github.com/mrmn2/PdfDing)
    ko-KR:
        description: |
            PDFDing은 셀프 호스팅 PDF 관리 및 뷰어입니다. 깔끔한 웹 인터페이스로 PDF를 업로드, 정리, 태그 지정, 열람할 수 있습니다. 외부 데이터베이스 불필요.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: PDFDing에 접속할 도메인
            - key: PASSWORD
              type: STRING
              name: 비밀번호
              description: PDFDing 관리자 인증 비밀번호
        readme: |
            # PDFDing

            셀프 호스팅 PDF 관리 및 뷰어. 태그와 전문 검색으로 PDF 관리.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 웹 인터페이스에서 계정 생성
            2. **PDF 업로드** — 드래그 앤 드롭으로 업로드
            3. **정리** — 태그로 문서 분류
            4. **열람** — 브라우저에서 PDF 직접 열람
            5. **검색** — 제목, 태그, 내용으로 검색

            ## 라이선스

            MIT — [GitHub](https://github.com/mrmn2/PdfDing)
    th-TH:
        description: |
            PDFDing เป็นตัวจัดการและดู PDF แบบ self-hosted อัปโหลด จัดระเบียบ แท็ก และอ่านเอกสาร PDF ผ่านหน้าเว็บที่สะอาด ไม่ต้องใช้ฐานข้อมูลภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง PDFDing
            - key: PASSWORD
              type: STRING
              name: รหัสผ่าน
              description: รหัสผ่านยืนยันตัวตนผู้ดูแล PDFDing
        readme: |
            # PDFDing

            ตัวจัดการและดู PDF แบบ self-hosted อัปโหลด จัดระเบียบ และอ่านเอกสาร PDF พร้อมแท็กและค้นหาข้อความเต็ม

            ## สิ่งที่ทำได้หลังจากติดตั้ง

            1. **เข้าสู่โดเมน** — สร้างบัญชีที่หน้าเว็บ
            2. **อัปโหลด PDF** — ลากและวางเพื่ออัปโหลด
            3. **จัดระเบียบ** — จำแนกเอกสารด้วยแท็ก
            4. **อ่าน** — ดู PDF โดยตรงในเบราว์เซอร์
            5. **ค้นหา** — ค้นหาตามชื่อ แท็ก หรือเนื้อหา

            ## สัญญาอนุญาต

            MIT — [GitHub](https://github.com/mrmn2/PdfDing)
    zh-CN:
        description: |
            PDFDing 是自托管的 PDF 管理与阅读工具。通过简洁的网页界面上传、整理、标记和阅读 PDF 文档。所有数据本地存储，无需外部数据库。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 PDFDing 的域名
            - key: PASSWORD
              type: STRING
              name: 密码
              description: PDFDing 管理员认证密码
        readme: |
            # PDFDing

            自托管的 PDF 管理与阅读工具。通过简洁的网页界面上传、整理和阅读 PDF 文档，支持标签和全文搜索。

            ## 部署后可以做什么

            1. **打开域名** — 打开网页界面并创建账号
            2. **上传 PDF** — 拖放或浏览上传 PDF 文件
            3. **整理文档** — 为文档添加标签以便检索
            4. **阅读** — 在浏览器中直接阅读 PDF
            5. **搜索** — 按标题、标签或内容查找文档

            ## 许可证

            MIT — [GitHub](https://github.com/mrmn2/PdfDing)
    zh-TW:
        description: |
            PDFDing 是自架的 PDF 管理與閱讀工具。透過簡潔的網頁介面上傳、整理、標記和閱讀 PDF 文件。所有資料本地儲存，無需外部資料庫。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 PDFDing 的網域
            - key: PASSWORD
              type: STRING
              name: 密碼
              description: PDFDing 管理員認證密碼
        readme: |
            # PDFDing

            自架的 PDF 管理與閱讀工具。透過簡潔的網頁介面上傳、整理和閱讀 PDF 文件，支援標籤和全文搜尋。

            ## 部署後可以做什麼

            1. **開啟網域** — 開啟網頁介面並建立帳號
            2. **上傳 PDF** — 拖放或瀏覽上傳 PDF 檔案
            3. **整理文件** — 為文件加上標籤以便檢索
            4. **閱讀** — 在瀏覽器中直接閱讀 PDF
            5. **搜尋** — 按標題、標籤或內容尋找文件

            ## 授權

            MIT — [GitHub](https://github.com/mrmn2/PdfDing)
