Skip to content

rikmeijer/googlephotos2nextcloud

Repository files navigation

Requires Nextcloud Photos app to be installed, because of albums.

Replace NEXTCLOUD_URL with the following: https://<USER>:<APP_PASSWORD>@nextcloud.example.org/Photos
--> /Photos can be any path in Nextcloud to import photos to

# Run from command line (in /path/to/Takout/Google Photos, where photo directories and jsons are residing)
```.env
NEXTCLOUD_URL=<NEXTCLOUD_URL>
```
```
php gp2nc.php 
```

# Run with docker

```
docker build . -t gp2nc
docker run --rm -v "/path/to/Takeout/Google Photos":/photos gp2nc -e NEXTLCOUD_URL=<NEXTCLOUD_URL>
```
or use ready2use image (auto-build)
```
docker run --rm -v "/path/to/Takeout/Google Photos":/photos ghcr.io/rikmeijer/googlephotos2nextcloud:latest  -e NEXTLCOUD_URL=<NEXTCLOUD_URL>
```

# If you like this tool

Donations are welcome: [Lightning](https://getalby.com/p/rik0) • [PayPal](https://www.paypal.com/donate/?hosted_button_id=B3WRGUUNZVDCL)

About

Tool to import Google Photos Takeout into Nextcloud

Resources

License

Stars

Watchers

Forks

Packages