Use CollectionBuilder for lightweight collection-centred static sites

implementation

Part of Static website patterns

A research project has created or is creating a collection dataset which they want to share online with a variety of navigation and visualisation options.

Applies when

  • The dataset is a collection of metadata records and associated assets that can be managed in a spreadsheet and there is some technical expertise to configure CollectionBuilder.

Summary

This pattern is a specific implementation of the architectural pattern Collection-centred static websites and describes how CollectionBuilder can be used to generate static websites from collection data.

Recommendation Why?
Use CollectionBuilder to make websites for collections which can be represented as a spreadsheet of metadata, optionally with associated files To get all the sustainability and cost benefits of the Static websites pattern and:
  • Low-resource requirements to publish collection datasets.
  • Outputs that can be archived for the long term in standard archival repository services.
  • Well-established metadata description and publication practices.
  • Multiple navigation and visualisation options with minimal configuration.
  • A well-documented solution with options for customisation.
  • A widely-used static-site generation framework (Jekyll) making it easy to source engineering and site design resources

From the CollectionBuilder site:

CollectionBuilder is an open source framework for creating digital collection and exhibit websites that are driven by metadata and powered by modern static web technology. https://collectionbuilder.github.io/

Screenshot from the CollectionBuilder website of a metadata spreadsheet with columns such as Title, Photographer, and Date
Screenshot from the CollectionBuilder website of a metadata spreadsheet with columns such as Title, Photographer, and Date

CollectionBuilder allows content curators to use tabular data files, such as spreadsheets or CSV, to describe other files such as documents, or photographs in a collection, and build a website for the collection.

Architecture diagram for CollectionBuilder
Architecture diagram for CollectionBuilder

CollectionBuilder is well documented and is based on the Jekyll static website generator, which is widely used and is what GitHub Pages builds by default, so Jekyll skills are common.

Context

This pattern applies in the same contexts as the architectural pattern Collection-centred static websites. The data that needs to be presented consists of item records described in a spreadsheet or CSV file with associated images or objects.

CollectionBuilder has three distinct versions with different levels of customisation and complexity:

  • CollectionBuilder-Sheets only requires the upload of a CSV file containing collection metadata and is well-suited to training contexts.
  • CollectionBuilder-GH provides more options for customisation and can be managed and deployed through the GitHub web interface. It is most suited to experimentation, training, or demonstration projects.
  • CollectionBuilder-CSV is the most actively developed branch, and provides many more options for customisation, but requires a local development environment and more advanced technical skills. CollectionBuilder-CSV is most suited to research projects and large, public-facing sites.

GitHub templates are provided to bootstrap site creation. There are documented pathways for migrating collections from CollectionBuilder-Sheets and CollectionBuilder-GH to CollectionBuilder-CSV, allowing projects to experiment and evolve.

CollectionBuilder-CSV requires a local development environment with Ruby and Jekyll installed. ImageMagick and Ghostscript are also needed if creating derivative images.

CollectionBuilder offers no online interface for managing collections and contributors. This limits opportunities for collaboration and community participation. However, you can use GitHub, or another version control system, to share development of a site and manage contributions.

By default, CollectionBuilder uses a limited set of metadata fields based on Dublin Core. This schema can be modified to add or remove fields as required. A small number of fields are mandatory for the display, navigation, and visualisation tools to function correctly.

CollectionBuilder’s metadata framework might constrain the design of projects, in particular:

  • The metadata model is essentially flat. The only way to define relationships between items is to create simple parent-child links by adding a parentid field and using the multiple and compound_object templates to display the grouped items.

  • All the items in a collection share the same metadata schema, so there is no way to define specific classes of things with their own metadata fields. This might cause problems if, for example, you wanted to include records for different types of entities such as people or places. It should be possible to work around this by customising item templates to display certain fields or headings based on the item type or format.

