{"id":13659350,"url":"https://github.com/fractalwrench/ApkGolf","last_synced_at":"2025-04-24T14:33:13.476Z","repository":{"id":45839576,"uuid":"106181098","full_name":"fractalwrench/ApkGolf","owner":"fractalwrench","description":"The smallest Android APK in the world","archived":false,"fork":false,"pushed_at":"2021-04-03T11:27:44.000Z","size":327,"stargazers_count":630,"open_issues_count":4,"forks_count":45,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-11-10T13:36:29.427Z","etag":null,"topics":["android","apk","app","java","optimization","small","tiny"],"latest_commit_sha":null,"homepage":"https://fractalwrench.co.uk/posts/playing-apk-golf-how-low-can-an-android-app-go/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fractalwrench.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}},"created_at":"2017-10-08T14:06:44.000Z","updated_at":"2024-10-10T03:27:02.000Z","dependencies_parsed_at":"2022-07-17T14:47:16.729Z","dependency_job_id":null,"html_url":"https://github.com/fractalwrench/ApkGolf","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/fractalwrench%2FApkGolf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fractalwrench%2FApkGolf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fractalwrench%2FApkGolf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fractalwrench%2FApkGolf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fractalwrench","download_url":"https://codeload.github.com/fractalwrench/ApkGolf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250643701,"owners_count":21464220,"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":["android","apk","app","java","optimization","small","tiny"],"created_at":"2024-08-02T05:01:07.794Z","updated_at":"2025-04-24T14:33:13.166Z","avatar_url":"https://github.com/fractalwrench.png","language":"Shell","funding_links":[],"categories":["Shell (16)","Shell"],"sub_categories":[],"readme":"# ApkGolf\nThis repository hosts the smallest Android APK in the world. The current size of the APK is *678 bytes*.\n\nTo learn more about how this was achieved, please read the [blog post](blog/BLOG_POST.md).\n\nIf you have beaten my score at APK Golf, please submit a PR, and I'll happily add you to the hall of fame!\n\n\n# Hall of Fame\n\n## Using DSA Keystore, reducing manifest size (1295 bytes, 26% reduction)\nThe manifest can be further optimised by using a compiled XML file instead, and a DSA Keystore is smaller than the default generated by Android Studio.\n\nContributed by [Madis Pink](https://github.com/madisp) in this [Pull Request](https://github.com/fractalwrench/ApkGolf/pull/3)\n\n## Insane zopfli compression (1180 bytes, 9% reduction)\nThis improves compression of the APK.\n\nContributed by [Gautam Korlam](https://github.com/kageiit) in this [Pull Request](https://github.com/fractalwrench/ApkGolf/pull/5)\n\n## Use Elliptic-curve signatures (922 bytes, 16% reduction)\nElliptic-curve signatures are even smaller than DSA, and are supported in APK v2 signing.\n\nContributed by [Robert Xiao](https://github.com/nneonneo) in this [Pull Request](https://github.com/fractalwrench/ApkGolf/pull/4)\n\n## Remove classes.dex (824 bytes, 11% reduction)\nIf a code element is not present in the manifest, no classes.dex file is required by the `PackageParser`.\n\nContributed by [Robert Xiao](https://github.com/nneonneo) in this [Pull Request](https://github.com/fractalwrench/ApkGolf/pull/12)\nOriginal idea from [zhuowei](https://github.com/zhuowei), raised in this [Issue](https://github.com/fractalwrench/ApkGolf/issues/8)\n\n## Further hand tuning of manifest (820 bytes, 0.5% reduction)\nFurther byte-level optimisation of what remains of the manifest.\n\nContributed by [Madis Pink](https://github.com/madisp) in this [Pull Request](https://github.com/fractalwrench/ApkGolf/pull/6)\n\n## Minimising APK Signing Certificate (678 bytes, 18% reduction)\nManual removal of unnecessary fields present in the certificate used to sign the APK.\n\nContributed by [klyubin](https://github.com/klyubin) in this [Pull Request](https://github.com/fractalwrench/ApkGolf/pull/15)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffractalwrench%2FApkGolf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffractalwrench%2FApkGolf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffractalwrench%2FApkGolf/lists"}