Overview

I created a sample repository for using clover-iiif with Next.js, so here are my notes.

https://clover-iiif-demo.vercel.app/

Background

clover-iiif is described as follows.

https://github.com/samvera-labs/clover-iiif

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.

We will use this with Next.js.

Data

“Koui Genji Monogatari (held by the National Diet Library)” is used as sample data.

https://dl.ndl.go.jp/pid/3437686

Repository

It is published at the following link.

https://github.com/nakamura196/clover-iiif-demo

I referenced the following.

https://samvera-labs.github.io/clover-iiif/docs/composing

For client-side execution, the following workaround was necessary.

"iiic)c}c}eummmo;o;o;xspppn{nccr)nr)peoooDssooe;se;orrrytstnnt<tt<rctttn=sssua/uS/tlaV>rWttrr<aWru<SiRd{mi:ontVronsWudeeyieirsmiitrposenanucwmfkea(ceik(erpftcasaepaCanlwcnkea"tmelrolorieel=sCnu;,iSlrsncf>reeoslcey=tethe>net{a(ePsift>frid"}natiaeWSrcmy@trIi=lnouohpnsadf>ltrsmPoaa=mCbkparmms=o{a;e"rtivncnnace=stksemt(ree=exsha=uan{te/>srt<}/}cec=ddVl{Sh{ifyfioePmvrnrevaaa>oaowerrnLmmmercaioir-hmfa"c"iPsedr"ncia.sie;eoirgtnaxmfaeIgctp/mtd.t/ovs(}."nni('.;aee)m<vnw;a/itendgriia("fvtd)e>ii,s}ost>na'"b);leSS"Rh)ttps://dl.ndl.go.jp/api/iiif/3437686/manifest.json";

Summary

There may be some incomplete aspects, but I hope this serves as a helpful reference.