Diva.js
:books: IIIF-compatible document image viewer
Install / Use
/learn @DDMAL/Diva.jsREADME
Diva.js
Version 7.2.2
Build
make build
Run
python3 -m http.server 8000
Open http://localhost:8000 in a browser.
Notes
- Build output is a single
build/diva.jsbundle (Elm + TS) plus the OpenSeadragon CDN script. A debug build is available asbuild/diva.debug.js. - Initialize the viewer in
public/index.htmlwithnew Diva("diva-wrapper", { objectData, acceptHeaders }). src/viewer-element.tsdefines theosd-viewercustom element used by the Elm view.src/diva.tsowns the Elm ports and the filter preview OpenSeadragon instance.make cleanremoves generated artifacts inbuild/andpublic/.
Related Skills
node-connect
341.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
84.4kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
review-duplication
99.5kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
