{"id":42925079,"url":"https://github.com/tulibraries/centralized-metadata","last_synced_at":"2026-01-30T18:07:45.044Z","repository":{"id":44551249,"uuid":"406358974","full_name":"tulibraries/centralized-metadata","owner":"tulibraries","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-20T19:09:03.000Z","size":416,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-20T21:11:56.789Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tulibraries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-14T12:31:50.000Z","updated_at":"2025-10-20T19:09:00.000Z","dependencies_parsed_at":"2024-11-21T19:23:26.103Z","dependency_job_id":"f621f2e2-42b0-4769-a5c5-df0c2eaf522a","html_url":"https://github.com/tulibraries/centralized-metadata","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tulibraries/centralized-metadata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulibraries%2Fcentralized-metadata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulibraries%2Fcentralized-metadata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulibraries%2Fcentralized-metadata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulibraries%2Fcentralized-metadata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tulibraries","download_url":"https://codeload.github.com/tulibraries/centralized-metadata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulibraries%2Fcentralized-metadata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28917034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T16:37:38.804Z","status":"ssl_error","status_checked_at":"2026-01-30T16:37:37.878Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["hacktoberfest"],"created_at":"2026-01-30T18:07:44.370Z","updated_at":"2026-01-30T18:07:45.040Z","avatar_url":"https://github.com/tulibraries.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Centralized Metadata Repository\n\nAn API built with Rails that stores name authority records with corresponding local metadata.\n\nSee also https://github.com/tulibraries/centralized-metadata-dags. \n\n## System Requirements \n\nPostgres DB: latest\nRuby: latest\n\n## Getting Started \n\nIf you don't already have postgres installed, make sure to do that.  On Macs you can install postgres with the following command:\n\n```\nbrew install postgresql\n```\n\nNext, make sure the postgres server is running. On Macs you can check the status of the database with the command:\n\n```\nbrew services\n```\n\nIf postgresql is not running then start it with:\n\n```\nbrew services start postgresql\n```\n\nMake sure you have a DB user called \"posgres\" that can be used to run the app.  On Macs you can use the following command:\n\n``\ncreateuser --superuser postgres\n```\n\n## Creating records with MARC files\n\n### Option 1: Use the API controller\n\nUse curl to upload files to a running instance of the application\n\nExample \n\n```\ncurl -F \"marc_file=@spec/fixtures/marc/louis_armstrong.mrc\" https://centralized-metadata-qa.k8s.temple.edu/records\n```\n\n### Option 2: Use the rake task\n\nIndividual file\n```\nrake  db:ingest[spec/fixtures/marc/louis_armstrong.mrc]\n```\n\nFile directory\n\n```\nrake  db:ingest[spec/fixtures/marc]\n```\n\n## API Documentation\n\nThis API uses [Rswag](https://github.com/rswag/rswag) to generate swagger documentation.  \n\nUse Swagger tests in spec/requests to describe and test the API operations. Run the `bundle exec rails rswag` command to generate and update the swagger.yaml file based on the tests. Do not update the swagger.yaml file directly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftulibraries%2Fcentralized-metadata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftulibraries%2Fcentralized-metadata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftulibraries%2Fcentralized-metadata/lists"}