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

Uploaded Source

Built Distribution

photoprism2immich-0.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: photoprism2immich-0.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.tar.gz
Algorithm Hash digest
SHA256 6bfd81867f94940cea23fb5d369ff57a48ee957a85c777eacec68f57553d7380
MD5 4fcfc9596a77bcb1f96f5c1598f9d95f
BLAKE2b-256 b4b5c2ee9c7ee3462031d5ea38fd2c3ae9f3f4d4485201e2be56ea1bb3a78f1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for photoprism2immich-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3109f3a27f4a0377692978539619497cee0d876f7fee6b3734a6828871add81c
MD5 c38b3d03d5d3dec3676ddac6da6c266e
BLAKE2b-256 ede657dfc0a132207ca55ec796e9c6fb87ea31e83a42836991225292c527d2e5

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