{"id":13841735,"url":"https://github.com/eikendev/java-decompiler","last_synced_at":"2025-05-06T19:28:42.252Z","repository":{"id":107532556,"uuid":"342400977","full_name":"eikendev/java-decompiler","owner":"eikendev","description":"A Docker image with four popular Java decompilers in one place (CFR, Fernflower, Krakatau, and Procyon) :rocket::hammer:","archived":false,"fork":false,"pushed_at":"2022-04-28T18:59:13.000Z","size":19,"stargazers_count":72,"open_issues_count":0,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T13:46:33.514Z","etag":null,"topics":["apk-decompiler","cfr","docker-image","fernflower","jar-decompiler","java-decompiler","krakatau","procyon","reverse-engineering"],"latest_commit_sha":null,"homepage":"https://www.eiken.dev/blog/2021/02/how-to-break-your-jar-in-2021-decompilation-guide-for-jars-and-apks/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eikendev.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":"2021-02-25T22:54:16.000Z","updated_at":"2025-01-20T17:40:27.000Z","dependencies_parsed_at":"2023-05-17T16:45:43.668Z","dependency_job_id":null,"html_url":"https://github.com/eikendev/java-decompiler","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/eikendev%2Fjava-decompiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eikendev%2Fjava-decompiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eikendev%2Fjava-decompiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eikendev%2Fjava-decompiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eikendev","download_url":"https://codeload.github.com/eikendev/java-decompiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252752417,"owners_count":21798796,"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":["apk-decompiler","cfr","docker-image","fernflower","jar-decompiler","java-decompiler","krakatau","procyon","reverse-engineering"],"created_at":"2024-08-04T17:01:19.456Z","updated_at":"2025-05-06T19:28:42.245Z","avatar_url":"https://github.com/eikendev.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\t\u003ch1\u003eJava Decompiler\u003c/h1\u003e\n\t\u003ch4 align=\"center\"\u003e\n\t\tHave your decompilers ready when you need them most.\n\t\u003c/h4\u003e\n\t\u003cp\u003eJava Decompiler combines the strength of four popular Java decompilers.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/eikendev/java-decompiler/blob/master/LICENSE\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/eikendev/java-decompiler\"/\u003e\u003c/a\u003e\u0026nbsp;\n\u003c/p\u003e\n\n## 📄\u0026nbsp;Usage\n\nFirst, create a directory `./infiles` that contains all your JAR and APK files you want to decompile.\n\nThen, in case the targeted files depend on any external library, put a copy of these libraries in JAR format into a directory `./libfiles`.\nSome decompilers depend on this to work properly.\n\nNext, prepare an empty directory `./outfiles`, which is where the output of the decompilers will be written to.\n\nLastly, run the Docker image via the following command.\n\n```bash\ndocker run \\\n\t-ti \\\n\t--rm \\\n\t-v \"$PWD/infiles:/infiles:Z,ro\" \\\n\t-v \"$PWD/libfiles:/libfiles:Z,ro\" \\\n\t-v \"$PWD/outfiles:/outfiles:Z,rw\" \\\n\tghcr.io/eikendev/java-decompiler:latest\n```\n\nIf you want to use [Podman](https://podman.io/), simply switch `docker` to `podman` at the start of the command.\n\n## 💡\u0026nbsp;Background\n\nThis Docker image is equipped with four Java decompilers:\n- [CFR](https://www.benf.org/other/cfr/)\n- [Fernflower](https://github.com/JetBrains/intellij-community/tree/master/plugins/java-decompiler/engine)\n- [Krakatau](https://github.com/Storyyeller/Krakatau)\n- [Procyon](https://github.com/mstrobel/procyon)\n\nIt also includes [Enjarify](https://github.com/Storyyeller/enjarify) and [jadx](https://github.com/skylot/jadx) for the decompilation of APK files.\n\nFor more information on all these tools, check out [my related blog post](https://eiken.dev/blog/2021/02/how-to-break-your-jar-in-2021-decompilation-guide-for-jars-and-apks/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feikendev%2Fjava-decompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feikendev%2Fjava-decompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feikendev%2Fjava-decompiler/lists"}