nginx-js script for serving an ocfl repository with a solr index.
conf.d/ocfl.conf
js/ocfl.js
assets/ocfl.css
Dockerfile
docker-compose.yml
Requires nginx with the njs JavaScript extension installed.
Components: a solr container and an nginx-ocfl container.
Put a proper test framework around versioning.
Expose versions to the web using a protocol such as memento
A variant which uses the same javascript but in a node.js/express app rather than an nginx