icloud-drive-docker:Dockerized iCloud驱动器

  • K9_606513
    了解作者
  • 34KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-06 20:25
    上传日期
iCloud驱动器泊坞窗 iCloud-drive-docker是Docker环境中的简单iCloud驱动器客户端。 它使用 python库与iCloud驱动器服务器进行交互。 iCloud-drive-docker的主要用例是使用您的iCloud用户名和密码定期同步所需的或所有iCloud驱动器内容。 安装 使用Docker Hub进行安装 docker run --name icloud-drive -v ${PWD}/drive:/app/drive mandarons/icloud-drive 使用docker-compose安装 version : " 3.4 " services : icloud-drive : image : mandarons/icloud-drive container_name : icloud-drive restar
icloud-drive-docker-main.zip
  • icloud-drive-docker-main
  • run-ci.sh
    229B
  • .dockerignore
    166B
  • pylintrc
    14.3KB
  • .github
  • workflows
  • dev-release-to-docker-hub.yml
    1.6KB
  • official-release-to-docker-hub.yml
    1.9KB
  • Coveragerc
    57B
  • src
  • sync.py
    6.3KB
  • main.py
    118B
  • config_parser.py
    2.8KB
  • __init__.py
    127B
  • constants.py
    294B
  • Dockerfile
    308B
  • requirements.txt
    104B
  • config.yaml
    436B
  • CREDITS
    1.3KB
  • .travis.yml
    307B
  • pytest.ini
    141B
  • LICENSE
    1.5KB
  • requirements-test.txt
    88B
  • README.md
    2.9KB
  • tests
  • test_sync.py
    18.9KB
  • __init__.py
    408B
  • data
  • test_config.yaml
    570B
  • __init__.py
    89.2KB
  • test_config_parser.py
    4KB
  • .gitignore
    1.8KB
内容介绍
# iCloud-drive-docker [![Build Status](https://travis-ci.org/mandarons/icloud-drive-docker.svg?branch=main)](https://travis-ci.org/mandarons/icloud-drive-docker) [![codecov](https://codecov.io/gh/mandarons/icloud-drive-docker/branch/main/graph/badge.svg)](https://codecov.io/gh/mandarons/icloud-drive-docker) [![Docker](https://badgen.net/docker/pulls/mandarons/icloud-drive)](https://hub.docker.com/r/mandarons/icloud-drive) [![Join the chat at https://gitter.im/mandarons/iCloud-drive-docker](https://badges.gitter.im/mandarons/iCloud-drive-docker.svg)](https://gitter.im/mandarons/iCloud-drive-docker?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) <a href="https://www.buymeacoffee.com/mandarons" target="_blank" rel='nofollow' onclick='return false;'><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 20px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a> iCloud-drive-docker is a simple iCloud drive client in Docker environment. It uses [pyiCloud](https://github.com/picklepete/pyicloud) python library to interact with iCloud drive server. Primary use case of iCloud-drive-docker is to periodically sync wanted or all of your iCloud drive contents, using your iCloud username and password. ## Installation ### Installation using Docker Hub ``` docker run --name icloud-drive -v ${PWD}/drive:/app/drive mandarons/icloud-drive ``` ### Installation using docker-compose ```yaml version: "3.4" services: icloud-drive: image: mandarons/icloud-drive container_name: icloud-drive restart: unless-stopped volumes: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - ${PWD}/icloud-drive/config.yaml:/app/config.yaml - ${PWD}/icloud-drive/drive:/app/drive ``` ### Authentication (required after container creation) ``` docker exec -it icloud-drive /bin/sh -c "icloud --username=<icloud-username>" ``` Follow the steps to authenticate. ## Sample Configuration File ```yaml credentials: # iCloud drive username: required username: username@domain.com # iCloud drive password: optional password: settings: # Auto-sync interval in seconds: optional, default: 1800 sync_interval: 1800 # Destination to sync: required destination: './drive' # Flag if remove files/folders that are present locally but not on iCloud server: optional, default: false remove_obsolete: false # Verbosity of messages: optional, default: false verbose: false filters: # Paths to be 'included' in syncing iCloud drive content folders: - Documents file_extensions: # File extensions to be included in syncing iCloud drive content - pdf - png - jpg - jpeg ``` ***Note: On every sync, this client iterates all the files and folders. Depending on number of files in your iCloud drive, syncing can take longer.***
评论
    相关推荐