{"id":21660213,"url":"https://github.com/slub/marc2jsonl","last_synced_at":"2025-09-02T22:32:59.441Z","repository":{"id":41281070,"uuid":"104872022","full_name":"slub/marc2jsonl","owner":"slub","description":"simple MARC21 to Line-delimited JSON converter using xbib/marc","archived":false,"fork":false,"pushed_at":"2022-09-20T06:51:16.000Z","size":55,"stargazers_count":7,"open_issues_count":1,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-25T18:41:14.993Z","etag":null,"topics":["java","json-ld","marc","xbib"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slub.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}},"created_at":"2017-09-26T10:40:23.000Z","updated_at":"2024-04-18T21:05:48.000Z","dependencies_parsed_at":"2022-09-21T01:00:48.984Z","dependency_job_id":null,"html_url":"https://github.com/slub/marc2jsonl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Fmarc2jsonl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Fmarc2jsonl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Fmarc2jsonl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Fmarc2jsonl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slub","download_url":"https://codeload.github.com/slub/marc2jsonl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248493022,"owners_count":21113159,"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":["java","json-ld","marc","xbib"],"created_at":"2024-11-25T09:32:30.028Z","updated_at":"2025-04-11T22:41:11.343Z","avatar_url":"https://github.com/slub.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# marc2jsonl\n\nsimple tool to convert (binary) MARC21, MarcXML or MabXML files to line-delimited JSON which can also be used to index data into ElasticSearch. It makes use of xbib/marc Java library.\n\ndependencies:\n\n* https://github.com/xbib/marc/\n* http://commons.apache.org/proper/commons-cli/\n\nbuild:\n\n    mvn clean package\n\nor\n\n    make\n\ninstall:\n\n    su\n    make install\n\nrun:\n\n    marc2jsonl \u003cOPTARG\u003e\n\nvalid options are:\n\n-i --input:\t(binary) MARC21, MarcXML or MabXML input file\n\n-o --output: \toutput directory\n\n-mabxml --mabxmlinput:   input is MabXML\n\n-marcxml --marcxmlinput:   input is MarcXML\n\n-n --indexname: name of the ElasticSearch Index\n\n-t --type:\tname of the ElasticSearch datatype\n\n\nexamples:\n\n    marc2jsonl -i input.mrc -o output.jsonl -n test -t marc\n\ntransformes the marc data from input.mrc to line-delimited json and saves to the file output.jsonl\n\n\n    marc2jsonl \u003c input.mrc | esbulk -index test -type marc\n\ntransforms the marc data from stdin and pipes it to esbulk (https://github.com/miku/esbulk) which indexes the data and uploads it to an ElasticSearch-Server\n\n    pv input.mrc | marc2jsonl \u003e output.jsonl\n\nwatch the progress with pipeview (http://www.ivarch.com/programs/pv.shtml) and transform the marc data from input.mrc to the file output.jsonl\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslub%2Fmarc2jsonl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslub%2Fmarc2jsonl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslub%2Fmarc2jsonl/lists"}