An experimental repo that uses cantaloupe as a standalone IIIF server ontop of Internet Archive files.

The Demo

To run the containers:

docker-compose up -d

And now hit any image! For example, given a URL like: https://archive.org/download/goodytwoshoes00newyiala/goodytwoshoes00newyiala_jp2.zip/goodytwoshoes00newyiala_jp2/goodytwoshoes00newyiala_0001.jp2 , you can get it via cantaloupe using:

For IIIF version 3 just use the following URL:

i.e. start the URL off with /iiif/3/ rather than /iiif/2/

How it works

In the settings, all we needed was to change the HttpSource.BasicLookupStrategy.url_prefix to point to the Internet Archive.

HttpSource.BasicLookupStrategy.url_prefix = http://archive.org/download/

Cantaloupe has a number of options for caching, but we are using the file system cache. Redis is also an option.

References

This repo contains some Dockerfiles for setting up cantaloupe: https://github.com/MITLibraries/docker-cantaloupe