Automatically add people (faces) to an album and keep that album up-to-date.
50K+
Official docs in the repo: https://github.com/alangrainger/immich-person-to-album
Automatically add people (faces) to an album and keep that album up-to-date.
This allows you to share that automatic person album with another user (for example, a share album of your children).
You can arbitrarily add any face/person to any album. So you could make a "Family" album which contains all your family members and is automatically updated.
You can also use API keys from any number of Immich users, so the one Docker container can handle doing automatic albums for all your users.
Take a copy of the docker-compose.yml file.
There are two methods for specifying the config options:
config.json filedocker-compose.yml file, create a /data/ folder.data folder, put a copy of config.json.config.json file as required.Alternatively, you can add the configuration inline in your docker-compose.yml file like this:
services:
immich-person-to-album:
image: alangrainger/immich-person-to-album:latest
container_name: immich-person-to-album
restart: always
volumes:
- ./data:/data
environment:
CONFIG: |
{
"immichServer": "http://192.168.0.20:2283",
"schedule": "*/30 * * * *",
"users": [
{
"apiKey": "",
"personLinks": [
{
"description": "Photos of Joe",
"personId": "Joe's person ID",
"albumId": "Shared album ID"
}
]
}
]
}
asset.read and albumAsset.createPerson IDs:
Album IDs:
Thanks to https://github.com/ajb3932/immich-partner-sharing for the idea and for some of the readme text.
Content type
Image
Digest
sha256:c27c39ed4…
Size
64.4 MB
Last updated
about 1 year ago
docker pull alangrainger/immich-person-to-album