Skip to main content

Import photos from various sources to Immich

Project description

Immichporter

Immichporter

Google photos to immich importer helper

Documentation | PyPI


[!WARNING] Still in a early stage. At the moment only exporting from google photos is supported.

Immichporter exports google photos information into a database which can be used to import the information back into immich.

[!IMPORTANT] This tool does not download any images from google photos. It only exports the information into a database.

Use google takeout to export your google photos data and the immich-go tool to import the data into immich. After this you can use immichporter to create all albums and add people to shared albums.

Installation

Using uv (recommended):

uv add immichporter

Or with pip:

pip install immichporter

Usage

# Show help
immichporter --help

playwright install # might be required the first time

# login is required the first time, the session is saved
immichporter gphotos login

# add all albums to the database
immichporter gphotos albums

# add all photos for each album to the database
# it can run multiple times and only processes the not fully processed albums again
immichporter gphotos photos

# multiple runs might be needed until everything is correct,
# you can check with if every album is fully processed
immichporter db show-albums --not-finished

# edit/update users
immichporter db show-users
immichporter db edit-users # select which users should be added to immich

# see the database with https://sqlitebrowser.org
sqlitebrowser immichporter.db

TODO:

  • export albums with photos and people from gphotos (first version)
  • import to immich
  • improve documentation
  • imporve gphotos export stability

Development

To set up the development environment:

# Clone the repository
git clone https://github.com/burgdev/immichporter.git
cd immichporter

# Install development dependencies
make
uv run invoke install # install 'dev' and 'test' dependencies per default, use --all to install all dependencies

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

License

MIT - See LICENSE for details.

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

immichporter-0.0.2.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

immichporter-0.0.2-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: immichporter-0.0.2.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for immichporter-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bfb4b2d6b214b56cf2392166aa54df34422a26a7d6587b77dad209f54e1d5559
MD5 494c5d78203090aa43ca40e8f3e65255
BLAKE2b-256 fd1fdf2acf089e945a7d4b91552b57100535d2aa5fd390dd8b05684da2f302d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for immichporter-0.0.2.tar.gz:

Publisher: publish-pypi.yml on burgdev/immichporter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: immichporter-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for immichporter-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4a4a6c4e04237360b661cf985f59b2f49283702ab457bea8cb52bb832dd62846
MD5 ddec2a623d62fd288b921398fc776293
BLAKE2b-256 de319dcb397d3d9f03e6cad7a16a24ad84f3e23cf827684841b78a925156ae8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for immichporter-0.0.2-py3-none-any.whl:

Publisher: publish-pypi.yml on burgdev/immichporter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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