{"id":13694734,"url":"https://github.com/zxh0/classpy","last_synced_at":"2025-05-16T07:05:29.899Z","repository":{"id":19619331,"uuid":"22870872","full_name":"zxh0/classpy","owner":"zxh0","description":"GUI tool for investigating Java class files","archived":false,"fork":false,"pushed_at":"2022-10-27T01:10:17.000Z","size":4385,"stargazers_count":1121,"open_issues_count":2,"forks_count":267,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-04-08T16:09:09.368Z","etag":null,"topics":["bitcoin","jvm","lua","wasm"],"latest_commit_sha":null,"homepage":"","language":"Java","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/zxh0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-12T08:48:56.000Z","updated_at":"2025-03-19T06:55:43.000Z","dependencies_parsed_at":"2023-01-11T21:22:14.660Z","dependency_job_id":null,"html_url":"https://github.com/zxh0/classpy","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxh0%2Fclasspy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxh0%2Fclasspy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxh0%2Fclasspy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxh0%2Fclasspy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zxh0","download_url":"https://codeload.github.com/zxh0/classpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254485060,"owners_count":22078767,"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":["bitcoin","jvm","lua","wasm"],"created_at":"2024-08-02T17:01:39.314Z","updated_at":"2025-05-16T07:05:24.892Z","avatar_url":"https://github.com/zxh0.png","language":"Java","readme":"# Classpy\n\nClasspy is a GUI tool for investigating Java class file, Lua binary chunk, Wasm binary code, and other binary file formats.\n\n\n\n## Inspiration\n\nThis tool is mainly inspired by [javap](http://docs.oracle.com/javase/8/docs/technotes/tools/windows/javap.html) and [JavaClassViewer](http://www.codeproject.com/Articles/35915/Java-Class-Viewer). I reinvent the wheel for the following two reasons:\n\n    1. Learn Java class file format and bytecode through parsing it\n    2. Try JavaFX 8\n\n\n\n## Features\n\n* Understands class files described by [JVMS9](https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html)\n* Supports [Lua](https://www.lua.org/) 5.3 binary chunk format\n* Supports [Wasm](https://webassembly.org/) binary format\n* Supports [Bitcoin](https://en.wikipedia.org/wiki/Bitcoin) raw block and transaction format\n* Displays parsed binary file as tree and hex text\n* The corresponding hex text is highlighted when you select a tree node\n\n\n\n## Quick Start\n\nJust for macos with brew\n\n- Install\n```shell\nbrew tap guxingke/repo \u0026\u0026 brew install classpy\n```\n- Try  \n  - open default gui window\n  ```shell\n  classpy\n  ```\n  - open gui window with args\n  ```shell\n  echo \"public class HelloWorld { public static void main(String[] args) { System.out.println(\\\"Hello World\\\"); } }\" \u003e HelloWorld.java\n  $JAVA_HOME/bin/javac HelloWorld.java\n\n  classpy HelloWorld.class\n  ```\n\n\n\n## Requirements\n\nJava 15 (checkout branch `java8` if you stuck on Java 8)\n\n\n\n## Build\n\n```shell\ncd path/to/classpy\n./gradlew fatJar\n# java -jar path/to/classpy/classpy-gui/build/libs/classpy-fat-jar-0.10.0.jar\n```\n\n\n\n## Run\n\n```shell\ncd path/to/classpy\n./gradlew run\n```\n\n\n\n## Screenshots\n\n![Screenshot1](https://raw.githubusercontent.com/zxh0/classpy/master/screenshot.png)\n![Screenshot2](https://raw.githubusercontent.com/zxh0/classpy/master/screenshot2.png)\n![Screenshot3](https://raw.githubusercontent.com/zxh0/classpy/master/screenshot3.png)\n![Screenshot4](https://raw.githubusercontent.com/zxh0/classpy/master/screenshot4.png)\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxh0%2Fclasspy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzxh0%2Fclasspy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxh0%2Fclasspy/lists"}