Skip to content

nikazzio/scriptoria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

342 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Scriptoria

CI Docs Coverage Python 3.10+ Release MIT

Scriptoria β€” a research workbench for IIIF manuscripts.


Web Β scriptoria β†’ 127.0.0.1:8000  ·  CLI Β scriptoria-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
Tab What it does
Discovery Resolve URLs, IDs, shelfmarks. Search 10+ IIIF libraries.
Library Browse and manage your local manuscript collection.
Studio Document workspace β€” Mirador viewer, OCR transcription, page actions.
Output PDF 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

πŸ“˜ User Guide πŸ—οΈ Architecture
βš™οΈ Config Reference 🌐 HTTP Client
πŸ“– Wiki πŸ—‚οΈ All Docs

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 Β· MIT

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

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors