Giter Club home page Giter Club logo

icloud_photo_station's Introduction

iCloud Photos Downloader for DSM

Helper scripts to repackage iCloud Photos Downloader Python library as a Synology DSM package for easy installation throught Package Station.

Installation to Synology DSM

Ready made package is available:

  • icloudpd-1.17.3 icloud_photo_station-0.4.1.spk

  • Or follow instructions below how to package SPK yourself from code with the latest available icloudpd library

    # Clone the repo somewhere
    git clone https://github.com/skarppi/icloud_photo_station.git
    cd icloud_photo_station

    # Create a SPK installation package containing virtualenv, python scripts and all necessary dependencies.
    cd spk
    sh build.sh

Manually install the spk in your DSM Package Station. After installation is complete you can set up User-defined script into Task Scheduler and set up scheduling. Notification emails for script output are handy to get notified when two-factor authentication has expired.

    # temporary fix for permissions denied errors
    # https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/764
    sudo mount /tmp -o remount,exec

    source /volume1/@appstore/icloud_photo_station/env/bin/activate
    icloudpd \
        --username '<YOUR ICLOUD USERNAME>' \
        --password '<YOUR ICLOUD PASSWORD>' \
        --auto-delete \
        --until-found 10 \
        --directory ./output/

If your iCloud account has two-factor authentication enabled, SSH to Synology box and run the script manually first time in order to input the verification code. This step needs to be repeated every once in a while when the authentication expires.

Everything else

For more documentation, issues, or bugs go to https://github.com/icloud-photos-downloader/icloud_photos_downloader

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.