{"id":19760219,"url":"https://github.com/jmp/react-native-bundle-extractor","last_synced_at":"2025-04-30T13:32:48.647Z","repository":{"id":136807814,"uuid":"237779277","full_name":"jmp/react-native-bundle-extractor","owner":"jmp","description":"A utility for extracting the React Native JavaScript bundle from an Android APK or a package installed on a connected device.","archived":false,"fork":false,"pushed_at":"2024-08-31T08:59:09.000Z","size":92,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-25T15:59:02.296Z","etag":null,"topics":["android","apk","bundle","extract","react-native"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jmp.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":"2020-02-02T13:58:37.000Z","updated_at":"2024-08-31T08:59:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"da58e621-f183-4313-b5d7-61649192db64","html_url":"https://github.com/jmp/react-native-bundle-extractor","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/jmp%2Freact-native-bundle-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmp%2Freact-native-bundle-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmp%2Freact-native-bundle-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmp%2Freact-native-bundle-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmp","download_url":"https://codeload.github.com/jmp/react-native-bundle-extractor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251713011,"owners_count":21631473,"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","bundle","extract","react-native"],"created_at":"2024-11-12T03:36:12.124Z","updated_at":"2025-04-30T13:32:46.020Z","avatar_url":"https://github.com/jmp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-bundle-extractor\n\n[![codecov](https://codecov.io/gh/jmp/react-native-bundle-extractor/branch/master/graph/badge.svg)](https://codecov.io/gh/jmp/react-native-bundle-extractor)\n\nThis is a small utility for extracting the [React Native][1] JavaScript bundle\nfile from an Android APK. It can fetch the bundle either from an APK file\non the disk, or from an Android package installed on a connected device\n(including Android virtual devices), without requiring deep knowledge of\nthe Android Debug Bridge (ADB).\n\nSince React Native JavaScript bundles are typically minified, the tool\nalso runs it through [jsbeautifier][2] to get a more human-readable output.\n\nThe purpose of this tool is to give you a better idea of what your release\ncode will look like. It may convince you to obfuscate your JavaScript bundles. \n\n## Installation\n\n    pip install -r requirements.txt\n\n[Python](https://python.org/) 3.8 or later is recommended.\n\n## Usage\n\nTo extract the bundle from an APK:\n\n    python extract.py foo.apk\n\nTo extract the bundle from connected device using `adb`:\n\n    python extract.py com.package.someapp\n\nTo customize the bundle filename, you can pass an additional parameter:\n\n    python extract.py com.package.someapp --bundle index.android.bundle\n\n## Run tests\n\n    pytest\n\n[1]: https://reactnative.dev/\n[2]: https://pypi.org/project/jsbeautifier/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmp%2Freact-native-bundle-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmp%2Freact-native-bundle-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmp%2Freact-native-bundle-extractor/lists"}