{"id":13741031,"url":"https://github.com/ubleipzig/iiif-producer","last_synced_at":"2025-05-08T21:32:13.414Z","repository":{"id":34408345,"uuid":"108101992","full_name":"ubleipzig/iiif-producer","owner":"ubleipzig","description":"A CLI tool that generates IIIF Presentation 2.1 Manifests from METS/MODS","archived":false,"fork":false,"pushed_at":"2025-04-17T11:14:22.000Z","size":96036,"stargazers_count":23,"open_issues_count":1,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-18T01:46:22.293Z","etag":null,"topics":["iiif","java","json","xml"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ubleipzig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-10-24T08:58:42.000Z","updated_at":"2025-04-17T11:14:28.000Z","dependencies_parsed_at":"2024-12-12T09:29:05.533Z","dependency_job_id":"43cc5d40-6da3-43ea-8aab-94c8a5265cad","html_url":"https://github.com/ubleipzig/iiif-producer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubleipzig%2Fiiif-producer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubleipzig%2Fiiif-producer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubleipzig%2Fiiif-producer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubleipzig%2Fiiif-producer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ubleipzig","download_url":"https://codeload.github.com/ubleipzig/iiif-producer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253153163,"owners_count":21862318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["iiif","java","json","xml"],"created_at":"2024-08-03T04:00:54.675Z","updated_at":"2025-05-08T21:32:11.693Z","avatar_url":"https://github.com/ubleipzig.png","language":"Java","funding_links":[],"categories":["Presentation Manifest Tools"],"sub_categories":["Image viewers (Image API only)"],"readme":"## IIIF-Producer\n\n[![Build Status](https://travis-ci.org/ubleipzig/iiif-producer.png?branch=master)](https://travis-ci.org/ubleipzig/iiif-producer)\n[![codecov](https://codecov.io/gh/ubleipzig/iiif-producer/branch/master/graph/badge.svg)](https://codecov.io/gh/ubleipzig/iiif-producer)\n\nA CLI tool that generates IIIF Presentation API v2 and v3 Manifests from METS/MODS (produced by Kitodo)\n\n## Build\n\n`$ ./gradlew clean build`\n\n## Test\n\n`$ gradle test`\n\n## Install\n\n* find distribution archive in `producer/build/distributions`\n* extract archive\n\n```bash\n$ cd producer-{$version}\n$ chmod +x bin/producer\n```\n\n## Configuration\n\nSee `etc/producer-config.yml`\n\n## Usage\n\n```bash\nbin/producer -x xmlFile -o outputfile -v view_identifier -c configFile -f v2\n```\n\n| Argument     | Description                           | Example                 | Default                 |\n|--------------|---------------------------------------|---------------------------|-------------------------|\n| -x           | A METS/MODS xml file path             | /MS_187.xml               |                         |\n| -o           | An JSON-LD output file path           | /output.json              | /tmp/output.json       |\n| -v           | The name of the IIIF viewer identifer | 0004285964                |                         |\n| -c, --config | a yaml configuration File             | etc/producer-config.yml    | etc/producer-config.yml |\n| -f, --format | a Presentation API version format     | v2                        | v3                      |\n\n## Images\n\nThe images must already be present on the image server consistent the semantics of the service URL builder.\n\nExample: `https://iiif.ub.uni-leipzig.de/iiif/j2k/{$viewId[0-4]}/{$viewId[5-8]}/{$viewId[0-10]}/{imageIndex[0-8]}.jpx`\n\n## Java\n\n* This requires Java 8 or higher\n\n## Local Testing\n\nIf using IntelliJ, enable the built-in webserver (requires the PHP plugin).  See Preferences -\u003e Build,Execution,Deployment -\u003e Debugger.\n\nInstall Mirador 3 \n```\nnpm install mirador\n```\nStart Mirador\n```\nnpm start\n```\n\nAdd local manifest to catalogue e.g. \n`http://localhost:63342/iiif-producer/converter/src/test/resources/HSP.json`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubleipzig%2Fiiif-producer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fubleipzig%2Fiiif-producer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubleipzig%2Fiiif-producer/lists"}