Internet Archive IIIF Image 2.0 Server
Branch: master
Clone or download
mekarpeles Merge pull request #28 from ArchiveLabs/refactor/docker
Tracey and Mek added a Dockerfile, hooray!
Latest commit 30f3886 May 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
iiify whitespace Apr 20, 2018
.gitignore
CHANGES migrating iiify to ia-iiif Aug 31, 2015
Dockerfile we added rainbows, they work Apr 20, 2018
LICENSE migrating iiify to ia-iiif Aug 31, 2015
README.md Update README.md Dec 9, 2015
requirements.txt we added rainbows, they work Apr 20, 2018
setup.py patch to fix install Mar 17, 2017

README.md

iiify

A simple Python Flask-based implementation of the IIIF Image API 1.0 standard

Notes

  • This started as a toy project to learn the IIIF API, so it is not necessarily ready for production, but may be some day.
  • It was also an opportunity to learn Flask, a micro-framework. I consciously chose to avoid adding too many abstractions, and attempted to stick to procedural code as much as possible.
  • It has a simple on-disk cache scheme, but no cache management.
    • If you want to delete the cache, purge the contents of the cache directory.
    • Cache does not currently check timestamps.
    • Cache can't be disabled yet.
  • It was a lot of fun, and does work, but is missing a lot of optimizations.
  • There are several sample files in the media directory - all but one are courtesy of the Getty's Open Content Program.

Installation & Setup

git clone https://github.com/ArchiveLabs/iiif.archivelab.org.git
cd iiif.archivelab.org
pip install .
cd iiify
python app.py

Navigate to http://127.0.0.1:8080

Test it!

Retrieve large.jpg as 800px wide JPEG

Crop into large.jpg and return 800px wide JPEG

Mirror large.jpg horizontally and return 800px wide JPEG

For more information, read the specification at http://iiif.io/technical-details.html