Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glenrobson/sync-workbench
Sync iiif-workbench with s3 to provide a full IIIF service
https://github.com/glenrobson/sync-workbench
Last synced: 20 days ago
JSON representation
Sync iiif-workbench with s3 to provide a full IIIF service
- Host: GitHub
- URL: https://github.com/glenrobson/sync-workbench
- Owner: glenrobson
- License: mit
- Created: 2024-11-25T13:58:11.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-26T17:21:44.000Z (29 days ago)
- Last Synced: 2024-11-26T18:23:49.234Z (29 days ago)
- Language: Python
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sync Workbench images with s3
This project downloads a list of images held in a [IIIF Workbench](https://workbench.gdmrdigital.com/), converts them to Pyramid tiff and uploads them to S3 for access by [serverless iiif](https://samvera.github.io/serverless-iiif/).
```
usage: main.py [-h] [--image-path IMAGE_PATH] [--webpage-path WEBPAGE_PATH] [--repo-list REPO_LIST] [--webpage-url WEBPAGE_URL] image_bucket webpage_bucket cloudfrontUpload Github workbench images to s3
positional arguments:
image_bucket Bucket for storing ptif files
webpage_bucket Bucket for storing html pages
cloudfront Distribution ID for Cloudfront instanceoptions:
-h, --help show this help message and exit
--image-path IMAGE_PATH
location for storing the images
--webpage-path WEBPAGE_PATH
location for storing the images
--repo-list REPO_LIST
Text file containing user/repo for each workbench project
--webpage-url WEBPAGE_URL
Base URL to webpage files
```The Repo list is a text file that looks like the following:
```
github_user/githup_repo
iiif-test/test2
iiif-test/Places
```