{"id":17043359,"url":"https://github.com/yuao/metallibraryexplorer","last_synced_at":"2025-09-01T19:38:24.104Z","repository":{"id":37206838,"uuid":"482579442","full_name":"YuAo/MetalLibraryExplorer","owner":"YuAo","description":"Parse and disassemble .metallib files in browser","archived":false,"fork":false,"pushed_at":"2023-07-24T11:04:57.000Z","size":1517,"stargazers_count":38,"open_issues_count":7,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T15:11:29.106Z","etag":null,"topics":["disassembler","llvm","metal","metallib","reverse-engineering","swift","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://yuao.github.io/MetalLibraryExplorer","language":"JavaScript","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/YuAo.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":"2022-04-17T16:45:35.000Z","updated_at":"2025-04-12T04:48:55.000Z","dependencies_parsed_at":"2025-02-21T15:35:29.064Z","dependency_job_id":"9f4513fe-2880-48f4-b044-022d96b3d962","html_url":"https://github.com/YuAo/MetalLibraryExplorer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/YuAo/MetalLibraryExplorer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuAo%2FMetalLibraryExplorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuAo%2FMetalLibraryExplorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuAo%2FMetalLibraryExplorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuAo%2FMetalLibraryExplorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YuAo","download_url":"https://codeload.github.com/YuAo/MetalLibraryExplorer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuAo%2FMetalLibraryExplorer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273182092,"owners_count":25059809,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["disassembler","llvm","metal","metallib","reverse-engineering","swift","wasm","webassembly"],"created_at":"2024-10-14T09:29:20.619Z","updated_at":"2025-09-01T19:38:24.054Z","avatar_url":"https://github.com/YuAo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MetalLibraryExplorer\n\n[![Build](https://github.com/YuAo/MetalLibraryExplorer/actions/workflows/build.yml/badge.svg)](https://github.com/YuAo/MetalLibraryExplorer/actions/workflows/build.yml)\n[![Deploy](https://github.com/YuAo/MetalLibraryExplorer/actions/workflows/deploy.yml/badge.svg)](https://github.com/YuAo/MetalLibraryExplorer/actions/workflows/deploy.yml)\n\nParse and disassemble .metallib files in browser. https://yuao.github.io/MetalLibraryExplorer\n\n**This is a [WebAssembly](https://webassembly.org/) port of [MetalLibraryArchive](https://github.com/YuAo/MetalLibraryArchive). In order to use this tool your browser must [support WebAssembly](https://caniuse.com/wasm).**\n\n## Features\n\n- Inspect `.metallib` files. Get information about library type, target platform, Metal functions, etc.\n\n- Disassemble Metal function bitcode.\n\n- Download Metal bitcode and assembly as a zip archive.\n\n## Technologies\n\n### Metal Library Archive Parser\n\nThe parser uses a WebAssembly version of the [MetalLibraryArchive](https://github.com/YuAo/MetalLibraryArchive) core library, built with [SwiftWasm](https://github.com/swiftwasm/swift).\n\n[wasmer-js](https://github.com/wasmerio/wasmer-js) is used as WASI polyfill. ~~However due to [wasmer/issues/2792](https://github.com/wasmerio/wasmer/issues/2792), the parser has to run in a Web Worker.~~\n\n`wasm-strip` from [WABT](https://github.com/WebAssembly/wabt) and `wasm-opt` from [binaryen](https://github.com/WebAssembly/binaryen) are used mainly to reduce the `.wasm` binary size.\n\n### LLVM Disassembler\n\n[llvm-dis](https://llvm.org/docs/CommandGuide/llvm-dis.html) is used to convert the Metal bitcode into human-readable LLVM assembly language. This is also compiled to WebAssembly using [this workflow](https://github.com/YuAo/llvm-wasm/blob/master/.github/workflows/build-llvm-dis.yml).\n\n### User Interface\n\nThe UI is built with [React](https://reactjs.org/) and [tailwindcss](https://tailwindcss.com/)\n\n### Zip Archive \u0026 File Download\n\n[JSZip](https://stuk.github.io/jszip/) \u0026 [FileSaver](https://github.com/eligrey/FileSaver.js/)\n\n## Building\n\nTo build this library you will need to have installed in your system:\n\n- [Node.js](https://nodejs.org/)\n- [WABT](https://github.com/WebAssembly/wabt)\n- [binaryen](https://github.com/WebAssembly/binaryen)\n- [SwiftWasm](https://swiftwasm.org/)\n\n### Build\n\n```shell\nnpm install\nnpm run build\n```\n\n### Develop\n\n```shell\nnpm install\nnpm run start\n```\n\n## More About `.metallib` Files\n\nSee [MetalLibraryArchive](https://github.com/YuAo/MetalLibraryArchive).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuao%2Fmetallibraryexplorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuao%2Fmetallibraryexplorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuao%2Fmetallibraryexplorer/lists"}