Skip to main content

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 Photoprism server
  --baseapiurl BASEAPIURL
                        Base URL of the Photoprism 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

photoprism2immich-0.0.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

photoprism2immich-0.0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file photoprism2immich-0.0.2.tar.gz.

File metadata

  • Download URL: photoprism2immich-0.0.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

Hashes for photoprism2immich-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5a800dcf4881bdbd7844b51ec22ff3428ac20a9b09e4e7051c4597862f06dc78
MD5 4740fb9e0c9b85d332e7e83b98a2bcd7
BLAKE2b-256 efec6b1b5abed7cde43fe3428eab8347566489d30359fa9711b2fa7717aa81f0

See more details on using hashes here.

File details

Details for the file photoprism2immich-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for photoprism2immich-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ecd17a1f52e13f38ecfc285da8f989483ddf763fb6512ced8146d46d728e71b5
MD5 3a40f198ae73e5797179b0563221cb5e
BLAKE2b-256 0909ae69559c4bbbd834823f73f8f62d9a91abe1e84829eddfb6f036cb87cc29

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page