{"id":31645442,"url":"https://github.com/mikewang000000/lxpack","last_synced_at":"2025-10-07T05:13:58.821Z","repository":{"id":318263896,"uuid":"1070167542","full_name":"MikeWang000000/lxpack","owner":"MikeWang000000","description":"a Linux eXecutable PACKer","archived":false,"fork":false,"pushed_at":"2025-10-06T05:07:00.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-06T07:13:41.227Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/MikeWang000000.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-05T12:06:54.000Z","updated_at":"2025-10-06T05:07:04.000Z","dependencies_parsed_at":"2025-10-06T07:13:47.241Z","dependency_job_id":"c654b2e8-774d-4004-81d0-b39f0ebab18d","html_url":"https://github.com/MikeWang000000/lxpack","commit_stats":null,"previous_names":["mikewang000000/lxpack"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/MikeWang000000/lxpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeWang000000%2Flxpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeWang000000%2Flxpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeWang000000%2Flxpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeWang000000%2Flxpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MikeWang000000","download_url":"https://codeload.github.com/MikeWang000000/lxpack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeWang000000%2Flxpack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278722757,"owners_count":26034463,"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-10-07T02:00:06.786Z","response_time":59,"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":[],"created_at":"2025-10-07T05:13:45.660Z","updated_at":"2025-10-07T05:13:58.815Z","avatar_url":"https://github.com/MikeWang000000.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lxpack\n\n**lxpack** (Linux eXecutable PACKer) is a tool for compressing Linux executable\nfiles using the LZMA algorithm. The packed executable decompresses itself into\nmemory at startup and then runs normally.\n\n\n## Features\n\n- Compresses ELF or shell script executables using LZMA to reduce file size\n- Self-extracts in memory before execution\n- No additional runtime dependencies beyond those required by the original\n  executable\n- Supports Linux kernel version 2.6.39 and above\n- Supports packing executables for any CPU architecture supported by the GCC\n  toolchain\n\n\n## Packaging Requirements\n\nTo pack executables with lxpack, you will need:\n\n- GCC toolchain (for native or cross-compilation)\n- `xz-utils`\n- `xxd`\n\n\n## Packaging Instructions\n\nTo pack a native Linux executable, run:\n\n```sh\nmake PAYLOAD=/path/to/native_executable\n```\n\nTo pack an executable for a different CPU architecture (cross-compilation),\nrun:\n\n```sh\nmake PAYLOAD=/path/to/aarch64_executable CROSS_COMPILE=aarch64-linux-\n```\n\nIf you encounter an \"Unsupported Architecture\" error, it means the inline\nassembly for system calls has not yet been adapted for your CPU architecture.\nIn this case, you can use `STDLIB=1` to statically link with glibc or musl.\nNote that the resulting file will be larger:\n\n```sh\nmake PAYLOAD=/path/to/alpha_executable CROSS_COMPILE=alpha-linux-gnu- STDLIB=1\n```\n\nAfter packing, the resulting file will be located in the `build/` directory.\n\n\n## Usage\n\nThe packed executable can be run directly on any compatible Linux system. No\nadditional dependencies are required at runtime, except those needed by the\noriginal executable.\n\n**Note:** The minimum supported Linux kernel version is 2.6.39.\n\n\n## Acknowledgements\n\nSpecial thanks to the following projects:\n\n- [TinyZZZ](https://github.com/WangXuan95/TinyZZZ) by WangXuan95\n- [nolibc](https://github.com/torvalds/linux/tree/master/tools/include/nolibc)\n  from the Linux kernel\n\n\n## License\n\nThis project is licensed under the [MIT License](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikewang000000%2Flxpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikewang000000%2Flxpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikewang000000%2Flxpack/lists"}