aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-29 14:17:33 +0200
committerDanilo M. <danix@danix.xyz>2026-09-29 14:17:33 +0200
commit9f6414838d4fabc174bb193f34225de8d9fc8079 (patch)
tree486f00b96a2174a783122c0e11a5d13c6c5ca965 /README.md
parent4300fb5a232a2edf5262073ab7b898b8cbb126e4 (diff)
downloadconky-theme-udt-9f6414838d4fabc174bb193f34225de8d9fc8079.tar.gz
conky-theme-udt-9f6414838d4fabc174bb193f34225de8d9fc8079.zip
feat(immich): fall back to the past week's memories
A day with no memories left the card showing only a notice. When today has none, immich-fetch.sh now merges the memories of each of the past six days, skipping a day whose request fails, and marks the index with a scope week line. The subtitle names where the photos come from, Today or This week, before the i/n counter, and the empty notice reads no memories this week. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index e68827e..a78371e 100644
--- a/README.md
+++ b/README.md
@@ -204,9 +204,10 @@ local time) and where, as city and country, or coordinates when Immich has no
place name for them.
`bin/immich-fetch.sh` runs every 30 minutes. It asks `/api/memories` for
-today, downloads each photo's preview, converts it to PNG with ImageMagick
-(Cairo loads nothing else) and writes an index beside the photos in
-`~/.cache/udt/immich/`, dropping photos that are no longer today's. It needs
+today, or for each of the past six days when today has none, downloads each
+photo's preview, converts it to PNG with ImageMagick (Cairo loads nothing
+else) and writes an index beside the photos in `~/.cache/udt/immich/`,
+dropping photos that are no longer in it. It needs
`curl`, `jq` and `magick`, and a key in `~/.config/udt/immich.env`: copy
`immich.env.example`. The key wants `memory.read` and `asset.view`; with
`asset.read` too, the card shows the place, and without it the row reads `--`.