Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

A visualization and interface that helps users explore ~187K digital items from NYPL in the public domain

License

Notifications You must be signed in to change notification settings

NYPL-publicdomain/pd-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

As of October 2024, this public domain visualization tool will no longer be updated by NYPL and will soon be archived with limited functionality. The source code for the project can be found here: https://github.com/nypl-publicdomain/pd-visualization and public domain materials can be viewed on Digital Collections here: https://digitalcollections.nypl.org/search/index?utf8=%E2%9C%93&keywords=&filters%5Brights%5D=pd.

NYPL Public Domain Release 2016 Visualization

On January 6th, 2016, The New York Public Library made 187,000 digital items in the public domain available for high resolution download. This is a visualization and interface that helps users explore what was contained in that release.

View the visualization here: http://publicdomain.nypl.org/pd-visualization/

Building the Visualization

To generate the images and data that powers the UI, a number of python scripts have been made to crunch the data

  1. Download and unzip a data dump of NYPL items
  2. Run the following scripts to extract necessary item categories
  1. Run download_images.py to download all the images of the first captures of the items
  2. Run get_color_data.py and get_colors.py to get the colors from the images
  3. Run stitch_images.py to stitch together the images for each item category
  4. The following scripts do some pre-processing for the UI:
  • generate_metadata.py - loads all the metadata (title, description, uuid, etc) for the item thumbnail preview
  • generate_labels.py - generates the labels and counts for the righthand column in the UI
  • generate_coordinates.py - generates the pixel coordinates of each item for each collection for easy look-up on hover

Local setup

  1. Install the required packages
npm install
  1. Run the app locally with npm:
npm run start
  1. To re-compile your CSS as you change it during local development, run:
npm run watch

alongside your server.

Deploying

Push to gh-pages to deploy to Github Pages. Be sure to compile before committing by running

npm run build

About the NYPL Public Domain Release

On January 6, 2016, The New York Public Library enhanced access to public domain items in Digital Collections so that everyone has the freedom to enjoy and reuse these materials in almost limitless ways. For all such items the Library now makes it possible to download the highest resolution images available directly from the Digital Collections website.

That means more than 187,000 items free to use without restriction! But we know that 180K of anything is a lot to get your head around — so as a way to introduce you to these collections and inspire new works, NYPL Labs developed a suite of projects and tools to help you explore the vast collections and dive deep into specific ones.

Go forth, reuse, and let us know what you made with the #nyplremix hashtag! For more information:

About

A visualization and interface that helps users explore ~187K digital items from NYPL in the public domain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •