| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a simple server that generates IIIF Presentation API V3 manifests for images hosted on an IIIF Image API V3 server. For more details on the IIIF Presentation API V3, please refer to the official documentation.
docker build -t iiif-presentation-api-server .# This assumes that an IIIF Image API V3 server is running on the host machine at port 8182
docker run -p 8002:8000 --env IIIF_IMAGE_API_SERVER_URL=http://host.docker.internal:8182/iiif/3 iiif-presentation-api-serverAfter starting the server, the API documentation will be available at http://localhost:8002/docs.
This assumes that a file with name CATS_MM14_C_F1_XPL-big.tif is available in the IIIF Image API server.
curl -X 'GET' \
'http://localhost:8002/api/v1/manifests/CATS_MM14_C_F1_XPL-big.tif/manifest.json' \
-H 'accept: application/json'curl -X 'GET' \
'http://localhost:8002/api/v1/ok' \
-H 'accept: application/json'python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txtexport PYTHONPATH=$PWD/app
python -m uvicorn app.main:app --reload --port 8002| Back | FazBrowse Home | New Git URL |