Skip to content

Triplet

Triplet is a IIIF server written in Go. It implements the IIIF Image API 3.0 and IIIF Presentation API 3.0.

All image processing is done by libvips through govips.

Quick start

docker run -p 8080:8080 ghcr.io/libops/triplet:main

Then try the bundled sample image:

curl http://localhost:8080/iiif/3/sample.png/info.json

Triplet needs a public base URL before generated IIIF identifiers are useful outside the container:

server:
  public_base_url: "${TRIPLET_PUBLIC_BASE_URL}"

sources:
  default: file
  file:
    root: ./testdata/images

iiif:
  image:
    enabled: true
    prefix: /iiif/3

Documentation

  • Configuration covers the YAML configuration surface.
  • Authorization explains authentication controls, source authorization, and HTTP source boundaries.
  • Caching explains Triplet's cache layers and invalidation behavior.
  • Format support lists source and response formats.
  • libvips build documents the runtime image feature surface.
  • Deploys covers deployment notes and Presentation storage migrations.
  • Conformance summarizes IIIF spec integration.
  • Benchmarks summarizes Triplet performance measurements.