{"id":20580819,"url":"https://github.com/soffes/lagunitas","last_synced_at":"2025-08-20T08:32:57.582Z","repository":{"id":11585404,"uuid":"14075564","full_name":"soffes/lagunitas","owner":"soffes","description":"A Ruby gem for inspecting iOS IPAs","archived":false,"fork":false,"pushed_at":"2020-10-26T17:46:15.000Z","size":89,"stargazers_count":72,"open_issues_count":1,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-28T03:22:08.226Z","etag":null,"topics":["apple","ios","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/soffes.png","metadata":{"files":{"readme":"Readme.markdown","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":"2013-11-02T21:46:03.000Z","updated_at":"2024-05-21T07:52:34.000Z","dependencies_parsed_at":"2022-09-13T17:51:29.295Z","dependency_job_id":null,"html_url":"https://github.com/soffes/lagunitas","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffes%2Flagunitas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffes%2Flagunitas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffes%2Flagunitas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffes%2Flagunitas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soffes","download_url":"https://codeload.github.com/soffes/lagunitas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230047166,"owners_count":18164575,"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":["apple","ios","ruby"],"created_at":"2024-11-16T06:25:38.479Z","updated_at":"2024-12-19T09:07:39.688Z","avatar_url":"https://github.com/soffes.png","language":"Ruby","readme":"# Lagunitas\n\nEasy iOS IPAs inspection.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n``` ruby\ngem 'lagunitas'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install lagunitas\n\n## Usage\n\n``` ruby\nipa = Lagunitas::IPA.new('path/to/Your.ipa')\n\n# Unzip and create app\napp = ipa.app     #=\u003e Lagunitas::App\n\n# Get information about the app\napp.identifier    #=\u003e com.samsoffes.Sample\napp.display_name  #=\u003e Sample\napp.version       #=\u003e 13\napp.short_version #=\u003e 2.2\n\n# Get an icon path at a specific size\napp.icon(40)      #=\u003e '/absolute/path/to/Icon20x20@2x.png'\n\n# You can also get all of the icons with their dimensions\napp.icons         #=\u003e [{path:'...', width: 40, height: 40}, ...]\n\n# Remove unzipped app\nipa.cleanup\n```\n\nIt's worth noting that if you get a path to an image in the bundle, it will be crushed with Apple's special PNGCrush. I have a gem to convert them called [pngdefry](https://github.com/soffes/pngdefry). Lagunitas depends on this already to get sizes for the icons. If you want to get a useable PNG out, do something like this:\n\n``` ruby\nicon_path = app.icon(40)\nPngdefry.defry(icon_path, \"output.png\")\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoffes%2Flagunitas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoffes%2Flagunitas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoffes%2Flagunitas/lists"}