CollectionBuilder-CSV can be customised at a number of different levels. YAML and CSV configuration files control basic functionality, includes and add ons can be used to change the display of items, and the page templates can be edited as with any Jekyll site.

Objects associated with items, such as images and PDFs, do not have to be stored with the site. This gives the flexibility to use images from existing repositories or IIIF services, as well as dedicated object storage. However, using external object locations can increase the maintenance burden and make long-term preservation more difficult.

CollectionBuilder-CSV supports the creation of interpretative pages that explore collection items in a broader, narrative context, such as research essays. This can be done by adding pages to the site and using feature includes to embed collection items within the text. CB-Essay, a companion project, takes this idea further enabling the development of long-form texts underpinned by CollectionBuilder.

Sites created with CollectionBuilder-CSV can be deployed using GitHub Pages and Actions, or built locally and uploaded to any web server. Large sites might exceed GitHub’s storage limits.

Usage

Understand the differences between CollectionBuilder versions and choose the version that best suits your project and available technical skills. Remember that you can migrate your project to a different version in the future if required.

Plan your metadata schema, starting with CollectionBuilder’s default fields and extending where necessary. Use established vocabularies wherever possible.

Select or create unique identifiers for your collection items and save them to the objectid field. Use existing identifiers where possible, such as a DOI or ISBN for a work, an ORCID for a person, or a catalogue ID, so the website can be linked back to the source collection. CollectionBuilder requires objectid to be unique and all lower case, with no spaces or special characters other than underscores and hyphens.

Understand display_template options and how they change the appearance of items. Decide which templates to use with your collection items.

Identify possible parent-child relationships between collection items. Add a parentid field where required to link a child to its parent record. Understand options for the display of compound objects, and select appropriate display templates for the parent and child records.

Use controlled sets of values for fields such as subject and location. Configure such fields to be rendered as browse links in the interface to enhance navigation.

Use the dc_map and schema_map fields to map your metadata fields to Dublin Core and schema.org and embed machine-readable data in your pages.

Understand the options and requirements of the built-in visualisation tools, including maps, timelines and word clouds. Adjust your metadata to meet these requirements.

Decide where your digital objects (images, PDFs, videos etc) will be stored – either with the site, or in external locations. Store them with the site whenever possible for long-term access and preservation.

Plan for the deployment of your site. If using GitHub Pages, link it to a domain name under your control, so that the site can be migrated to another server in the future without breaking links. If building locally, consider using tools like rsync to make uploads to your server easier and more reliable.

Implementations

The Trove Data Guide documents a process that uses a lightly-customised version of CollectionBuilder-GH to generate a static exhibition from a Trove list.

The Chinese Australian Family Historians of Victoria have used CollectionBuilder to document Chinese graves in the Melbourne General Cemetery. The site includes interpretative stories, geolocated grave sites, custom word clouds, and photographs of headstones.

The CollectionBuilder site currently lists 168 projects that encompass a wide variety of content types, research contexts, and institutional settings.

References

Models

This pattern addresses the [Deposit / Publish] action in the HASS and Indigenous Research Data Commons (HASS&I RDC) Research Data Management (RDM): A Conceptual Overview, allowing for researchers to meet their obligations for data management as well as increasing the availability of data for reuse.

Other resources

Wikle OM, Williamson EP. Static Web Methodology as a Sustainable Approach to Digital Humanities Projects. The code4lib Journal [Internet]. 2025 Apr 1 [cited 2026 Oct 7];(60). Available from: https://verso.uidaho.edu/esploro/outputs/journalArticle/Static-Web-Methodology-as-a-Sustainable/996790755701851

Acknowledgments

This pattern addresses sustainability and maintenance concerns raised by participants in the HASS and Indigenous RDC Community Data Lab co-design workshop. Participants repeatedly identified the long-term upkeep of research software, and the loss of systems when their builders move on, as the sector’s central challenge.

Credits

AuthorsPeter Sefton (ANU / UQ), Tim Sherratt