This website is a collection of a few of the pictures that I have taken over the past few years. All images are published under the Creative Commons Attribution Share Alike 4.0 license. In other words, they can be used for (mostly) whatever you want, provided you give me credit and don’t try to claim ownership of them.
This website is appropriately built with Jekyll. Photo data is obviously stored in
/_photos, and image data in
/_images. I use a script stored in
/.scripts that updates all of the photo and image data with information from the Flickr API.
The Magical Script of Wizardry
The script has two parts:
update.sh (responsible for pulling changes, installing NPM packages, running the NodeJS script, and pushing the modifications to GitHub when it is complete) and
update.js (handles authentication and fetches/parses data from the API). The
_uid variable specifies the Flickr user id to fetch albums from.
The script currently looks for an application key and secret in the
~/keys/imgur/ directory of the user that is running it. In order to obtain a key/secret, you must register an application here. Upon the first successful run of the script, it will prompt you to authorize it to fetch information from your Flickr account. Once complete, the returned API token and token secret are also stored in this directory.