Skip to content

Latest commit

History

350 Commits

Folders and files

NameName
Last commit message
Last commit date

Scriptoria

CIDocsCoveragePython 3.10+ReleaseGPL-3.0-or-later

Scriptoria — a research workbench for IIIF manuscripts.


Webscriptoria127.0.0.1:8000 · CLIscriptoria-cli "<manifest-url>"

Quickstart

git clone https://github.com/nikazzio/scriptoria.git
cd scriptoria
python3 -m venv .venv &&source .venv/bin/activate
pip install -e .
scriptoria

How It Works

flowchart LR
A[🔍 Discovery] --> B[📚 Library]
B --> C[📖 Studio]
C --> D[📤 Output]
A -. search/resolve .-> R[(Provider Registry)]
B -. local assets .-> V[(Vault)]
C -. manifests .-> V
D -. export jobs .-> V
Loading
TabWhat it does
DiscoveryResolve URLs, IDs, shelfmarks. Search 10+ IIIF libraries.
LibraryBrowse and manage your local manuscript collection.
StudioDocument workspace — Mirador viewer, OCR transcription, page actions.
OutputPDF inventory, thumbnail-level actions, export job queue.

Key Features

  • 10+ IIIF providers — Vatican, Gallica, Harvard, Bodleian, Heidelberg, LoC, Archive.org, Cambridge, e-codices, Institut
  • Provider registry — shared resolution for web UI and CLI
  • PDF export profiles — local and remote high-res modes with quality presets
  • Centralized HTTP — retries, exponential backoff, per-library network policies
  • Local-first workflow — reproducible storage, no cloud dependencies

CLI

scriptoria-cli "https://digi.vatlib.it/iiif/MSS_Urb.lat.1779/manifest.json"

Any IIIF-compliant manifest URL works directly.

Documentation

🗂️ Docs Home🚀 Getting Started
🏗️ Architecture⚙️ Config Overview
💻 CLI Reference📖 Wiki

Development

pytest tests/ # tests
ruff check . --fix # lint
ruff format .# format
ruff check . --select C901 # complexity

Troubleshooting

scriptoria: command not found
source .venv/bin/activate && pip install -e .
ruff: command not found
source .venv/bin/activate && pip install -r requirements-dev.txt
Port 8000 already in use

Stop the conflicting process and restart scriptoria.

Studio opens without a document

Expected. Open an item from Library, or use the recent-work hub at /studio.


Built for manuscript-heavy research workflows · GPL-3.0-or-later

About

Modular tool for Digital Humanities: IIIF downloader + Studio environment. Supports PDF import, hybrid OCR/HTR, side-by-side manual correction, and global library search. 🛠️📜

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages