{"id":13646789,"url":"https://github.com/konoui/lipo","last_synced_at":"2025-04-09T21:18:22.879Z","repository":{"id":57662531,"uuid":"478152496","full_name":"konoui/lipo","owner":"konoui","description":"This lipo is designed to be compatible with macOS lipo, written in golang.","archived":false,"fork":false,"pushed_at":"2025-01-21T12:36:44.000Z","size":232,"stargazers_count":74,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T21:18:18.296Z","etag":null,"topics":["fat-binaries","fat-binary","golang","lipo","macos","universal-binary"],"latest_commit_sha":null,"homepage":"","language":"Go","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/konoui.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}},"created_at":"2022-04-05T13:56:22.000Z","updated_at":"2025-02-14T20:04:59.000Z","dependencies_parsed_at":"2024-05-28T13:16:39.277Z","dependency_job_id":"517daf95-a603-4bfb-94fe-5c8e26b4a679","html_url":"https://github.com/konoui/lipo","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konoui%2Flipo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konoui%2Flipo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konoui%2Flipo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konoui%2Flipo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konoui","download_url":"https://codeload.github.com/konoui/lipo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248111973,"owners_count":21049578,"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":["fat-binaries","fat-binary","golang","lipo","macos","universal-binary"],"created_at":"2024-08-02T01:03:06.077Z","updated_at":"2025-04-09T21:18:22.814Z","avatar_url":"https://github.com/konoui.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"## LIPO\n\nThis `lipo` is designed to be compatible with macOS `lipo`, which is a utility for creating Universal Binary as known as Fat Binary.\n\nThis can be useful in the following scenarios:\n\n- When using a CI/CD platform (such as GitLab) that does not provide access to macOS or [macOS `lipo`](https://ss64.com/osx/lipo.html).\n- When using GitHub Actions and looking for a [cost-effective](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions) solution that doesn't involve using macOS.\n\n### Distro Packages\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/lipo-go.svg)](https://repology.org/project/lipo-go/versions)\n\n#### Nix\n\nYou can try lipo from the nixpkgs by:\n\n```sh\nnix-shell --packages lipo-go\n```\n\n### INSTALL\n\n#### Download [a latest release from GitHub](https://github.com/konoui/lipo/releases/latest)\n\nFor example for Linux on amd64,\n\n```\n$ curl -L -o /tmp/lipo https://github.com/konoui/lipo/releases/latest/download/lipo_Linux_amd64\n$ chmod +x /tmp/lipo\n$ sudo mv /tmp/lipo /usr/local/bin\n```\n\n#### Install with `go install`\n\n```\n$ go install github.com/konoui/lipo@latest\n```\n\n### USAGE\n\n```\n$ lipo -output \u003coutput-binary\u003e -create \u003carm64-binary\u003e \u003camd64-binary\u003e\n```\n\nFor example,\n\n```\n$ CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o amd64 example/main.go\n$ CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o arm64 example/main.go\n$ lipo -output hello-world -create arm64 amd64\n```\n\n```\n$ ./hello-world\nHello World\n\n$ file hello-world\nhello-world: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]\nhello-world (for architecture x86_64): Mach-O 64-bit executable x86_64\nhello-world (for architecture arm64): Mach-O 64-bit executable arm64\n```\n\n### Supported Options\n\n`-archs`, `-create`, `-extract`, `-extract_family`, `-output`, `-remove`, `-replace`, `-segalign`, `-thin`, `-verify_arch`, `-arch`, `-info`, `-detailed_info`, `-hideARM64`, `-fat64`\n\nPlease run the `-help` command for more details.\n\n```\n$ lipo -help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonoui%2Flipo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonoui%2Flipo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonoui%2Flipo/lists"}