https://github.com/samwilson/flickr-latex
On Ubuntu, you can install these with:
sudo apt install php composer texlive-latex-extra
- Clone from Github:
git clone https://github.com/samwilson/flickr-latex
and thencd flickr-latex
- Run
composer install
(this will createconfig.php
) - Add your API key and secret to
config.php
(you can get these by registering a new app in the App Garden)
- Run
./download.php
to get the photos and build the LaTeX source - Then run
./typeset.sh
to compile the LaTeX source and produce the PDFs
The PDFs will be stored in /data/albums/<album-id>/
.
The first time you run download.php
it will prompt you to open a URL
and authorize the application. Your authorization credentials will be
stored in data/credentials.txt
so that next time the script will be
able to run without any interaction (e.g. as a cronjob).
If you have any feedback about issues, feature requests, etc. please report them via https://github.com/samwilson/flickr-latex/issues
Copyright © 2016 Sam Wilson
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 http://www.gnu.org/licenses/.