Tool to migrate Photoprism library to Immich
Project description
photoprism2immich
photoprism2immich
is a tool to migrate medial libraries from Photoprism to Immich.
The tools scan the original photoprism files folders and upload all the images and videos on Immich using API calls.
It has a built-in feature for skipping already uploaded files in case something goes wrong during upload, avoiding duplicates.
Usage
(photoprism-env) root@localhost:/photoprism2immich# photoprism2immich -h
usage: photoprism2immich [-h] --apikey APIKEY --baseapiurl BASEAPIURL --originals ORIGINALS [-l LOG] [-v]
Tool to migrate Photoprism library to Immich.
options:
-h, --help show this help message and exit
--apikey APIKEY API key for Immich server
--baseapiurl BASEAPIURL
Base URL of the Immich server
--originals ORIGINALS
Path to the originals folder
-l LOG, --log LOG Path to the log file
-v, --version show program's version number and exit
Installation
pip install photoprism2immich
Example command:
photoprism2immich --apikey "aaaaaaaaaaaaaa" --baseapiurl "http://192.168.1.5:2283/api" --originals "/photoprism-originals"
Build yourself
Clone the repo
git clone https://github.com/giuliolibrando/photoprism2immich.git
enter into the folder
cd photoprism2immich
source the virtualenv
source photoprism-env/bin/activate
install via pip
pip install .
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file photoprism2immich-0.1.2.tar.gz
.
File metadata
- Download URL: photoprism2immich-0.1.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cec61e33d5106c8e110284a3fec4e766d50cfc18593e7adb9307c0b85ce028b4 |
|
MD5 | a3914209dcf1b10ca975c5320de5c0be |
|
BLAKE2b-256 | 4f3d3eac2eb05cb2c0ec236de3314a60db620cf864123560cb50efcaf94f70c7 |
File details
Details for the file photoprism2immich-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: photoprism2immich-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb874a0e9f474de1ae4fe7877c11a9e1bfb59ec6bc6db6e1a89203bfd45f2636 |
|
MD5 | 21d5cd499bdb59de3546b891010787a3 |
|
BLAKE2b-256 | a2c42b405678995475d4668624e99e8bebe0c0119bfe6e0f86e70680542275b1 |