Repository navigation
Releases
DigiMem v0.4.0
DigiMem v0.4.0
Added
- Send digiKam tags to Memories, in Settings under What a sync does. A full sync copies your digiKam tags to Nextcloud, so Memories can filter by them. Tags go one way, from digiKam, and a nested tag keeps its whole path, so
Places > Europe > Irelandarrives asPlaces/Europe/Ireland. People stay faces, and digiKam's colour labels and picks stay out. DigiMem only removes a tag it added itself. Your photo files are not changed. Tag names can be seen by every account on your Nextcloud, so this stays off until you turn it on. A tag longer than Nextcloud's 64 characters is left out and listed under Needs attention. (#8)
Fixed
- A sync that finds nothing to change now finishes as "No changes". It used to wait as if it had changes to apply, so after a quiet daily sync Home offered Review changes and Apply with nothing behind them, in place of the Sync now menu. Syncs like this recorded before the fix are tidied up when DigiMem starts.
- Changes that failed on an older sync are retired once a later full sync finishes, just as changes still waiting already were. A later sync proposes again whatever is still needed, so the old failures only kept that older sync open, and Home could bring it back as the sync waiting for you. Old failures like this are tidied up when DigiMem starts.
- The home screen headline no longer says "0 faces could not be added" when the only thing waiting is a face box that looks wrong.
📦 Installation
DigiMem needs two things installed: the desktop application, on the machine where digiKam lives, and the companion app on your Nextcloud server. Neither works without the other.
Linux
Debian, Ubuntu, Linux Mint
sudo apt install ./digimem_0.4.0_all.debFedora, RHEL, openSUSE
sudo dnf install ./digimem-0.4.0-1.noarch.rpmBoth packages use your distribution's own Python rather than bundling one, so they are small and work on any architecture. They need Python 3.10 or later.
Any distribution — AppImage
chmod +x DigiMem-0.4.0-x86_64.AppImage
./DigiMem-0.4.0-x86_64.AppImageThe AppImage carries its own Python and needs nothing installed. Then add DigiMem to your application menu and, if you want it, to your login items:
digimem shortcuts install
digimem autostart enablemacOS
- Open
DigiMem-0.4.0-arm64.dmgand drag DigiMem to Applications. - Launch it from Applications or Spotlight.
Apple Silicon only (M1 and later). There is no Intel build.
Windows
- Run
DigiMem-0.4.0-Setup.exe. - Windows SmartScreen will warn you that the publisher is unknown, because the installer is not code-signed. Choose More info, then Run anyway.
- The installer offers a desktop shortcut and a login item; both are optional and can be changed later from Settings.
DigiMem installs for the current user by default, so no administrator prompt appears.
Nextcloud — the companion app
Required on every platform. digikam_face_sync is installed separately from Recognize, so a Recognize update cannot overwrite it.
- Download
digikam_face_sync-0.6.2.tar.gzfrom this release. - Extract it into your Nextcloud
apps/(orcustom_apps/) directory. - Enable it:
sudo -u www-data php occ app:enable digikam_face_sync
It needs Nextcloud 33 to 35 and PHP 8.2 or later, with Recognize installed and enabled. Full instructions, including permissions and troubleshooting, are in docs/install-nextcloud-app.md.
⬆️ Upgrading
Install the new package over the old one; settings, the face ledger and the operation history are kept. Settings files are upgraded in place on first launch, with automatic sync left off, so an upgrade never starts changing your libraries on its own.
Upgrade the Nextcloud companion app whenever its version changes — DigiMem tells you on the connection screen if the server side is too old for a feature it wants.
🔒 Privacy
All data stays on your machine. No telemetry or data collection.
📚 Resources
- Getting started: README
- User guide: docs/index.md
- How the parts fit together: docs/architecture.md
- Installing the Nextcloud app: docs/install-nextcloud-app.md
- Automatic operation, in detail: phase2.md
- Full history: CHANGELOG.md
- Issues: GitHub Issues
DigiMem v0.3.3
DigiMem v0.3.3
Fixed
- A photo digiKam has no size for is no longer offered for a new face box in digiKam. digiKam records each photo's width and height when it reads the file, and a face box cannot be placed without them, so every such write failed when applied, often hundreds in one sync. These photos are now left alone and counted on their own line in the sync results, and rereading their metadata in digiKam brings them back. (#6)
- A face box with no size, stored as
width="0" height="0", can be removed from the library check. DigiMem picks out the box to remove by how much it overlaps the one shown, and a box with no size overlaps nothing, so it was never found and the same photo came straight back. It is now found by where it sits. A removal that finds nothing to remove now says so on the page and in the log, instead of quietly showing the photo again. (#7)
📦 Installation
DigiMem needs two things installed: the desktop application, on the machine where digiKam lives, and the companion app on your Nextcloud server. Neither works without the other.
Linux
Debian, Ubuntu, Linux Mint
sudo apt install ./digimem_0.3.3_all.debFedora, RHEL, openSUSE
sudo dnf install ./digimem-0.3.3-1.noarch.rpmBoth packages use your distribution's own Python rather than bundling one, so they are small and work on any architecture. They need Python 3.10 or later.
Any distribution — AppImage
chmod +x DigiMem-0.3.3-x86_64.AppImage
./DigiMem-0.3.3-x86_64.AppImageThe AppImage carries its own Python and needs nothing installed. Then add DigiMem to your application menu and, if you want it, to your login items:
digimem shortcuts install
digimem autostart enablemacOS
- Open
DigiMem-0.3.3-arm64.dmgand drag DigiMem to Applications. - Launch it from Applications or Spotlight.
Apple Silicon only (M1 and later). There is no Intel build.
Windows
- Run
DigiMem-0.3.3-Setup.exe. - Windows SmartScreen will warn you that the publisher is unknown, because the installer is not code-signed. Choose More info, then Run anyway.
- The installer offers a desktop shortcut and a login item; both are optional and can be changed later from Settings.
DigiMem installs for the current user by default, so no administrator prompt appears.
Nextcloud — the companion app
Required on every platform. digikam_face_sync is installed separately from Recognize, so a Recognize update cannot overwrite it.
- Download
digikam_face_sync-0.6.2.tar.gzfrom this release. - Extract it into your Nextcloud
apps/(orcustom_apps/) directory. - Enable it:
sudo -u www-data php occ app:enable digikam_face_sync
It needs Nextcloud 33 to 35 and PHP 8.2 or later, with Recognize installed and enabled. Full instructions, including permissions and troubleshooting, are in docs/install-nextcloud-app.md.
⬆️ Upgrading
Install the new package over the old one; settings, the face ledger and the operation history are kept. Settings files are upgraded in place on first launch, with automatic sync left off, so an upgrade never starts changing your libraries on its own.
Upgrade the Nextcloud companion app whenever its version changes — DigiMem tells you on the connection screen if the server side is too old for a feature it wants.
🔒 Privacy
All data stays on your machine. No telemetry or data collection.
📚 Resources
- Getting started: README
- User guide: docs/index.md
- How the parts fit together: docs/architecture.md
- Installing the Nextcloud app: docs/install-nextcloud-app.md
- Automatic operation, in detail: phase2.md
- Full history: CHANGELOG.md
- Issues: GitHub Issues
DigiMem v0.3.2
DigiMem v0.3.2
Added
- Wait for Nextcloud in Settings, under Advanced: how long one request to Nextcloud may take before DigiMem gives up on it. DigiMem now copes with a slow server by itself, so this is for a server slower still. It stays at 60 seconds unless changed.
Fixed
-
Photos are found in Nextcloud on Windows, and wherever the digiKam database is kept. DigiMem looked for photos inside the folder holding
digikam4.db, comparing it with where digiKam says each photo is. On Windows digiKam leaves the drive letter out of that, and for a network share it records only the share, so no photo was ever inside the folder. Every one was skipped, and the sync finished with nothing matched and nothing to say about why. The same happened anywhere the database was kept away from the photos. A photo is now found by its path inside the digiKam collection, under the photos folder in Nextcloud, which is how the Memories-to-digiKam half already read them back. (#1, #4) -
A photo to review is shown from Nextcloud when it is not beside the digiKam database, instead of an error saying it is not available locally. (#1)
-
A slow Nextcloud no longer stops every sync at the same place. The faces Memories knows about are read 1,000 at a time, and on some servers one batch took longer than DigiMem's 60 second wait. DigiMem asked for the same batch twice more and gave up, and the next attempt read from the beginning and stopped at the same batch, for ever. A batch that takes too long is now asked for again from the same place in smaller pieces, which grow back once the server answers quickly again. (#3)
-
The Nextcloud companion app (0.6.2) answers a request for faces within about ten seconds, sending what it has found by then and where to carry on, instead of finishing a whole batch first. Finding each face's photo is slow on some servers, and this keeps every answer well inside the time DigiMem waits, whichever version of DigiMem is asking. (#3)
-
DigiMem connects to a Nextcloud on a port other than the usual one, such as
https://cloud.example.com:8443. Every request named the server without its port, and Nextcloud, which checks that name against the addresses it trusts, turned each one away with "400 Bad Request" when the trusted address included the port. (#5)
📦 Installation
DigiMem needs two things installed: the desktop application, on the machine where digiKam lives, and the companion app on your Nextcloud server. Neither works without the other.
Linux
Debian, Ubuntu, Linux Mint
sudo apt install ./digimem_0.3.2_all.debFedora, RHEL, openSUSE
sudo dnf install ./digimem-0.3.2-1.noarch.rpmBoth packages use your distribution's own Python rather than bundling one, so they are small and work on any architecture. They need Python 3.10 or later.
Any distribution — AppImage
chmod +x DigiMem-0.3.2-x86_64.AppImage
./DigiMem-0.3.2-x86_64.AppImageThe AppImage carries its own Python and needs nothing installed. Then add DigiMem to your application menu and, if you want it, to your login items:
digimem shortcuts install
digimem autostart enablemacOS
- Open
DigiMem-0.3.2-arm64.dmgand drag DigiMem to Applications. - Launch it from Applications or Spotlight.
Apple Silicon only (M1 and later). There is no Intel build.
Windows
- Run
DigiMem-0.3.2-Setup.exe. - Windows SmartScreen will warn you that the publisher is unknown, because the installer is not code-signed. Choose More info, then Run anyway.
- The installer offers a desktop shortcut and a login item; both are optional and can be changed later from Settings.
DigiMem installs for the current user by default, so no administrator prompt appears.
Nextcloud — the companion app
Required on every platform. digikam_face_sync is installed separately from Recognize, so a Recognize update cannot overwrite it.
- Download
digikam_face_sync-0.6.2.tar.gzfrom this release. - Extract it into your Nextcloud
apps/(orcustom_apps/) directory. - Enable it:
sudo -u www-data php occ app:enable digikam_face_sync
It needs Nextcloud 33 to 35 and PHP 8.2 or later, with Recognize installed and enabled. Full instructions, including permissions and troubleshooting, are in docs/install-nextcloud-app.md.
⬆️ Upgrading
Install the new package over the old one; settings, the face ledger and the operation history are kept. Settings files are upgraded in place on first launch, with automatic sync left off, so an upgrade never starts changing your libraries on its own.
Upgrade the Nextcloud companion app whenever its version changes — DigiMem tells you on the connection screen if the server side is too old for a feature it wants.
🔒 Privacy
All data stays on your machine. No telemetry or data collection.
📚 Resources
- Getting started: README
- User guide: docs/index.md
- How the parts fit together: docs/architecture.md
- Installing the Nextcloud app: docs/install-nextcloud-app.md
- Automatic operation, in detail: phase2.md
- Full history: CHANGELOG.md
- Issues: GitHub Issues
DigiMem v0.3.1
DigiMem v0.3.1
Fixed
-
Names now reach Memories on photos shared with another Nextcloud user. Recognize detects every face once for each person who can see the photo, on the same box, and DigiMem was reading the other person's detections along with yours. When it picked theirs, Nextcloud refused to name a face that was not yours to name, and the apply failed with "Face detection was not found for this image". DigiMem now reads only the detections that belong to the account it signs in as, which is all the companion app would ever let it change anyway.
-
The home screen no longer shows an empty yellow box. Face boxes that look wrong count towards what needs attention, but the home screen had no line for them, so a library whose only open items were those drew the box with nothing in it. It now says how many photos have them, with a button to review them.
-
A sync in progress says "Started 9 minutes ago because digiKam changed" rather than "because digiKam changed changed something", and a run's page says "Started because digiKam changed" rather than "Started by digiKam changed".
📦 Installation
DigiMem needs two things installed: the desktop application, on the machine where digiKam lives, and the companion app on your Nextcloud server. Neither works without the other.
Linux
Debian, Ubuntu, Linux Mint
sudo apt install ./digimem_0.3.1_all.debFedora, RHEL, openSUSE
sudo dnf install ./digimem-0.3.1-1.noarch.rpmBoth packages use your distribution's own Python rather than bundling one, so they are small and work on any architecture. They need Python 3.10 or later.
Any distribution — AppImage
chmod +x DigiMem-0.3.1-x86_64.AppImage
./DigiMem-0.3.1-x86_64.AppImageThe AppImage carries its own Python and needs nothing installed. Then add DigiMem to your application menu and, if you want it, to your login items:
digimem shortcuts install
digimem autostart enablemacOS
- Open
DigiMem-0.3.1-arm64.dmgand drag DigiMem to Applications. - Launch it from Applications or Spotlight.
Apple Silicon only (M1 and later). There is no Intel build.
Windows
- Run
DigiMem-0.3.1-Setup.exe. - Windows SmartScreen will warn you that the publisher is unknown, because the installer is not code-signed. Choose More info, then Run anyway.
- The installer offers a desktop shortcut and a login item; both are optional and can be changed later from Settings.
DigiMem installs for the current user by default, so no administrator prompt appears.
Nextcloud — the companion app
Required on every platform. digikam_face_sync is installed separately from Recognize, so a Recognize update cannot overwrite it.
- Download
digikam_face_sync-0.6.1.tar.gzfrom this release. - Extract it into your Nextcloud
apps/(orcustom_apps/) directory. - Enable it:
sudo -u www-data php occ app:enable digikam_face_sync
It needs Nextcloud 33 to 35 and PHP 8.2 or later, with Recognize installed and enabled. Full instructions, including permissions and troubleshooting, are in docs/install-nextcloud-app.md.
⬆️ Upgrading
Install the new package over the old one; settings, the face ledger and the operation history are kept. Settings files are upgraded in place on first launch, with automatic sync left off, so an upgrade never starts changing your libraries on its own.
Upgrade the Nextcloud companion app whenever its version changes — DigiMem tells you on the connection screen if the server side is too old for a feature it wants.
🔒 Privacy
All data stays on your machine. No telemetry or data collection.
📚 Resources
- Getting started: README
- User guide: docs/index.md
- How the parts fit together: docs/architecture.md
- Installing the Nextcloud app: docs/install-nextcloud-app.md
- Automatic operation, in detail: phase2.md
- Full history: CHANGELOG.md
- Issues: GitHub Issues
DigiMem v0.3.0
DigiMem v0.3.0
Added
-
DigiMem is on the AUR as
digimem-bin, so Arch, Manjaro and EndeavourOS install and update it the way they install everything else. It repackages the published.debrather than building from source, so the launcher, the menu entry and the icon are the files every other Linux user gets. -
A desktop notification carries an Open button that goes straight to the screen it is about, so a message about changes needing attention is one press away from them. All three desktops do it, each the only way it can: Linux waits on
notify-send --action, Windows hands the address to the shell through a toast's protocol activation, which needs no registered COM server, and macOS posts from inside DigiMem.app through a helper that holds a run loop, because a notification there belongs to an application and its answer arrives on a loop a background service has not got. A macOS DigiMem run from a checkout rather than the bundle still shows the message, with nothing to press. -
Settings can restart the background service, so picking up a new version no longer means finding the right thing to kill. Whoever is in charge does it: under a systemd user unit or a launchd agent DigiMem asks the supervisor, because a job that replaces itself behind its supervisor's back is one the supervisor no longer knows about, would not bring back after a crash, and would report as stopped while it ran. With no supervisor DigiMem starts the replacement itself, once it has given up the lock and the port. A sync in progress has to finish first, and a service run in a terminal does not offer a restart at all.
Fixed
-
Applying no longer refuses a new face box because Recognize found the same face first. On photos added shortly before a sync, Recognize often detects its own faces between the preview and the apply, leaving an unnamed detection under a box digiKam had asked for. DigiMem now names that detection, which is what a preview taken a moment later would have proposed, instead of reporting that a different Memories face was in the way. A face genuinely carrying another name is still refused, and now says whose. The same goes the other way: a detection Recognize replaced after the preview is named rather than reported as changed.
-
Naming a face in digiKam takes away the unnamed box digiKam's own detector had left under it, which is what digiKam does when somebody confirms a face. Before, the photo kept both, so one face showed twice: once with the name just written and once as a stranger. A face marked Ignored is a decision and stays, and so does a suggestion digiKam made for a real person.
📦 Installation
DigiMem needs two things installed: the desktop application, on the machine where digiKam lives, and the companion app on your Nextcloud server. Neither works without the other.
Linux
Debian, Ubuntu, Linux Mint
sudo apt install ./digimem_0.3.0_all.debFedora, RHEL, openSUSE
sudo dnf install ./digimem-0.3.0-1.noarch.rpmBoth packages use your distribution's own Python rather than bundling one, so they are small and work on any architecture. They need Python 3.10 or later.
Any distribution — AppImage
chmod +x DigiMem-0.3.0-x86_64.AppImage
./DigiMem-0.3.0-x86_64.AppImageThe AppImage carries its own Python and needs nothing installed. Then add DigiMem to your application menu and, if you want it, to your login items:
digimem shortcuts install
digimem autostart enablemacOS
- Open
DigiMem-0.3.0-arm64.dmgand drag DigiMem to Applications. - Launch it from Applications or Spotlight.
Apple Silicon only (M1 and later). There is no Intel build.
Windows
- Run
DigiMem-0.3.0-Setup.exe. - Windows SmartScreen will warn you that the publisher is unknown, because the installer is not code-signed. Choose More info, then Run anyway.
- The installer offers a desktop shortcut and a login item; both are optional and can be changed later from Settings.
DigiMem installs for the current user by default, so no administrator prompt appears.
Nextcloud — the companion app
Required on every platform. digikam_face_sync is installed separately from Recognize, so a Recognize update cannot overwrite it.
- Download
digikam_face_sync-0.6.1.tar.gzfrom this release. - Extract it into your Nextcloud
apps/(orcustom_apps/) directory. - Enable it:
sudo -u www-data php occ app:enable digikam_face_sync
It needs Nextcloud 33 to 35 and PHP 8.2 or later, with Recognize installed and enabled. Full instructions, including permissions and troubleshooting, are in docs/install-nextcloud-app.md.
⬆️ Upgrading
Install the new package over the old one; settings, the face ledger and the operation history are kept. Settings files are upgraded in place on first launch, with automatic sync left off, so an upgrade never starts changing your libraries on its own.
Upgrade the Nextcloud companion app whenever its version changes — DigiMem tells you on the connection screen if the server side is too old for a feature it wants.
🔒 Privacy
All data stays on your machine. No telemetry or data collection.
📚 Resources
- Getting started: README
- User guide: docs/index.md
- How the parts fit together: docs/architecture.md
- Installing the Nextcloud app: docs/install-nextcloud-app.md
- Automatic operation, in detail: phase2.md
- Full history: CHANGELOG.md
- Issues: GitHub Issues
DigiMem v0.2.0
DigiMem v0.2.0
Changed
- The Nextcloud companion app (0.6.1) accepts Recognize 13 as well as 12. Nothing it depends on moved between the two: the face tables are untouched, face-api stays on 1.7.x so the model format and API are unchanged, and the Node binary setting is where it was. An upper bound remains, because an untested major is what the check is for.
Fixed
-
When the companion app has turned a feature off, DigiMem says which one and repeats the app's own reason, instead of reporting that the app needs installing or updating. On a server running Recognize 13 that advice was wrong in both halves: the app was current, and reinstalling it changed nothing.
-
The Nextcloud companion app archive builds reproducibly: two clones of the same commit now produce the same bytes. Previously the file order came from however the directory happened to be read and the timestamps from whenever the files were checked out, so nobody could check that a published release matched its source.
📦 Installation
DigiMem needs two things installed: the desktop application, on the machine where digiKam lives, and the companion app on your Nextcloud server. Neither works without the other.
Linux
Debian, Ubuntu, Linux Mint
sudo apt install ./digimem_0.2.0_all.debFedora, RHEL, openSUSE
sudo dnf install ./digimem-0.2.0-1.noarch.rpmBoth packages use your distribution's own Python rather than bundling one, so they are small and work on any architecture. They need Python 3.10 or later.
Any distribution — AppImage
chmod +x DigiMem-0.2.0-x86_64.AppImage
./DigiMem-0.2.0-x86_64.AppImageThe AppImage carries its own Python and needs nothing installed. Then add DigiMem to your application menu and, if you want it, to your login items:
digimem shortcuts install
digimem autostart enablemacOS
- Open
DigiMem-0.2.0-arm64.dmgand drag DigiMem to Applications. - Launch it from Applications or Spotlight.
Apple Silicon only (M1 and later). There is no Intel build.
Windows
- Run
DigiMem-0.2.0-Setup.exe. - Windows SmartScreen will warn you that the publisher is unknown, because the installer is not code-signed. Choose More info, then Run anyway.
- The installer offers a desktop shortcut and a login item; both are optional and can be changed later from Settings.
DigiMem installs for the current user by default, so no administrator prompt appears.
Nextcloud — the companion app
Required on every platform. digikam_face_sync is installed separately from Recognize, so a Recognize update cannot overwrite it.
- Download
digikam_face_sync-0.6.1.tar.gzfrom this release. - Extract it into your Nextcloud
apps/(orcustom_apps/) directory. - Enable it:
sudo -u www-data php occ app:enable digikam_face_sync
It needs Nextcloud 33 to 35 and PHP 8.2 or later, with Recognize installed and enabled. Full instructions, including permissions and troubleshooting, are in docs/install-nextcloud-app.md.
⬆️ Upgrading
Install the new package over the old one; settings, the face ledger and the operation history are kept. Settings files are upgraded in place on first launch, with automatic sync left off, so an upgrade never starts changing your libraries on its own.
Upgrade the Nextcloud companion app whenever its version changes — DigiMem tells you on the connection screen if the server side is too old for a feature it wants.
🔒 Privacy
All data stays on your machine. No telemetry or data collection.
📚 Resources
- Getting started: README
- User guide: docs/index.md
- How the parts fit together: docs/architecture.md
- Installing the Nextcloud app: docs/install-nextcloud-app.md
- Automatic operation, in detail: phase2.md
- Full history: CHANGELOG.md
- Issues: GitHub Issues
DigiMem v0.1.0
DigiMem v0.1.0
First release.
Added
Two-way synchronization
- Face names and rectangles are kept in step between a local digiKam library and Nextcloud Memories/Recognize, in both directions.
- Creating face boxes in Memories and creating them in digiKam are separate settings, so either half of a first sync can be turned off. With Memories off, a sync is names only: faces Recognize already found get their digiKam name, and no new boxes are drawn.
- A face ledger remembers the name both libraries last agreed on, so a rename in either one is applied to the other rather than queued as a question. Only a face renamed on both sides, or one with no history, waits for a decision.
Automatic operation
- A background service watches digiKam's database and polls Nextcloud. A change starts a wait rather than a sync, so twenty renames produce one sync afterwards instead of twenty while you work. The wait is capped an hour from the first change, so a busy library still syncs hourly.
- Syncs wait for Recognize to finish its own work, and hold digiKam's half until digiKam is closed. Opening digiKam part way through stops the writes within a second and the rest waits.
- Both libraries are fingerprinted per person, so a change belonging to one person is synced by looking at that person rather than at everything. The common case — one person named or corrected — goes from minutes to seconds. A change that cannot be pinned on exactly one person, and the daily sweep, still look at everyone.
Reviewing disagreements
- Conflicts are reviewed against the photo, with the face zoomed and every box drawn and labelled.
- HEIC and other formats the browser cannot draw are previewed through Nextcloud.
- Ask me is the default. Trust digiKam and Trust Memories rename the other library to match without asking, which suits a library with no history where most disagreements are simply one side being right. The same choice is offered as "Always use this library from now on" while reviewing.
- A face rejected by the model is shown with its source name and rectangle. The rectangle can be adjusted for a targeted retry, or the face kept in its source library; remembered one-sided faces are suppressed in later previews unless their source box changes.
The library check
- Before every sync, digiKam is checked for face boxes that cannot sync cleanly however often it is tried: a person tagged more than once in one photo, and a box drawn inside another person's. Left alone, these are proposed on every run and refused on every run, for ever.
- The check takes about 140 ms over 13,700 faces and never holds a sync up.
- Findings arrive in Needs attention with the photo and every box drawn on it. Boxes can be removed individually, ticked and removed or kept in a batch, or all removed at once for a photo the person is not in. Keeping a box is remembered and never asked again.
Writing safely
- Apply executes the list the preview saved, never a fresh comparison. A run's plan freezes once its journal exists; a decision made after that is carried by a follow-up run.
- Every action re-reads its target and refuses if the name, rectangle or file id has moved since the preview.
- A consistent copy of
digikam4.dbis made immediately before the first digiKam write that actually happens, using SQLite's backup API so committed write-ahead content is included. Backups live under the configuration directory inbackups/. - Each operation is recorded, so an interrupted Apply resumes without repeating completed changes, and continues past individual face failures rather than stopping.
Interface
- A browser interface of plain ES modules — no framework, no build step — covering first-run setup, a home screen, preview and conflict review, an explicit Apply step, a Needs attention inbox, settings and logs.
- Closing the browser does not stop anything. Notifications are raised in the page where possible, and through the desktop when no window is open.
- Settings files are versioned and upgraded in place on first load, with automatic sync left off so upgrading never starts changing libraries on its own.
Platform integration
- Start at login and application-menu shortcuts, with icons, on Linux, macOS and Windows.
- Whether digiKam is open is read from
/procon Linux and throughpsutilelsewhere; macOS and Windows need thedesktopextra to notice it at all. - Credentials are stored in the system keyring.
- Nextcloud can be reached over HTTP, over an SSH tunnel, or by connecting directly to its database — MariaDB/MySQL, PostgreSQL or SQLite, through the
databaseextra.
Command line
digimem runperforms a one-off sync, a preview unless--applyis given. The command line has no ledger, so it treats every disagreement as a conflict.digimem service --oncestarts up, does a single pass and exits, which is what a build check runs.- One service owns a configuration directory, held by an exclusive lock and published in
service.json. Starting a second prints the address of the running one and exits with status 3.
Nextcloud companion app
digikam_face_sync0.6.0, available from the Nextcloud App Store and installed separately from Recognize so a Recognize update cannot overwrite it. It creates detections Recognize is missing, reads named faces, and reports a change fingerprint and whether Recognize is busy.- Where the companion app is older than 0.5.0, change detection is left off and DigiMem falls back to its daily check.
- Requires Nextcloud 33 to 35 and PHP 8.2 or later.
Requirements
- Python 3.10 or later.
- digiKam with an SQLite database.
- Nextcloud 33 to 35 with Recognize installed and enabled, and the digiKam Face companion app.
📦 Installation
DigiMem needs two things installed: the desktop application, on the machine where digiKam lives, and the companion app on your Nextcloud server. Neither works without the other.
Linux
Debian, Ubuntu, Linux Mint
sudo apt install ./digimem_0.1.0_all.debFedora, RHEL, openSUSE
sudo dnf install ./digimem-0.1.0-1.noarch.rpmBoth packages use your distribution's own Python rather than bundling one, so they are small and work on any architecture. They need Python 3.10 or later.
Any distribution — AppImage
chmod +x DigiMem-0.1.0-x86_64.AppImage
./DigiMem-0.1.0-x86_64.AppImageThe AppImage carries its own Python and needs nothing installed. Then add DigiMem to your application menu and, if you want it, to your login items:
digimem shortcuts install
digimem autostart enablemacOS
- Open
DigiMem-0.1.0-arm64.dmgand drag DigiMem to Applications. - Launch it from Applications or Spotlight.
Apple Silicon only (M1 and later). There is no Intel build.
Windows
- Run
DigiMem-0.1.0-Setup.exe. - Windows SmartScreen will warn you that the publisher is unknown, because the installer is not code-signed. Choose More info, then Run anyway.
- The installer offers a desktop shortcut and a login item; both are optional and can be changed later from Settings.
DigiMem installs for the current user by default, so no administrator prompt appears.
Nextcloud — the companion app
Required on every platform. digikam_face_sync is installed separately from Recognize, so a Recognize update cannot overwrite it.
- Download
digikam_face_sync-0.6.0.tar.gzfrom this release. - Extract it into your Nextcloud
apps/(orcustom_apps/) directory. - Enable it:
sudo -u www-data php occ app:enable digikam_face_sync
It needs Nextcloud 33 to 35 and PHP 8.2 or later, with Recognize installed and enabled. Full instructions, including permissions and troubleshooting, are in docs/install-nextcloud-app.md.
⬆️ Upgrading
Install the new package over the old one; settings, the face ledger and the operation history are kept. Settings files are upgraded in place on first launch, with automatic sync left off, so an upgrade never starts changing your libraries on its own.
Upgrade the Nextcloud companion app whenever its version changes — DigiMem tells you on the connection screen if the server side is too old for a feature it wants.
🔒 Privacy
All data stays on your machine. No telemetry or data collection.
📚 Resources
- Getting started: README
- User guide: docs/index.md
- How the parts fit together: docs/architecture.md
- Installing the Nextcloud app: docs/install-nextcloud-app.md
- Automatic operation, in detail: phase2.md
- Full history: CHANGELOG.md
- Issues: GitHub Issues