# =============================================================================
# .felhom.yml - App metadata for felhom-controller
# =============================================================================

# --- Display info (shown on dashboard) ---
display_name: "BentoPDF"
description: "Adatvédelmi fókuszú PDF eszköztár"
category: "tools"
subdomain: "pdf"
slug: "bentopdf"
# catalog_since: the date THIS repo last changed this app's pinned images. Any commit that
# changes an image: line must set this to the same day (see CLAUDE.md).
catalog_since: "2026-09-21"

# --- Resource hints (displayed on deploy screen) ---
resources:
  mem_request: "100M"
  mem_limit: "384M"
  pi_compatible: true
  needs_hdd: false

# --- Deploy fields (first deployment only) ---
deploy_fields:
  - env_var: DOMAIN
    label: "Domain"
    type: domain
    description: "A szerver domain neve"
    locked_after_deploy: true

  - env_var: SUBDOMAIN
    label: "Aldomain"
    type: subdomain
    default: "pdf"
    required: true
    locked_after_deploy: true
    description: "Az alkalmazás aldomainje"

# --- App info (info page content) ---
app_info:
  tagline: "Adatvédelmi fókuszú PDF eszköztár - a fájlok soha nem hagyják el a szervered"
  docs_url: "https://www.bentopdf.com/docs/"

  use_cases:
    - 'PDF összefűzés, szétválasztás és forgatás'
    - 'PDF konvertálás képekké és képekből'
    - 'Jelszóvédelem és titkosítás'
    - 'Vízjel hozzáadása dokumentumokhoz'
    - 'Minden feldolgozás a szerveren - a fájlok nem kerülnek külső szolgáltatóhoz'

  first_steps:
    - 'Nyisd meg a pdf.DOMAIN címet a böngészőben'
    - 'Válaszd ki a kívánt műveletet'
    - 'Töltsd fel a PDF fájlt és kattints a feldolgozásra'


# --- Controller-side health probe ---
healthcheck:
  checks:
    - type: http
      port: 8080

# --- English copy (localisation slice 5, R-560) --------------------------------------------
# The Hungarian above is UNCHANGED. A box on English reads this block field by field; a missing
# field shows the Hungarian one; a controller older than 0.257.0 ignores the block entirely.
i18n:
  en:
    description: 'A privacy-first PDF toolbox'
    app_info:
      tagline: 'A privacy-first PDF toolbox - your files never leave your own server'
      use_cases:
        - 'Merge, split and rotate PDFs'
        - 'Convert PDFs to images and images to PDFs'
        - 'Password protection and encryption'
        - 'Add a watermark to a document'
        - 'Everything happens on your own server - no file goes to an outside service'
      first_steps:
        - 'Open pdf.DOMAIN in your browser'
        - 'Choose what you want to do'
        - 'Upload the PDF and start it'
    deploy_fields:
      - env_var: DOMAIN
        label: 'Domain'
        description: 'The server domain name'
      - env_var: SUBDOMAIN
        label: 'Subdomain'
        description: 'The subdomain this app answers on'
