From 1aa6e3113ef694d291df95476c138c8e8623b806 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 13:36:25 -0300 Subject: [PATCH 01/22] add immichframe Add ImmichFrame tool as lxc container. Signed-off-by: Thiago Canozzo Lahr --- ct/headers/immichframe | 6 + ct/immichframe.sh | 85 +++++++++ frontend/public/json/immichframe.json | 45 +++++ install/immichframe-install.sh | 254 ++++++++++++++++++++++++++ 4 files changed, 390 insertions(+) create mode 100644 ct/headers/immichframe create mode 100644 ct/immichframe.sh create mode 100644 frontend/public/json/immichframe.json create mode 100644 install/immichframe-install.sh diff --git a/ct/headers/immichframe b/ct/headers/immichframe new file mode 100644 index 000000000..8c0ede1f1 --- /dev/null +++ b/ct/headers/immichframe @@ -0,0 +1,6 @@ + _ _ _ ______ +(_) (_) | | | ___| + _ _ __ ___ _ __ ___ _ ___| |__ | |_ _ __ __ _ _ __ ___ ___ +| | '_ ` _ \| '_ ` _ \| |/ __| '_ \| _| '__/ _` | '_ ` _ \ / _ \ +| | | | | | | | | | | | | (__| | | | | | | | (_| | | | | | | __/ +|_|_| |_| |_|_| |_| |_|_|\___|_| |_\_| |_| \__,_|_| |_| |_|\___| diff --git a/ct/immichframe.sh b/ct/immichframe.sh new file mode 100644 index 000000000..cf0a8c982 --- /dev/null +++ b/ct/immichframe.sh @@ -0,0 +1,85 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) +# Copyright (c) 2021-2026 community-scripts ORG +# Author: Thiago Canozzo Lahr (tclahr) +# License: MIT | https://github.com/tclahr/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/immichFrame/ImmichFrame + +APP="ImmichFrame" +var_tags="${var_tags:-photos;slideshow}" # Max 2 tags, semicolon-separated +var_cpu="${var_cpu:-1}" # CPU cores: 1-4 typical +var_ram="${var_ram:-1024}" # RAM in MB: 512, 1024, 2048, etc. +var_disk="${var_disk:-8}" # Disk in GB: 6, 8, 10, 20 typical +var_os="${var_os:-debian}" # OS: debian, ubuntu, alpine +var_version="${var_version:-13}" # OS Version: 13 (Debian), 24.04 (Ubuntu), 3.21 (Alpine) +var_unprivileged="${var_unprivileged:-1}" # 1=unprivileged (secure), 0=privileged (for Docker/Podman) + +header_info "$APP" # Display app name and setup header +variables # Initialize build.func variables +color # Load color variables for output +catch_errors # Enable error handling with automatic exit on failure + +function update_script() { + header_info + check_container_storage + check_container_resources + + # Step 1: Verify installation exists + if [[ ! -d /app ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + RELEASE=$(curl -s https://api.github.com/repos/immichFrame/ImmichFrame/releases/latest | grep "tag_name" | awk -F'"' '{print $4}') + if [[ ! -f /app/version.txt ]] || [[ "${RELEASE}" != "$(cat /app/version.txt)" ]]; then + msg_info "Updating ${APP} to ${RELEASE}" + + msg_info "Stopping ${APP} service" + systemctl stop immichframe 2>/dev/null + + msg_info "Downloading source ${RELEASE}" + curl -fsSL "https://github.com/immichFrame/ImmichFrame/archive/refs/tags/${RELEASE}.tar.gz" \ + -o /tmp/immichframe.tar.gz + tar -xzf /tmp/immichframe.tar.gz -C /tmp/ + SRCDIR=$(ls -d /tmp/ImmichFrame-*) + + msg_info "Building backend" + cd "${SRCDIR}" || exit + /opt/dotnet/dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ + --configuration Release \ + --runtime linux-x64 \ + --self-contained false \ + --output /app \ + &>/dev/null + + msg_info "Building frontend" + cd "${SRCDIR}/immichFrame.Web" || exit + npm ci --silent &>/dev/null + npm run build &>/dev/null + rm -rf /app/wwwroot/* + cp -r build/* /app/wwwroot + + echo "${RELEASE}" > /app/version.txt + #rm -rf /tmp/immichframe.tar.gz "${SRCDIR}" + + msg_info "Starting ${APP} service" + service immichframe start &>/dev/null + + msg_ok "Updated ${APP} to ${RELEASE}" + else + msg_ok "No update required. ${APP} is already at ${RELEASE}" + fi + exit +} + +start +build_container +description + +msg_ok "Completed successfully!\n" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" +echo -e "${INFO}${YW} Access it using the following URL:${CL}" +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" +echo -e "${INFO}${YW} Configuration file location:${CL}" +echo -e "${TAB}${GATEWAY}${BGN}/app/Config/Settings.yml${CL}" +echo -e "${INFO}${YW} Edit the config file and set ImmichServerUrl and ApiKey before use!${CL}" diff --git a/frontend/public/json/immichframe.json b/frontend/public/json/immichframe.json new file mode 100644 index 000000000..e28cb8772 --- /dev/null +++ b/frontend/public/json/immichframe.json @@ -0,0 +1,45 @@ +{ + "name": "ImmichFrame", + "slug": "immichframe", + "categories": [3], + "date_created": "2025-02-22", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": 8080, + "documentation": "https://immichframe.dev/docs/overview", + "website": "https://immichframe.dev", + "logo": "https://raw.githubusercontent.com/immichFrame/ImmichFrame/main/design/AppIcon.png", + "description": "ImmichFrame is a digital photo frame web application that connects to your Immich server and displays your photos as a fullscreen slideshow. Built natively from source using ASP.NET Core and SvelteKit, without Docker.", + "install_methods": [ + { + "type": "default", + "script": "ct/immichframe.sh", + "resources": { + "cpu": 1, + "ram": 1024, + "hdd": 8, + "os": "Debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [ + { + "text": "After installation, edit `/app/Config/Settings.yml` and set **ImmichServerUrl** and **ApiKey**. Then restart the service with `systemctl restart immichframe`.", + "type": "warning" + }, + { + "text": "Get your API Key at: Immich → Account Settings → API Keys → New API Key.", + "type": "info" + }, + { + "text": "The process runs as a dedicated unprivileged user `immichframe`.", + "type": "info" + } + ] +} diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh new file mode 100644 index 000000000..9f976fde0 --- /dev/null +++ b/install/immichframe-install.sh @@ -0,0 +1,254 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: Thiago Canozzo Lahr (tclahr) +# License: MIT | https://github.com/tclahr/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/immichFrame/ImmichFrame + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y \ + curl \ + ca-certificates \ + libicu-dev \ + libssl-dev \ + nodejs \ + npm \ + gettext-base +msg_ok "Installed Dependencies" + +msg_info "Installing .NET 8 SDK via dotnet-install.sh" +mkdir -p /opt/dotnet +curl -fsSL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh +chmod +x /tmp/dotnet-install.sh + +# Install the SDK (needed to compile) into /opt/dotnet +$STD /tmp/dotnet-install.sh \ + --channel 8.0 \ + --install-dir /opt/dotnet \ + --no-path + +# Make dotnet available system-wide +ln -sf /opt/dotnet/dotnet /usr/local/bin/dotnet + +rm /tmp/dotnet-install.sh +msg_ok ".NET 8 SDK Installed" + +msg_info "Fetching Latest ImmichFrame Release" +RELEASE=$(curl -s https://api.github.com/repos/immichFrame/ImmichFrame/releases/latest \ + | grep "tag_name" | awk -F'"' '{print $4}') +msg_ok "Latest release: ${RELEASE}" + +msg_info "Downloading ImmichFrame Source (${RELEASE})" +curl -fsSL "https://github.com/immichFrame/ImmichFrame/archive/refs/tags/${RELEASE}.tar.gz" \ + -o /tmp/immichframe.tar.gz +$STD tar -xzf /tmp/immichframe.tar.gz -C /tmp/ +SRCDIR=$(ls -d /tmp/ImmichFrame-*) +msg_ok "Source Downloaded" + +msg_info "Building ImmichFrame Backend (ASP.NET Core)" +mkdir -p /app +cd "${SRCDIR}" || exit +$STD dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ + --configuration Release \ + --runtime linux-x64 \ + --self-contained false \ + --output /app +msg_ok "Backend Built" + +msg_info "Building ImmichFrame Frontend (SvelteKit)" +cd "${SRCDIR}/immichFrame.Web" || exit +$STD npm ci +$STD npm run build +cp -r build/* /app/wwwroot +msg_ok "Frontend Built" + +msg_info "Creating Configuration Directory" +mkdir -p /app/Config + +# Cria Settings.yml com comentários explicativos +cat <<'EOF' > /app/Config/Settings.yml +# ===================================================================== +# ImmichFrame Configuration +# Docs: https://immichframe.dev/docs/getting-started/configuration +# ===================================================================== +# settings applicable to the web client - when viewing with a browser or webview +General: + # When set, every client needs to authenticate via Bearer Token and this value. + AuthenticationSecret: null # string, no default + # whether to download images to the server + DownloadImages: false # boolean + # if images are downloaded, re-download if age (in days) is more than this + RenewImagesDuration: 30 # int + # A list of webcalendar URIs in the .ics format. Supports basic auth via standard URL format. + # e.g. https://calendar.google.com/calendar/ical/XXXXXX/public/basic.ics + # e.g. https://user:pass@calendar.immichframe.dev/dav/calendars/basic.ics + Webcalendars: # string[] + - UUID + # Interval in hours. Determines how often images are pulled from a person in immich. + RefreshAlbumPeopleInterval: 12 # int + # Date format. See https://date-fns.org/v4.1.0/docs/format for more information. + PhotoDateFormat: 'yyyy-MM-dd' # string + ImageLocationFormat: 'City,State,Country' + # Get an API key from OpenWeatherMap: https://openweathermap.org/appid + WeatherApiKey: '' # string + # Imperial or metric system (Fahrenheit or Celsius) + UnitSystem: 'metric' # 'imperial' | 'metric' + # Set the weather location with lat/lon. + WeatherLatLong: '40.730610,-73.935242' # string + # 2 digit ISO code, sets the language of the weather description. + Language: 'en' # string + # Webhook URL to be notified e.g. http://example.com/notify + Webhook: null # string + # Image interval in seconds. How long an image is displayed in the frame. + Interval: 45 + # Duration in seconds. + TransitionDuration: 2 # float + # Displays the current time. + ShowClock: true # boolean + # Time format + ClockFormat: 'hh:mm' # string + # Date format for the clock + ClockDateFormat: 'eee, MMM d' # string + # Displays the progress bar. + ShowProgressBar: true # boolean + # Displays the date of the current image. + ShowPhotoDate: true # boolean + # Displays the description of the current image. + ShowImageDesc: true # boolean + # Displays a comma separated list of names of all the people that are assigned in immich. + ShowPeopleDesc: true # boolean + # Displays a comma separated list of names of all the tags that are assigned in immich. + ShowTagsDesc: true # boolean + # Displays a comma separated list of names of all the albums for an image. + ShowAlbumName: true # boolean + # Displays the location of the current image. + ShowImageLocation: true # boolean + # Lets you choose a primary color for your UI. Use hex with alpha value to edit opacity. + PrimaryColor: '#f5deb3' # string + # Lets you choose a secondary color for your UI. (Only used with `style=solid or transition`) Use hex with alpha value to edit opacity. + SecondaryColor: '#000000' # string + # Background-style of the clock and metadata. + Style: 'none' # none | solid | transition | blur + # Sets the base font size, uses standard CSS formats (https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) + BaseFontSize: '17px' # string + # Displays the description of the current weather. + ShowWeatherDescription: true # boolean + # URL for the icon to load for the current weather condition + WeatherIconUrl: 'https://openweathermap.org/img/wn/{IconId}.png' + # Zooms into or out of an image and gives it a touch of life. + ImageZoom: true # boolean + # Pans an image in a random direction and gives it a touch of life. + ImagePan: false # boolean + # Whether image should fill available space. Aspect ratio maintained but may be cropped. + ImageFill: false # boolean + # Whether to play audio for videos that have audio tracks. + PlayAudio: false # boolean + # Allow two portrait images to be displayed next to each other + Layout: 'splitview' # single | splitview + +# multiple accounts permitted +Accounts: + - # The URL of your Immich server e.g. `http://photos.yourdomain.com` / `http://192.168.0.100:2283`. + ImmichServerUrl: 'REQUIRED' # string, required, no default + # Read more about how to obtain an Immich API key: https://immich.app/docs/features/command-line-interface#obtain-the-api-key + # Exactly one of ApiKey or ApiKeyFile must be set. + ApiKey: "super-secret-api-key" + # ApiKeyFile: "/path/to/api.key" + # Show images after date. Overwrites the `ImagesFromDays`-Setting + ImagesFromDate: null # Date + # If this is set, memories are displayed. + ShowMemories: false # boolean + # If this is set, favorites are displayed. + ShowFavorites: false # boolean + # If this is set, assets marked archived are displayed. + ShowArchived: false # boolean + # If this is set, video assets are included in the slideshow. + ShowVideos: false # boolean + # Show images from the last X days, e.g., 365 -> show images from the last year + ImagesFromDays: null # int + # Show images before date. + ImagesUntilDate: '2020-01-02' # Date + # Rating of an image in stars, allowed values from -1 to 5. This will only show images with the exact rating you are filtering for. + Rating: null # int + # UUID of album(s) - e.g. ['00000000-0000-0000-0000-000000000001'] + Albums: # string[] + - UUID + # UUID of excluded album(s) + #ExcludedAlbums: # string[] + # - UUID + # UUID of People + #People: # string[] + # - UUID + # Tag values (full hierarchical paths, case-sensitive) + #Tags: # string[] + # - "Vacation" + # - "Travel/Europe" + +EOF +msg_ok "Configuration File Created" + +msg_info "Creating Dedicated User" +useradd -r -s /sbin/nologin -d /app -M immichframe 2>/dev/null || true +chown -R immichframe:immichframe /app +msg_ok "User 'immichframe' Created" + +msg_info "Creating ImmichFrame systemd Service" +cat <<'EOF' > /etc/systemd/system/immichframe.service +[Unit] +Description=ImmichFrame Digital Photo Frame +After=network.target + +[Service] +Type=simple +User=immichframe +Group=immichframe + +WorkingDirectory=/app +ExecStart=/opt/dotnet/dotnet /app/ImmichFrame.WebApi.dll + +# ASP.NET Core environment +Environment=ASPNETCORE_URLS=http://0.0.0.0:8080 +Environment=ASPNETCORE_ENVIRONMENT=Production +Environment=DOTNET_CONTENTROOT=/app +Environment=DOTNET_ROOT=/opt/dotnet + +Restart=always +RestartSec=5 + +StandardOutput=journal +StandardError=journal +SyslogIdentifier=immichframe + +[Install] +WantedBy=multi-user.target +EOF +msg_ok "systemd Service Created" + +msg_info "Enabling and Starting ImmichFrame Service" +$STD systemctl daemon-reload +$STD systemctl enable immichframe +$STD systemctl start immichframe +msg_ok "ImmichFrame Service Started" + +msg_info "Saving Version Info" +echo "${RELEASE}" > /app/version.txt +msg_ok "Version ${RELEASE} Saved" + +msg_info "Cleaning Up Build Artifacts" +#rm -rf /tmp/immichframe.tar.gz "${SRCDIR}" + +#$STD apt-get autoremove -y +$STD apt-get clean +msg_ok "Cleanup Complete" + +motd_ssh +customize +cleanup_lxc From 894ec2cc294bbdae0281e5c7bb460cbc622ee2aa Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 13:58:12 -0300 Subject: [PATCH 02/22] Update install/immichframe-install.sh Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- install/immichframe-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index 9f976fde0..5c1d4af1b 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -14,15 +14,15 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ - curl \ - ca-certificates \ +msg_info "Installing Dependencies" +$STD apt install -y \ libicu-dev \ libssl-dev \ nodejs \ npm \ gettext-base msg_ok "Installed Dependencies" +msg_ok "Installed Dependencies" msg_info "Installing .NET 8 SDK via dotnet-install.sh" mkdir -p /opt/dotnet From 759db57eef6eb804ee5aca5879e9dcf9d307d773 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 13:58:42 -0300 Subject: [PATCH 03/22] Update install/immichframe-install.sh Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- install/immichframe-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index 5c1d4af1b..fa971cb0e 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -29,12 +29,13 @@ mkdir -p /opt/dotnet curl -fsSL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh chmod +x /tmp/dotnet-install.sh -# Install the SDK (needed to compile) into /opt/dotnet $STD /tmp/dotnet-install.sh \ --channel 8.0 \ --install-dir /opt/dotnet \ --no-path +ln -sf /opt/dotnet/dotnet /usr/local/bin/dotnet + # Make dotnet available system-wide ln -sf /opt/dotnet/dotnet /usr/local/bin/dotnet From 3dfcc1e79fa535633fb8d9bd3d6d0d584d4952cf Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 13:58:56 -0300 Subject: [PATCH 04/22] Update install/immichframe-install.sh Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- install/immichframe-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index fa971cb0e..843b4cc46 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -56,7 +56,7 @@ msg_ok "Source Downloaded" msg_info "Building ImmichFrame Backend (ASP.NET Core)" mkdir -p /app -cd "${SRCDIR}" || exit +cd "${SRCDIR}" $STD dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ From ef77d96077c917c08ba52fbf55dcc1900aa13afa Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 13:59:07 -0300 Subject: [PATCH 05/22] Update install/immichframe-install.sh Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- install/immichframe-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index 843b4cc46..fd595126c 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -65,7 +65,7 @@ $STD dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ msg_ok "Backend Built" msg_info "Building ImmichFrame Frontend (SvelteKit)" -cd "${SRCDIR}/immichFrame.Web" || exit +cd "${SRCDIR}/immichFrame.Web" $STD npm ci $STD npm run build cp -r build/* /app/wwwroot From 52a4c267bd7c9ee53896b1ebd1b3b8258aaee644 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 13:59:33 -0300 Subject: [PATCH 06/22] Update install/immichframe-install.sh Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- install/immichframe-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index fd595126c..29ad9daf7 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -197,7 +197,7 @@ EOF msg_ok "Configuration File Created" msg_info "Creating Dedicated User" -useradd -r -s /sbin/nologin -d /app -M immichframe 2>/dev/null || true +useradd -r -s /sbin/nologin -d /app -M immichframe 2>/dev/null chown -R immichframe:immichframe /app msg_ok "User 'immichframe' Created" From 454dff8aa7fec99c5bacb6f92598a038ca9b8027 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 13:59:57 -0300 Subject: [PATCH 07/22] Update install/immichframe-install.sh Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- install/immichframe-install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index 29ad9daf7..b5f3ad417 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -234,9 +234,8 @@ EOF msg_ok "systemd Service Created" msg_info "Enabling and Starting ImmichFrame Service" -$STD systemctl daemon-reload -$STD systemctl enable immichframe -$STD systemctl start immichframe +systemctl enable -q --now immichframe +msg_ok "ImmichFrame Service Started" msg_ok "ImmichFrame Service Started" msg_info "Saving Version Info" From 12d438dcab4c865dc470a9c2ee7520dfd52a5831 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 14:00:10 -0300 Subject: [PATCH 08/22] Update ct/immichframe.sh Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- ct/immichframe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index cf0a8c982..b938afed9 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -44,7 +44,7 @@ function update_script() { SRCDIR=$(ls -d /tmp/ImmichFrame-*) msg_info "Building backend" - cd "${SRCDIR}" || exit + cd "${SRCDIR}" /opt/dotnet/dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ From 6766b6d55fc0c8901130e32c5b0b13de0272c155 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 14:00:18 -0300 Subject: [PATCH 09/22] Update ct/immichframe.sh Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- ct/immichframe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index b938afed9..270343fba 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -53,7 +53,7 @@ function update_script() { &>/dev/null msg_info "Building frontend" - cd "${SRCDIR}/immichFrame.Web" || exit + cd "${SRCDIR}/immichFrame.Web" npm ci --silent &>/dev/null npm run build &>/dev/null rm -rf /app/wwwroot/* From 4ac0afbe9837fbf94ebce45a0de78b3555a12666 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 14:00:54 -0300 Subject: [PATCH 10/22] Update frontend/public/json/immichframe.json Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- frontend/public/json/immichframe.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/public/json/immichframe.json b/frontend/public/json/immichframe.json index e28cb8772..c20cada74 100644 --- a/frontend/public/json/immichframe.json +++ b/frontend/public/json/immichframe.json @@ -9,7 +9,7 @@ "interface_port": 8080, "documentation": "https://immichframe.dev/docs/overview", "website": "https://immichframe.dev", - "logo": "https://raw.githubusercontent.com/immichFrame/ImmichFrame/main/design/AppIcon.png", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/immichframe.webp", "description": "ImmichFrame is a digital photo frame web application that connects to your Immich server and displays your photos as a fullscreen slideshow. Built natively from source using ASP.NET Core and SvelteKit, without Docker.", "install_methods": [ { From 793c2ded02056882acebf7223b5dc21d852562c5 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 14:02:23 -0300 Subject: [PATCH 11/22] Apply suggestions from code review Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- ct/immichframe.sh | 22 +++++++++++----------- install/immichframe-install.sh | 6 ++---- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index 270343fba..e8c297351 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -6,18 +6,18 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV # Source: https://github.com/immichFrame/ImmichFrame APP="ImmichFrame" -var_tags="${var_tags:-photos;slideshow}" # Max 2 tags, semicolon-separated -var_cpu="${var_cpu:-1}" # CPU cores: 1-4 typical -var_ram="${var_ram:-1024}" # RAM in MB: 512, 1024, 2048, etc. -var_disk="${var_disk:-8}" # Disk in GB: 6, 8, 10, 20 typical -var_os="${var_os:-debian}" # OS: debian, ubuntu, alpine -var_version="${var_version:-13}" # OS Version: 13 (Debian), 24.04 (Ubuntu), 3.21 (Alpine) -var_unprivileged="${var_unprivileged:-1}" # 1=unprivileged (secure), 0=privileged (for Docker/Podman) +var_tags="${var_tags:-photos;slideshow}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-1024}" +var_disk="${var_disk:-8}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_unprivileged="${var_unprivileged:-1}" -header_info "$APP" # Display app name and setup header -variables # Initialize build.func variables -color # Load color variables for output -catch_errors # Enable error handling with automatic exit on failure +header_info "$APP" +variables +color +catch_errors function update_script() { header_info diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index b5f3ad417..c227a2f54 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -243,10 +243,8 @@ echo "${RELEASE}" > /app/version.txt msg_ok "Version ${RELEASE} Saved" msg_info "Cleaning Up Build Artifacts" -#rm -rf /tmp/immichframe.tar.gz "${SRCDIR}" - -#$STD apt-get autoremove -y -$STD apt-get clean +$STD apt clean +msg_ok "Cleanup Complete" msg_ok "Cleanup Complete" motd_ssh From 11b3f0da35057e6b2b02542086e32765932e2d62 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 14:03:08 -0300 Subject: [PATCH 12/22] Refactor immichframe.sh by removing unnecessary checks Removed redundant installation verification step and a commented-out line for tar.gz removal. --- ct/immichframe.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index e8c297351..3a476b5e6 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -24,7 +24,6 @@ function update_script() { check_container_storage check_container_resources - # Step 1: Verify installation exists if [[ ! -d /app ]]; then msg_error "No ${APP} Installation Found!" exit @@ -60,7 +59,6 @@ function update_script() { cp -r build/* /app/wwwroot echo "${RELEASE}" > /app/version.txt - #rm -rf /tmp/immichframe.tar.gz "${SRCDIR}" msg_info "Starting ${APP} service" service immichframe start &>/dev/null From 36e905df8a7a4475665d334c367f0b924a886d04 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Mon, 23 Feb 2026 14:03:56 -0300 Subject: [PATCH 13/22] Refactor dotnet symlink and update Settings.yml comments Removed duplicate symlink creation for dotnet and added comments in Settings.yml. --- install/immichframe-install.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index c227a2f54..d604e0adf 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -36,7 +36,6 @@ $STD /tmp/dotnet-install.sh \ ln -sf /opt/dotnet/dotnet /usr/local/bin/dotnet -# Make dotnet available system-wide ln -sf /opt/dotnet/dotnet /usr/local/bin/dotnet rm /tmp/dotnet-install.sh @@ -74,7 +73,6 @@ msg_ok "Frontend Built" msg_info "Creating Configuration Directory" mkdir -p /app/Config -# Cria Settings.yml com comentários explicativos cat <<'EOF' > /app/Config/Settings.yml # ===================================================================== # ImmichFrame Configuration From 3a399eee409952a289047869ea5dfbbbb44571fd Mon Sep 17 00:00:00 2001 From: root Date: Thu, 26 Feb 2026 13:09:41 -0300 Subject: [PATCH 14/22] update Signed-off-by: root --- ct/immichframe.sh | 50 +++++++++++---------------- install/immichframe-install.sh | 62 ++++++++-------------------------- 2 files changed, 34 insertions(+), 78 deletions(-) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index 3a476b5e6..988786118 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) +source <(curl -fsSL https://raw.githubusercontent.com/tclahr/ProxmoxVED/main/misc/build.func) # Copyright (c) 2021-2026 community-scripts ORG # Author: Thiago Canozzo Lahr (tclahr) # License: MIT | https://github.com/tclahr/ProxmoxVE/raw/main/LICENSE @@ -29,46 +29,36 @@ function update_script() { exit fi - RELEASE=$(curl -s https://api.github.com/repos/immichFrame/ImmichFrame/releases/latest | grep "tag_name" | awk -F'"' '{print $4}') - if [[ ! -f /app/version.txt ]] || [[ "${RELEASE}" != "$(cat /app/version.txt)" ]]; then - msg_info "Updating ${APP} to ${RELEASE}" + if check_for_gh_release "immichframe" "immichFrame/ImmichFrame"; then + msg_info "Stopping Service" + systemctl stop immichframe + msg_ok "Stopped Service" - msg_info "Stopping ${APP} service" - systemctl stop immichframe 2>/dev/null - - msg_info "Downloading source ${RELEASE}" - curl -fsSL "https://github.com/immichFrame/ImmichFrame/archive/refs/tags/${RELEASE}.tar.gz" \ - -o /tmp/immichframe.tar.gz - tar -xzf /tmp/immichframe.tar.gz -C /tmp/ - SRCDIR=$(ls -d /tmp/ImmichFrame-*) - - msg_info "Building backend" - cd "${SRCDIR}" - /opt/dotnet/dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ + msg_info "Updating ImmichFrame" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/app" + msg_info "Building Application" + cd /app + $STD /opt/dotnet/dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ --self-contained false \ - --output /app \ - &>/dev/null + --output /app - msg_info "Building frontend" - cd "${SRCDIR}/immichFrame.Web" - npm ci --silent &>/dev/null - npm run build &>/dev/null + cd /app/immichFrame.Web + $STD npm ci + $STD npm run build rm -rf /app/wwwroot/* cp -r build/* /app/wwwroot + msg_ok "Application Built" - echo "${RELEASE}" > /app/version.txt + msg_info "Starting Service" + systemctl start immichframe + msg_ok "Started Service" + msg_ok "Updated Successfully!" - msg_info "Starting ${APP} service" - service immichframe start &>/dev/null - - msg_ok "Updated ${APP} to ${RELEASE}" - else - msg_ok "No update required. ${APP} is already at ${RELEASE}" fi exit -} + } start build_container diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index d604e0adf..0b489154f 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -2,7 +2,7 @@ # Copyright (c) 2021-2026 community-scripts ORG # Author: Thiago Canozzo Lahr (tclahr) -# License: MIT | https://github.com/tclahr/ProxmoxVE/raw/main/LICENSE +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/immichFrame/ImmichFrame source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" @@ -13,7 +13,6 @@ setting_up_container network_check update_os -msg_info "Installing Dependencies" msg_info "Installing Dependencies" $STD apt install -y \ libicu-dev \ @@ -22,55 +21,35 @@ $STD apt install -y \ npm \ gettext-base msg_ok "Installed Dependencies" -msg_ok "Installed Dependencies" -msg_info "Installing .NET 8 SDK via dotnet-install.sh" +msg_info "Installing .NET 8 SDK" mkdir -p /opt/dotnet curl -fsSL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh chmod +x /tmp/dotnet-install.sh - $STD /tmp/dotnet-install.sh \ --channel 8.0 \ --install-dir /opt/dotnet \ --no-path - ln -sf /opt/dotnet/dotnet /usr/local/bin/dotnet +msg_ok "Installed .NET 8 SDK" -ln -sf /opt/dotnet/dotnet /usr/local/bin/dotnet +fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/app" -rm /tmp/dotnet-install.sh -msg_ok ".NET 8 SDK Installed" - -msg_info "Fetching Latest ImmichFrame Release" -RELEASE=$(curl -s https://api.github.com/repos/immichFrame/ImmichFrame/releases/latest \ - | grep "tag_name" | awk -F'"' '{print $4}') -msg_ok "Latest release: ${RELEASE}" - -msg_info "Downloading ImmichFrame Source (${RELEASE})" -curl -fsSL "https://github.com/immichFrame/ImmichFrame/archive/refs/tags/${RELEASE}.tar.gz" \ - -o /tmp/immichframe.tar.gz -$STD tar -xzf /tmp/immichframe.tar.gz -C /tmp/ -SRCDIR=$(ls -d /tmp/ImmichFrame-*) -msg_ok "Source Downloaded" - -msg_info "Building ImmichFrame Backend (ASP.NET Core)" +msg_info "Building Application" mkdir -p /app -cd "${SRCDIR}" +cd /app $STD dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ --self-contained false \ --output /app -msg_ok "Backend Built" - -msg_info "Building ImmichFrame Frontend (SvelteKit)" -cd "${SRCDIR}/immichFrame.Web" +cd /app/immichFrame.Web $STD npm ci $STD npm run build cp -r build/* /app/wwwroot -msg_ok "Frontend Built" +msg_ok "Application Built" -msg_info "Creating Configuration Directory" +msg_info "Configuring ImmichFrame" mkdir -p /app/Config cat <<'EOF' > /app/Config/Settings.yml @@ -192,14 +171,14 @@ Accounts: # - "Travel/Europe" EOF -msg_ok "Configuration File Created" +msg_ok "Configured ImmichFrame" -msg_info "Creating Dedicated User" +msg_info "Creating immichframe User" useradd -r -s /sbin/nologin -d /app -M immichframe 2>/dev/null chown -R immichframe:immichframe /app -msg_ok "User 'immichframe' Created" +msg_ok "User immichframe Created" -msg_info "Creating ImmichFrame systemd Service" +msg_info "Creating Service" cat <<'EOF' > /etc/systemd/system/immichframe.service [Unit] Description=ImmichFrame Digital Photo Frame @@ -229,21 +208,8 @@ SyslogIdentifier=immichframe [Install] WantedBy=multi-user.target EOF -msg_ok "systemd Service Created" - -msg_info "Enabling and Starting ImmichFrame Service" systemctl enable -q --now immichframe -msg_ok "ImmichFrame Service Started" -msg_ok "ImmichFrame Service Started" - -msg_info "Saving Version Info" -echo "${RELEASE}" > /app/version.txt -msg_ok "Version ${RELEASE} Saved" - -msg_info "Cleaning Up Build Artifacts" -$STD apt clean -msg_ok "Cleanup Complete" -msg_ok "Cleanup Complete" +msg_ok "Created Service" motd_ssh customize From e6b7ce15574f71db210b03b7bc91e7732b119d8c Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Thu, 26 Feb 2026 13:29:13 -0300 Subject: [PATCH 15/22] update Signed-off-by: Thiago Canozzo Lahr --- ct/immichframe.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index 988786118..834737d6d 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +COMMUNITY_SCRIPTS_URL="${COMMUNITY_SCRIPTS_URL:-https://raw.githubusercontent.com/tclahr/ProxmoxVED/raw/branch/main}" source <(curl -fsSL https://raw.githubusercontent.com/tclahr/ProxmoxVED/main/misc/build.func) # Copyright (c) 2021-2026 community-scripts ORG # Author: Thiago Canozzo Lahr (tclahr) From a73eef3dcf17e8ce63c5a33748085f03197a40e9 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Thu, 26 Feb 2026 13:33:21 -0300 Subject: [PATCH 16/22] update Signed-off-by: Thiago Canozzo Lahr --- ct/immichframe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index 834737d6d..10141e317 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -COMMUNITY_SCRIPTS_URL="${COMMUNITY_SCRIPTS_URL:-https://raw.githubusercontent.com/tclahr/ProxmoxVED/raw/branch/main}" +COMMUNITY_SCRIPTS_URL="${COMMUNITY_SCRIPTS_URL:-https://github.com/tclahr/ProxmoxVED/tree/main}" source <(curl -fsSL https://raw.githubusercontent.com/tclahr/ProxmoxVED/main/misc/build.func) # Copyright (c) 2021-2026 community-scripts ORG # Author: Thiago Canozzo Lahr (tclahr) From 24490365f9dd8eb7ee3a38c5e5142afe361f74ad Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Thu, 26 Feb 2026 13:55:07 -0300 Subject: [PATCH 17/22] update Signed-off-by: Thiago Canozzo Lahr --- ct/immichframe.sh | 6 +++--- install/immichframe-install.sh | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index 10141e317..5fb16ef26 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -COMMUNITY_SCRIPTS_URL="${COMMUNITY_SCRIPTS_URL:-https://github.com/tclahr/ProxmoxVED/tree/main}" source <(curl -fsSL https://raw.githubusercontent.com/tclahr/ProxmoxVED/main/misc/build.func) # Copyright (c) 2021-2026 community-scripts ORG # Author: Thiago Canozzo Lahr (tclahr) @@ -36,9 +35,9 @@ function update_script() { msg_ok "Stopped Service" msg_info "Updating ImmichFrame" - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/app" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp/immichframe" msg_info "Building Application" - cd /app + cd /tmp/immichframe $STD /opt/dotnet/dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ @@ -50,6 +49,7 @@ function update_script() { $STD npm run build rm -rf /app/wwwroot/* cp -r build/* /app/wwwroot + rm -rf /tmp/immichframe msg_ok "Application Built" msg_info "Starting Service" diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index 0b489154f..4e4301921 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -33,11 +33,11 @@ $STD /tmp/dotnet-install.sh \ ln -sf /opt/dotnet/dotnet /usr/local/bin/dotnet msg_ok "Installed .NET 8 SDK" -fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/app" +fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp/immichframe" msg_info "Building Application" mkdir -p /app -cd /app +cd /tmp/immichframe $STD dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ @@ -47,6 +47,7 @@ cd /app/immichFrame.Web $STD npm ci $STD npm run build cp -r build/* /app/wwwroot +rm -rf /tmp/immichframe msg_ok "Application Built" msg_info "Configuring ImmichFrame" From 64c42cdef6ed1684b03094f17f49b796188dfc92 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Thu, 26 Feb 2026 15:10:46 -0300 Subject: [PATCH 18/22] update Signed-off-by: Thiago Canozzo Lahr --- ct/immichframe.sh | 9 +++++---- install/immichframe-install.sh | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index 5fb16ef26..632f2eb2e 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -35,21 +35,22 @@ function update_script() { msg_ok "Stopped Service" msg_info "Updating ImmichFrame" - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp/immichframe" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp" + SRCDIR=$(ls -d /tmp/ImmichFrame-*) msg_info "Building Application" - cd /tmp/immichframe + cd "${SRCDIR}" $STD /opt/dotnet/dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ --self-contained false \ --output /app - cd /app/immichFrame.Web + cd "${SRCDIR}/immichFrame.Web" $STD npm ci $STD npm run build rm -rf /app/wwwroot/* cp -r build/* /app/wwwroot - rm -rf /tmp/immichframe + rm -rf "${SRCDIR}" msg_ok "Application Built" msg_info "Starting Service" diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index 4e4301921..39722aa91 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -33,21 +33,22 @@ $STD /tmp/dotnet-install.sh \ ln -sf /opt/dotnet/dotnet /usr/local/bin/dotnet msg_ok "Installed .NET 8 SDK" -fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp/immichframe" +fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp" +SRCDIR=$(ls -d /tmp/ImmichFrame-*) msg_info "Building Application" mkdir -p /app -cd /tmp/immichframe +cd "${SRCDIR}" $STD dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ --self-contained false \ --output /app -cd /app/immichFrame.Web +cd "${SRCDIR}/immichFrame.Web" $STD npm ci $STD npm run build cp -r build/* /app/wwwroot -rm -rf /tmp/immichframe +rm -rf "${SRCDIR}" msg_ok "Application Built" msg_info "Configuring ImmichFrame" From 88d66e12324faea4a1b0bcb1ff9c97a1ca91b2fc Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Thu, 26 Feb 2026 15:19:30 -0300 Subject: [PATCH 19/22] update Signed-off-by: Thiago Canozzo Lahr --- ct/immichframe.sh | 9 ++++----- install/immichframe-install.sh | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index 632f2eb2e..897c2644f 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -35,22 +35,21 @@ function update_script() { msg_ok "Stopped Service" msg_info "Updating ImmichFrame" - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp" - SRCDIR=$(ls -d /tmp/ImmichFrame-*) + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp/immichframe" msg_info "Building Application" - cd "${SRCDIR}" + cd /tmp/immichframe $STD /opt/dotnet/dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ --self-contained false \ --output /app - cd "${SRCDIR}/immichFrame.Web" + cd /tmp/immichframe/immichFrame.Web $STD npm ci $STD npm run build rm -rf /app/wwwroot/* cp -r build/* /app/wwwroot - rm -rf "${SRCDIR}" + rm -rf /tmp/immichframe msg_ok "Application Built" msg_info "Starting Service" diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index 39722aa91..9353bffd9 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -33,22 +33,21 @@ $STD /tmp/dotnet-install.sh \ ln -sf /opt/dotnet/dotnet /usr/local/bin/dotnet msg_ok "Installed .NET 8 SDK" -fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp" -SRCDIR=$(ls -d /tmp/ImmichFrame-*) +fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp/immichframe" msg_info "Building Application" mkdir -p /app -cd "${SRCDIR}" +cd /tmp/immichframe $STD dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ --self-contained false \ --output /app -cd "${SRCDIR}/immichFrame.Web" +cd /tmp/immichframe/immichFrame.Web $STD npm ci $STD npm run build cp -r build/* /app/wwwroot -rm -rf "${SRCDIR}" +rm -rf /tmp/immichframe msg_ok "Application Built" msg_info "Configuring ImmichFrame" From 3583af1cf095cbf7e8cf0cbd0b169cfc2cfacc36 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Thu, 26 Feb 2026 15:58:59 -0300 Subject: [PATCH 20/22] update Signed-off-by: Thiago Canozzo Lahr --- ct/immichframe.sh | 7 +++---- install/immichframe-install.sh | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index 897c2644f..262ba185a 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -38,18 +38,17 @@ function update_script() { CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp/immichframe" msg_info "Building Application" cd /tmp/immichframe - $STD /opt/dotnet/dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ + /opt/dotnet/dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ --self-contained false \ --output /app cd /tmp/immichframe/immichFrame.Web - $STD npm ci - $STD npm run build + npm ci + npm run build rm -rf /app/wwwroot/* cp -r build/* /app/wwwroot - rm -rf /tmp/immichframe msg_ok "Application Built" msg_info "Starting Service" diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index 9353bffd9..c92afaf35 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -47,7 +47,6 @@ cd /tmp/immichframe/immichFrame.Web $STD npm ci $STD npm run build cp -r build/* /app/wwwroot -rm -rf /tmp/immichframe msg_ok "Application Built" msg_info "Configuring ImmichFrame" From 4333c036e8468e3d2470781c25caf32c5843c378 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Thu, 26 Feb 2026 16:35:43 -0300 Subject: [PATCH 21/22] update Signed-off-by: Thiago Canozzo Lahr --- ct/immichframe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index 262ba185a..52ba5b3ac 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -45,7 +45,7 @@ function update_script() { --output /app cd /tmp/immichframe/immichFrame.Web - npm ci + npm ci --silent npm run build rm -rf /app/wwwroot/* cp -r build/* /app/wwwroot From 6de566a27c8e163173320fc42e63422a4f3bd1ed Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Thu, 26 Feb 2026 18:02:53 -0300 Subject: [PATCH 22/22] remove header and update json Signed-off-by: Thiago Canozzo Lahr --- ct/headers/immichframe | 6 ------ frontend/public/json/immichframe.json | 25 ++++++++++--------------- 2 files changed, 10 insertions(+), 21 deletions(-) delete mode 100644 ct/headers/immichframe diff --git a/ct/headers/immichframe b/ct/headers/immichframe deleted file mode 100644 index 8c0ede1f1..000000000 --- a/ct/headers/immichframe +++ /dev/null @@ -1,6 +0,0 @@ - _ _ _ ______ -(_) (_) | | | ___| - _ _ __ ___ _ __ ___ _ ___| |__ | |_ _ __ __ _ _ __ ___ ___ -| | '_ ` _ \| '_ ` _ \| |/ __| '_ \| _| '__/ _` | '_ ` _ \ / _ \ -| | | | | | | | | | | | | (__| | | | | | | | (_| | | | | | | __/ -|_|_| |_| |_|_| |_| |_|_|\___|_| |_\_| |_| \__,_|_| |_| |_|\___| diff --git a/frontend/public/json/immichframe.json b/frontend/public/json/immichframe.json index c20cada74..88d3b4422 100644 --- a/frontend/public/json/immichframe.json +++ b/frontend/public/json/immichframe.json @@ -1,16 +1,19 @@ { "name": "ImmichFrame", "slug": "immichframe", - "categories": [3], - "date_created": "2025-02-22", + "categories": [ + 13 + ], + "date_created": "2026-02-26", "type": "ct", "updateable": true, "privileged": false, "interface_port": 8080, - "documentation": "https://immichframe.dev/docs/overview", - "website": "https://immichframe.dev", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/immichframe.webp", - "description": "ImmichFrame is a digital photo frame web application that connects to your Immich server and displays your photos as a fullscreen slideshow. Built natively from source using ASP.NET Core and SvelteKit, without Docker.", + "documentation": null, + "config_path": "/app/Config/Settings.yml", + "website": null, + "logo": "https://github.com/selfhst/icons/blob/main/webp/immich-frame.webp", + "description": "ImmichFrame is a digital photo frame web application that connects to your Immich server and displays your photos as a fullscreen slideshow.", "install_methods": [ { "type": "default", @@ -30,15 +33,7 @@ }, "notes": [ { - "text": "After installation, edit `/app/Config/Settings.yml` and set **ImmichServerUrl** and **ApiKey**. Then restart the service with `systemctl restart immichframe`.", - "type": "warning" - }, - { - "text": "Get your API Key at: Immich → Account Settings → API Keys → New API Key.", - "type": "info" - }, - { - "text": "The process runs as a dedicated unprivileged user `immichframe`.", + "text": "After installation, edit `/app/Config/Settings.yml` and set ImmichServerUrl and ApiKey. Then restart the service with `systemctl restart immichframe`.", "type": "info" } ]