Files
app-catalog-felhom.eu/templates/zipline/.felhom.yml
T
2026-09-29 11:08:56 +02:00

124 lines
4.4 KiB
YAML

# =============================================================================
# .felhom.yml - App metadata for felhom-controller
# =============================================================================
# --- Display info (shown on dashboard) ---
display_name: "Zipline"
description: "ShareX/Flameshot szerver - screenshot és fájlmegosztás"
category: "files"
subdomain: "img"
slug: "zipline"
# 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-07-18"
# --- Resource hints (displayed on deploy screen) ---
resources:
mem_request: "100M"
mem_limit: "512M"
pi_compatible: false
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: "img"
required: true
locked_after_deploy: true
description: "Az alkalmazás aldomainje"
- env_var: CORE_SECRET
label: "Titkosítási kulcs"
type: secret
generate: "hex:32"
locked_after_deploy: true
- env_var: DB_PASSWORD
label: "Adatbázis jelszó"
type: secret
generate: "password:24"
locked_after_deploy: true
# --- The setup gate (controller >= 0.281.0, `09` §3 decisions 46-47) ---
# The first visitor would create the admin; a fresh install is closed to everyone but the household until the first setup is done.
setup_gate: true
# measured on 9202 2026-09-29: firstSetup true -> false once the first user exists (/api/setup itself answers 403 after the setup, so it cannot be the check).
setup_done_probe:
url: http://zipline:3000/api/server/public
field: firstSetup
done: "false"
# --- App info (info page content) ---
app_info:
tagline: "Screenshot és fájlmegosztó szerver ShareX/Flameshot integrációval"
docs_url: "https://zipline.diced.sh/docs/"
use_cases:
- 'Screenshotok automatikus feltöltése ShareX/Flameshot-ból'
- 'URL rövidítés és szöveg megosztás (paste)'
- 'Galéria nézet és album kezelés'
- 'API támogatás egyedi integrációkhoz'
- 'Felhasználói fiókok és meghívó rendszer'
first_steps:
- 'Nyisd meg az img.DOMAIN címet a böngészőben'
- 'Az első megnyitáskor hozd létre az admin fiókodat'
- 'Konfiguráld a ShareX-et vagy Flameshot-ot az API URL-lel'
- 'Tölts fel egy screenshot-ot a teszteléshez'
prerequisites:
- 'ShareX (Windows) vagy Flameshot (Linux) ajánlott a screenshot feltöltéshez'
# --- Controller-side health probe ---
healthcheck:
checks:
- type: api
port: 3000
# /api/healthcheck, not /api/health: this probe is `api` WITH an expect
# block, so a 404 on the wrong path reads as unhealthy. zipline's own compose healthcheck
# dials /api/healthcheck (R-618).
path: "/api/healthcheck"
expect:
status: 200
# --- 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 ShareX/Flameshot server - screenshots and file sharing'
app_info:
tagline: 'A screenshot and file sharing server that works with ShareX/Flameshot'
use_cases:
- 'Screenshots upload themselves from ShareX/Flameshot'
- 'Shorten a URL and share text (paste)'
- 'A gallery view and albums'
- 'An API, for integrations of your own'
- 'User accounts and invitations'
first_steps:
- 'Open img.DOMAIN in your browser'
- 'On the first visit, create your admin account'
- 'Point ShareX or Flameshot at the API address'
- 'Upload a screenshot to check it works'
prerequisites:
- 'ShareX (Windows) or Flameshot (Linux) is recommended for uploading screenshots'
deploy_fields:
- env_var: DOMAIN
label: 'Domain'
description: 'The server domain name'
- env_var: SUBDOMAIN
label: 'Subdomain'
description: 'The subdomain this app answers on'
- env_var: DB_PASSWORD
label: 'Database password'
- env_var: CORE_SECRET
label: 'Encryption key'