https://github.com/samwilson/phpflickr-cli
A Flickr command-line interface, written in PHP.
https://github.com/samwilson/phpflickr-cli
cli-app downloader exporter flickr flickr-api uploader
Last synced: 9 months ago
JSON representation
A Flickr command-line interface, written in PHP.
- Host: GitHub
- URL: https://github.com/samwilson/phpflickr-cli
- Owner: samwilson
- License: gpl-3.0
- Created: 2016-11-15T07:36:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-18T07:39:09.000Z (over 1 year ago)
- Last Synced: 2025-07-11T15:32:57.913Z (10 months ago)
- Topics: cli-app, downloader, exporter, flickr, flickr-api, uploader
- Language: PHP
- Homepage: https://packagist.org/packages/samwilson/phpflickr-cli
- Size: 225 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
PhpFlickr CLI
=============
This is a command-line interface (CLI) to Flickr, written in PHP, using the [samwilson/phpflickr](https://github.com/samwilson/phpflickr) library.
[](https://travis-ci.org/samwilson/phpflickr-cli)
Features:
* Upload photos.
* Download photos by album or user.
* Add checksum machine tags (MD5 or SHA1).
* Internationalization.
## Installation
Get the code and install dependencies:
git clone https://github.com/samwilson/phpflickr-cli
cd phpflickr-cli
composer install --no-dev
Run the app:
./phpflickr-cli --help
## Upgrading
cd /path/to/phpflickr-cli
git pull origin master
composer install --no-dev
## Authorization
Just run `phpflickr-cli auth` and follow the prompts.
This will create a `config.yml` file containing your access codes; keep it safe.
## Downloading
To download photos, specify where you want them to end up and a template:
./phpflickr-cli download --dest= --template=
Download templates are sets of Twig template files,
one for each of the following purposes:
each photo;
the path to each photo;
and all photos (ordered by the path).
Have a look at the included templates for more ideas on what they can do.
## Checksums
Add MD5 or SHA1 checksum machine tags to images:
./phpflickr-cli checksums --help
Requires authorization.
## Kudos
* Thanks to inspiration from [TheFox's flickr-cli](https://github.com/TheFox/flickr-cli).
## License
`GPL-3.0-or-later`
Copyright 2018 Sam Wilson. See [LICENSE.txt](LICENSE.txt) for details.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/