A collection of my photography, published under the Creative Commons License.
Clone or download
Latest commit 0f429e0 Jan 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.scripts add metadata to images Sep 12, 2018
_albums Auto-commit: updated photos Sep 12, 2018
_images Auto-commit: updated photos Sep 12, 2018
_includes update footer; add dark theme Dec 23, 2018
_layouts fix relative links Dec 23, 2018
css @ 287d02f update css Jan 15, 2019
images Auto-commit: updated photos Sep 11, 2018
.gitmodules switch/update submodule branch Oct 24, 2018
LICENSE Create LICENSE Sep 10, 2018
README.md Update README.md Sep 12, 2018
_config.yml fix relative links Dec 23, 2018
index.html fix relative links Dec 23, 2018

README.md

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.

Setup

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.

Authentication

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.

Dependencies