{"id":26951608,"url":"https://github.com/sdalu/ruby-chd","last_synced_at":"2026-05-19T03:02:17.223Z","repository":{"id":59152022,"uuid":"445696017","full_name":"sdalu/ruby-chd","owner":"sdalu","description":"Reading MAME CHD file from Ruby","archived":false,"fork":false,"pushed_at":"2022-01-08T01:50:42.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T18:59:18.004Z","etag":null,"topics":["chd","mame","ruby"],"latest_commit_sha":null,"homepage":"","language":"C","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/sdalu.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":"2022-01-08T01:27:50.000Z","updated_at":"2022-04-10T17:12:59.000Z","dependencies_parsed_at":"2022-09-13T11:01:04.817Z","dependency_job_id":null,"html_url":"https://github.com/sdalu/ruby-chd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sdalu/ruby-chd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdalu%2Fruby-chd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdalu%2Fruby-chd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdalu%2Fruby-chd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdalu%2Fruby-chd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdalu","download_url":"https://codeload.github.com/sdalu/ruby-chd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdalu%2Fruby-chd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268199899,"owners_count":24211834,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["chd","mame","ruby"],"created_at":"2025-04-03T00:16:44.882Z","updated_at":"2026-05-19T03:02:17.137Z","avatar_url":"https://github.com/sdalu.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"This library provide access to MAME CHD file format, using the [libchr][1]\nlibrary, If the library is not available on the system, the gem will \nused its bundled version.\n\n\nExamples\n========\n\n~~~ruby\nCHD.open('file.chd') do |chd|\n    puts chd.version\n\tputs chd.header\n\tputs chd.metadata\t\n\t\n\tchd.read_hunk(0)\n\tchd.read_unit(0)\n\tchd.read_bytes(1234, 5678)\nend\n~~~\n\n~~~ruby\nchd = CHD.new('file.chd')\ncd  = CHD::CD.new(chd)\ncd.read_sector(1, :MODE1)\n~~~\n\n\n\n[1]: https://github.com/rtissera/libchdr\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdalu%2Fruby-chd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdalu%2Fruby-chd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdalu%2Fruby-chd/lists"}