{"id":20415253,"url":"https://github.com/rockefellerarchivecenter/matchbox","last_synced_at":"2025-07-08T06:06:20.216Z","repository":{"id":61606895,"uuid":"89630547","full_name":"RockefellerArchiveCenter/MatchBox","owner":"RockefellerArchiveCenter","description":"Thinking inside the box","archived":false,"fork":false,"pushed_at":"2025-07-07T22:33:07.000Z","size":1249,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"base","last_synced_at":"2025-07-08T06:03:28.988Z","etag":null,"topics":["archivesspace","archivesspace-api","cors"],"latest_commit_sha":null,"homepage":"http://demo.matchbox.rockarch.org/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RockefellerArchiveCenter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-04-27T18:56:12.000Z","updated_at":"2025-06-30T14:18:18.000Z","dependencies_parsed_at":"2025-01-15T13:02:40.879Z","dependency_job_id":"643be784-273c-4c32-b4ba-e6165766a97c","html_url":"https://github.com/RockefellerArchiveCenter/MatchBox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RockefellerArchiveCenter/MatchBox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RockefellerArchiveCenter%2FMatchBox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RockefellerArchiveCenter%2FMatchBox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RockefellerArchiveCenter%2FMatchBox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RockefellerArchiveCenter%2FMatchBox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RockefellerArchiveCenter","download_url":"https://codeload.github.com/RockefellerArchiveCenter/MatchBox/tar.gz/refs/heads/base","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RockefellerArchiveCenter%2FMatchBox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264207011,"owners_count":23572710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archivesspace","archivesspace-api","cors"],"created_at":"2024-11-15T06:14:51.250Z","updated_at":"2025-07-08T06:06:20.192Z","avatar_url":"https://github.com/RockefellerArchiveCenter.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MatchBox\nA simple application that uses the ArchivesSpace API to help determine the box into which a three-dimensional object will fit.\n\nA demonstration site, which uses static data, is available at [http://demo.matchbox.rockarch.org/](http://demo.matchbox.rockarch.org/)\n\n## What is MatchBox?\n\nMatchBox is a browser-based tool that matches archival objects to appropriate box sizes. This collections management tool is used for housing materials that require box sizes more specialized than standard record storage boxes or standard letter/legal document boxes.\n\nMaterials that often require specialized box sizes include realia and large or bulky documents such as flat files or scrapbooks. These archival objects are often considered to be oversize and/or three dimensional. MatchBox allows the individual working with such items to find boxes that will work best for long-term storage and preservation.  \n\nAdditionally, MatchBox is used for calculating cubic footage of container profile(s). These calculations are necessary for space management and determining the extent of collections for inclusion in accession and resource records.\n\n## How it Works\nMatchBox displays a list of all container profiles recorded in ArchivesSpace along with their dimensions. MatchBox displays this data through the ArchivesSpace API, ensuring that the container profile information displayed is up to date.\n\nThe dimensions of an object are entered into their respective fields: depth (length), width, and height. The results will populate, eliminating container profile options that are too small. If the results exclude adequate container options, there is typically no appropriate container profile recorded in ArchivesSpace.\n\nCubic footage can be calculated by entering the quantity for each container profile. The total number will populate at the bottom of the page. The cubic footage for individual container profiles is also listed in the rightmost column.\n\n## Requirements\n\nBecause the application makes HTTP using Javascript, CORS needs to be implemented on your ArchivesSpace instance. See [as-cors](https://github.com/RockefellerArchiveCenter/as-cors) for an example of how to do this with an ArchivesSpace plugin.\n\nThe following routes need to have CORS requesting enabled:\n\n        /container_profiles  \n        /container_profiles/:id\n\n## Installation\n\n1.  Download or clone this repository.\n\n2.  Set up a config file, which should be named `app-config.js` and placed in the `js/` directory. It should look something like this:\n\n        const baseUrl = \"http://localhost:8089\"; // Base url for your ArchivesSpace instance, including the backend port number\n        const token = \"81ee42992541795ad7cee5b5701a632fd43a61831b1768cab88e921e3a983e27\"; // Non-expiring session token for an AS user\n        const preferredContainers = [\"/container_profiles/1\",\"/container_profiles/2\"] // optional list of AS URIs for container profiles to be marked as preferred\n\nTo get a non-expiring session token, use a `expiring=false` parameter when making an [ArchivesSpace authentication request](http://archivesspace.github.io/archivesspace/api/#authentication).\n\n## Contributing\n\nPull requests accepted!\n\n## Authors\n\nHillel Arnold  \nJulia Welby  \nEmeline Swanson  \nErich Chang\n\n## License\n\nCode is released under an MIT License. See `LICENSE.md` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frockefellerarchivecenter%2Fmatchbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frockefellerarchivecenter%2Fmatchbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frockefellerarchivecenter%2Fmatchbox/lists"}