Skip to content

Instantly share code, notes, and snippets.

@benfoley
Last active December 17, 2025 04:49
Show Gist options
  • Select an option

  • Save benfoley/0c0281cad2bcd2a196b925a6b4e9a9a4 to your computer and use it in GitHub Desktop.

Select an option

Save benfoley/0c0281cad2bcd2a196b925a6b4e9a9a4 to your computer and use it in GitHub Desktop.
ro-crate-html-lite steps

Preparation

Build

  1. Convert bird spreadsheet to JSON
  1. Copy JSON to html-lite test_data, run the node script. Options are to make multiple pages, or can just do single page node index.js -m test_data/thipe-ayeye/thipe-ayeye-config.json test_data/thipe-ayeye/data

  2. Copy preview files to git repo

  • Make new repo if needed, visibility public
  • Go to Settings > Pages, Select main branch as the source, Save
  • Upload files, commit
  • Wait a moment, then browse to e.g. https://benfoley.github.io/test-site/

Crate-o makes a html file named 'ro-crate-preview.html'. make a new index.html page that redirects to the preview page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment