-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add experimental npm distribution (#635)
- Loading branch information
1 parent
6636e8d
commit 7aaa3ff
Showing
20 changed files
with
239 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# iCloud Photos Downloader [![Quality Checks](https://github.com/icloud-photos-downloader/icloud_photos_downloader/workflows/Quality%20Checks/badge.svg)](https://github.com/icloud-photos-downloader/icloud_photos_downloader/actions/workflows/quality-checks.yml) [![Multi Platform Docker Build](https://github.com/icloud-photos-downloader/icloud_photos_downloader/workflows/Docker%20Build/badge.svg)](https://github.com/icloud-photos-downloader/icloud_photos_downloader/actions/workflows/docker-build.yml) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.md) | ||
|
||
A command-line tool to download all your iCloud photos. | ||
|
||
## [EXPERIMENTAL] Install, Run, and Use | ||
|
||
``` sh | ||
npx icloudpd --directory /data --username [email protected] --watch-with-interval 3600 | ||
``` | ||
|
||
Synchronization logic can be adjusted with command-line parameters. Run the following to get full list: | ||
|
||
``` sh | ||
npx icloudpd --help | ||
``` | ||
|
||
## Getting Node and Npm | ||
|
||
You can get NodeJS with accompanying Npm from [Official site](https://nodejs.org/en/download). | ||
|
||
## More | ||
|
||
See [Project page](https://github.com/icloud-photos-downloader/icloud_photos_downloader/) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# icloudpd | ||
|
||
The macOS 64-bit binary for icloudpd, a iCloud Photo Downloader. See https://github.com/icloud_photo_downloader/icloud_photo_downloader for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "@icloudpd/darwin-x64", | ||
"version": "1.13.0", | ||
"description": "The macOS 64-bit binary for icloudpd, a iCloud Photo Downloader.", | ||
"repository": "https://github.com/icloud_photo_downloader/icloud_photo_downloader", | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=12" | ||
}, | ||
"preferUnplugged": true, | ||
"os": [ | ||
"darwin" | ||
], | ||
"cpu": [ | ||
"x64" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# icloudpd | ||
|
||
The Linux 64-bit binary for icloudpd, a iCloud Photo Downloader. See https://github.com/icloud_photo_downloader/icloud_photo_downloader for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "@icloudpd/linux-x64", | ||
"version": "1.13.0", | ||
"description": "The Linux 64-bit binary for icloudpd, a iCloud Photo Downloader.", | ||
"repository": "https://github.com/icloud_photo_downloader/icloud_photo_downloader", | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=12" | ||
}, | ||
"preferUnplugged": true, | ||
"os": [ | ||
"linux" | ||
], | ||
"cpu": [ | ||
"x64" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# icloudpd | ||
|
||
The Windows 64-bit binary for icloudpd, a iCloud Photo Downloader. See https://github.com/icloud_photo_downloader/icloud_photo_downloader for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "@icloudpd/win32-x64", | ||
"version": "1.13.0", | ||
"description": "The Windows 64-bit binary for icloudpd, a iCloud Photo Downloader.", | ||
"repository": "https://github.com/icloud_photo_downloader/icloud_photo_downloader", | ||
"license": "MIT", | ||
"preferUnplugged": true, | ||
"engines": { | ||
"node": ">=12" | ||
}, | ||
"os": [ | ||
"win32" | ||
], | ||
"cpu": [ | ||
"x64" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# icloudpd | ||
|
||
iCloud Photo Downloader. See https://github.com/icloud_photo_downloader/icloud_photo_downloader for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env node | ||
"use strict"; | ||
var os = require("os"); | ||
var platformKey = `${process.platform} ${os.arch()} ${os.endianness()}`; | ||
var knownPlatforms = { | ||
"linux x64 LE": { | ||
"pkgName": "@icloudpd/linux-x64", | ||
"subPath": "bin/icloudpd" | ||
}, | ||
"darwin x64 LE": { | ||
"pkgName": "@icloudpd/darwin-x64", | ||
"subPath": "bin/icloudpd" | ||
}, | ||
"win32 x64 LE": { | ||
"pkgName": "@icloudpd/win32-x64", | ||
"subPath": "bin/icloudpd.exe" | ||
} | ||
}; | ||
if (platformKey in knownPlatforms) { | ||
var { pkgName, subPath } = knownPlatforms[platformKey]; | ||
var binPath = require.resolve(`${pkgName}/${subPath}`); | ||
require("child_process").execFileSync(binPath, process.argv.slice(2), { stdio: "inherit" }); | ||
} else { | ||
throw new Error(`Unsupported platform: ${platformKey}`); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "icloudpd", | ||
"version": "1.13.0", | ||
"description": "iCloud Photo Downloader", | ||
"engines": { | ||
"node": ">=12" | ||
}, | ||
"bin": { | ||
"icloudpd": "bin/icloudpd.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/icloud_photos_downloader/icloud_photos_downloader.git" | ||
}, | ||
"keywords": [ | ||
"icloud", | ||
"photo" | ||
], | ||
"author": "The iCloud Photo Downloader Authors", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/icloud_photos_downloader/icloud_photos_downloader/issues" | ||
}, | ||
"homepage": "https://github.com/icloud_photos_downloader/icloud_photos_downloader#readme", | ||
"optionalDependencies": { | ||
"@icloudpd/linux-x64": "1.13.0", | ||
"@icloudpd/win32-x64": "1.13.0", | ||
"@icloudpd/darwin-x64": "1.13.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters