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.1.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: photoprism2immich-0.1.1.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.1.1.tar.gz
Algorithm Hash digest
SHA256 bdec1a9dfeae0ada57f86c1d36a47bc6e22b3f8de1f86f78588424ea3702dcbd
MD5 8c49d64ffaeafe1a8ca242e0ea9e6c4c
BLAKE2b-256 91f6b7385c832022ae24b894d9f79fa2e74e2e2939044b78f1c199562c7546ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for photoprism2immich-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa08cf0dd0651c90e59b67354af995bcc853d8dd1668d8fd1a12c07ee4f3faf1
MD5 f83a3998da83dafc031bf3f64f8bd986
BLAKE2b-256 c92e9b34db95420c4722657b6dea48a8dafb57b62d8fc8e1e043c48638367275

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