All tags

TAG

#vdiff

3articles

🛠Aligning vdiff.js Default Mode and UI with the Site Design — Swapping the Default with a One-Byte Patch

A record of customizing a temporarily mirrored vdiff.js from the outside to match the design of other pages on the same site. Switching the default comparison mode to 'side-by-side slider' via JavaScript radio-button clicks conflicted with vdiff's initialization timing, so the fix ultimately came down to a one-byte patch on the minified bundle. Also covers the layout approach for keeping the footer on-screen while clipping the image, plus the CSS setup for ja/en language switching and dark mode.

vdiffcodhjquery-uiui-customization

🪞Setting up a dedicated GitHub Pages repository for a temporary CODH-tool mirror — including the missing kuromoji dictionary in Soan

While the ROIS-DS Center for Open Data in the Humanities (CODH) website is down for long-term maintenance (notice issued 2026-02-24, no announced reopen date), I restored several CODH tools (vdiff.js / IIIF Curation Viewer / Soan / etc.) from the Wayback Machine and similar sources and published them as a standalone GitHub Pages repository (codh-mirror). This post covers the setup procedure and the gotchas I hit (notably the missing kuromoji dictionary for Soan). Strictly a temporary measure until CODH service resumes.

codhiiifvdiffsoan

🪞Restoring CODH's vdiff.js from the Wayback Machine to Temporarily Bring Back The Tale of Genji's Face Comparison Feature

The website of the ROIS-DS Center for Open Data in the Humanities (CODH) is currently down for long-term maintenance (notice issued 2026-02-24, no announced reopen date), which broke the 'patapata face comparison' feature on Digital Tale of Genji that called CODH's vdiff.js directly. As a stop-gap until CODH comes back, I pulled the vdiff.js distribution out of the Wayback Machine and self-hosted a mirror. This post records the procedure. Strictly a temporary measure until CODH service resumes.

codhvdiffwayback-machinearchive