{"id":17921409,"url":"https://github.com/gotson/jidou-hanbaiki","last_synced_at":"2026-05-01T09:31:41.219Z","repository":{"id":204405951,"uuid":"711774069","full_name":"gotson/jidou-hanbaiki","owner":"gotson","description":"Java library to download Homebrew Bottles and reprocess dylib files","archived":false,"fork":false,"pushed_at":"2024-01-30T03:43:30.000Z","size":79,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T08:42:34.656Z","etag":null,"topics":["dylib","homebrew","java"],"latest_commit_sha":null,"homepage":"","language":"Java","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/gotson.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}},"created_at":"2023-10-30T06:35:38.000Z","updated_at":"2023-10-30T06:44:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd8da838-58aa-47be-aa44-9b5b26a55854","html_url":"https://github.com/gotson/jidou-hanbaiki","commit_stats":null,"previous_names":["gotson/jidou-hanbaiki"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gotson/jidou-hanbaiki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotson%2Fjidou-hanbaiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotson%2Fjidou-hanbaiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotson%2Fjidou-hanbaiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotson%2Fjidou-hanbaiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gotson","download_url":"https://codeload.github.com/gotson/jidou-hanbaiki/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotson%2Fjidou-hanbaiki/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32492115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["dylib","homebrew","java"],"created_at":"2024-10-28T20:33:43.775Z","updated_at":"2026-05-01T09:31:41.203Z","avatar_url":"https://github.com/gotson.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 自動 販売機 (Jidō hanbaiki)\n\n_From the Japanese: Vending Machine._\n\nA Java library that can:\n- download [Homebrew Bottles](https://docs.brew.sh/Bottles) for different architecture and macOS version, along with dependencies.\n- modify the Mach-O headers of `.dylib` files, so they can be included in a single folder distribution.\n\n## Dependencies\n\n`org.gotson.jidouhanbaiki.dylib.Dylib` expects `dyld_info` and `install_name_tool` to be available in the `PATH`.\n\n## Motivation\n\nWhen building macOS apps with [Conveyor](https://www.hydraulic.dev/), native libraries can be packaged along with the application. Conveyor will conveniently sign those libraries along with your app.\n\nIn order to include `libheif` and `libjxl` into [Komga](https://komga.org) I needed to get hold of the native libraries, compiled for both Intel and ARM64, with the lowest possible target macOS version. Homebrew conveniently provides those binaries as Bottles.\n\nmacOS also requires that libraries use an absolute path for dependencies, for security reasons. Conveyor adds `@rpath` into the main binary, which can then be used in the libraries for dependents.\n\n## How to use?\n\nCheck [SampleApplication.java](./app/src/main/java/org/gotson/jidouhanbaiki/app/SampleApplication.java).\n\nThe library is not available on Maven Central, but I would consider publishing if there's a need for it.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotson%2Fjidou-hanbaiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgotson%2Fjidou-hanbaiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotson%2Fjidou-hanbaiki/lists"}