{"id":17239324,"url":"https://github.com/rehacktive/x-ecutioner","last_synced_at":"2025-03-26T02:36:51.287Z","repository":{"id":149775103,"uuid":"272009261","full_name":"rehacktive/x-ecutioner","owner":"rehacktive","description":"packer for linux binaries (Go binaries too!)","archived":false,"fork":false,"pushed_at":"2020-06-14T12:40:58.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-01T11:36:44.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rehacktive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-13T12:58:40.000Z","updated_at":"2024-06-19T08:55:51.577Z","dependencies_parsed_at":"2023-07-20T06:31:04.705Z","dependency_job_id":null,"html_url":"https://github.com/rehacktive/x-ecutioner","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehacktive%2Fx-ecutioner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehacktive%2Fx-ecutioner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehacktive%2Fx-ecutioner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehacktive%2Fx-ecutioner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rehacktive","download_url":"https://codeload.github.com/rehacktive/x-ecutioner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245577653,"owners_count":20638353,"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":[],"created_at":"2024-10-15T05:48:23.212Z","updated_at":"2025-03-26T02:36:51.264Z","avatar_url":"https://github.com/rehacktive.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## x-ecutioner\n\nThis is just a script plus some code that will generate a compressed version of a linux ELF executable, - so your Go linux binary could be smaller!\n\nRequirements:\n\n\tgo \u003e 1.13\n\tgo-binddata\n\t\nUsage:\n\n\t./generate.sh BINARYFILE\n\t\nThis wil generate a new file, called *BINARYFILE_mem*, that hopefully will be smaller than the original.\n\n\n\u003eFor small binaries this doesn't work, it will actually generate a bigger binary! So try and see.\n\nThe new binary will be slightly slower at start. See below.\n\nmemrun.go is originally from here https://github.com/guitmz/memrun, modified for this usage.\n\n#### My tests\n\n**Compression:**\n\n\t13197468 binary1\n\t 8368128 binary1_mem\n\t\n\t(from ~13mb to ~8mb)\n\t\n\t27190864 binary2\n\t18780160 binary2_mem\n\t\n\t(from ~27mb to ~18mb)\n\t\n**Execution time:**\n\n\ttime ./binary1\n\t...\n\treal    0m0.014s\n\tuser    0m0.012s\n\tsys     0m0.004s\n\nand the compressed one:\n\n\ttime ./binary1_mem \n\t...\n\treal    0m0.348s\n\tuser    0m0.327s\n\tsys     0m0.047s\n\t\nanother example:\n\n\ttime ./binary2\n\t...\n\treal    0m0.007s\n\tuser    0m0.000s\n\tsys     0m0.008s\n\t\nand the compressed version:\n\n\ttime ./binary2_mem \n\t...\n\treal    0m0.630s\n\tuser    0m0.600s\n\tsys     0m0.064s\n\n\nReleased under https://mit-license.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frehacktive%2Fx-ecutioner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frehacktive%2Fx-ecutioner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frehacktive%2Fx-ecutioner/lists"}