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.
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/
To generate the images and data that powers the UI, a number of python scripts have been made to crunch the data
- Download and unzip a data dump of NYPL items
- Run the following scripts to extract necessary item categories
- get_captures.py retrieves capture ids to retrieve the images
- get_dates.py retrieves the creation dates from the items
- get_genres.py retrieves the genres from the items
- get_collections.py retrieves the collections from the items
- Run download_images.py to download all the images of the first captures of the items
- Run get_color_data.py and get_colors.py to get the colors from the images
- Run stitch_images.py to stitch together the images for each item category
- 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
- Install the required packages
npm install
- Run the app locally with npm:
npm run start
- To re-compile your CSS as you change it during local development, run:
npm run watch
alongside your server.
Push to gh-pages
to deploy to Github Pages. Be sure to compile before committing by running
npm run build
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: