Converts RO-Crate metadata files into interactive Mermaid diagrams and opens them in your browser.
Warning
This is 100% vibe-coded slop because I needed this tool for a project.
npm installnpm run dev— original desktop helper with file picker support. Use this when you want to inspect any local RO-Crate JSON file.npm run dev:viewer— single-file viewer mode. The UI hides the file picker and always loads the shipped RO-Crate located atpublic/sample-ro-crate.json. This mirrors how GitHub Pages serves the site.
- Pushes to
mastertrigger.github/workflows/deploy.yml, which builds the Vite app and publishes the contents ofdist/to GitHub Pages. - The production build runs in single-file viewer mode automatically, so https://.github.io/lameta-rocrate-visualizer always visualizes the bundled
sample-ro-crate.jsonfile. - To ship a different crate, replace
public/sample-ro-crate.jsonand commit the new artifact before pushing.