{"id":28059986,"url":"https://github.com/kira-nt/slurp","last_synced_at":"2026-05-16T13:31:15.126Z","repository":{"id":285142735,"uuid":"957191448","full_name":"Kira-NT/slurp","owner":"Kira-NT","description":"👅 Slurp your files into a single binary","archived":false,"fork":false,"pushed_at":"2025-03-30T13:23:32.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T04:02:38.875Z","etag":null,"topics":["linux","self-executable","self-extracting"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Kira-NT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2025-03-29T19:12:04.000Z","updated_at":"2025-03-30T13:02:44.000Z","dependencies_parsed_at":"2025-03-29T20:24:25.883Z","dependency_job_id":"96db3c9e-2927-49be-bcc0-db5c845f3470","html_url":"https://github.com/Kira-NT/slurp","commit_stats":null,"previous_names":["kira-nt/slurp"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Kira-NT/slurp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kira-NT%2Fslurp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kira-NT%2Fslurp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kira-NT%2Fslurp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kira-NT%2Fslurp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kira-NT","download_url":"https://codeload.github.com/Kira-NT/slurp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kira-NT%2Fslurp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33104409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["linux","self-executable","self-extracting"],"created_at":"2025-05-12T08:35:53.124Z","updated_at":"2026-05-16T13:31:15.109Z","avatar_url":"https://github.com/Kira-NT.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slurp\n\n[![Version](https://img.shields.io/github/v/release/Kira-NT/slurp?sort=date\u0026label=version)](https://github.com/Kira-NT/slurp/releases/latest)\n[![License](https://img.shields.io/github/license/Kira-NT/slurp?cacheSeconds=36000)](LICENSE.md)\n\n`slurp` is a simple tool that can help you pack an executable along with its satellite files *(such as libraries, configuration files, etc.)* into a single binary.\n\n----\n\n## Installation\n\n`slurp` does not require installation in the traditional sense, since it's just a standalone shell script. Therefore, you have several options for integrating it into your system:\n\n - **Direct Download:** \u003cbr\u003e\n   Download the `slurp` file from the [latest release](https://github.com/Kira-NT/slurp/releases/latest), place it in a directory that is in your system's `PATH`, grant it executable permissions, and run it:\n   ```sh\n   chmod +x slurp\n   slurp \u003cinput-directory\u003e [options]\n   ```\n\n - **Clone and Run:** \u003cbr\u003e\n   Clone the repository and run `slurp.sh` directly from the working tree:\n   ```sh\n   git clone https://github.com/Kira-NT/slurp\n   cd slurp\n   ./slurp.sh \u003cinput-directory\u003e [options]\n   ```\n\n - **Run Without Saving:** \u003cbr\u003e\n   If you only need `slurp` for a single task, you can run it without permanently saving the script by using the following snippet:\n   ```sh\n   curl -Ls https://github.com/Kira-NT/slurp/blob/HEAD/slurp.sh?raw=true | bash -s -- \u003cinput-directory\u003e [options]\n   ```\n\nNote, `slurp` and the binaries it produces depend on [GNU `coreutils`](https://www.gnu.org/software/coreutils/). Hence, it will only work on macOS, FreeBSD, and other Unix-like systems outside of the Linux ecosystem if `coreutils` have been manually installed there by the user.\n\n----\n\n## Usage\n\n```\nUsage: slurp [-r \u003cexecutable\u003e] [-o \u003coutput-file\u003e] [--] \u003cinput-directory\u003e\n       slurp --unpack [-o \u003coutput-directory\u003e] [--] \u003cinput-file\u003e\n\nSlurp an executable and its satellite files into a single binary.\n\nExamples:\n  slurp ./bin/ --run ./bin/autorun.sh --output ./app\n  slurp ./bin/ --output ./app\n  slurp ./bin/\n  slurp ./app --unpack --output ./app.slurp/\n  slurp ./app --unpack\n\nArguments:\n  \u003cinput-directory\u003e\n      The directory containing the files and subdirectories to be slurped.\n\n  \u003cinput-file\u003e\n      The binary file to be unslurped.\n\nOptions:\n  -h, --help\n      Displays this help page.\n\n  -v, --version\n      Displays the application version.\n\n  -r, --run \u003cexecutable\u003e\n      Specifies the primary executable file within the input directory.\n      If omitted, slurp will attempt to locate one by searching for it in the following order:\n        1. An executable named \"autorun\"\n        2. An executable named \"autorun.sh\"\n        3. A sole executable file in the root of the input directory\n           (if the search yields zero or multiple results, no match is made).\n\n  -o, --output \u003coutput-file\u003e\n      Specifies the name of the resulting binary.\n      If omitted, the binary name is derived automatically from the main executable:\n        - The main executable's basename is used, unless it is \"autorun\".\n        - If the main executable's basename is \"autorun\", the name of the input directory is used.\n        - A numeric suffix (e.g., \".1\", \".2\", etc.) is appended if the chosen filename is already in use.\n\n  -o, --output \u003coutput-directory\u003e\n      Specifies the name of the output directory.\n      If omitted, defaults to \"\u003cinput-file\u003e.slurp\".\n\n  -u, --unpack, --unslurp\n      Unpack a binary created by slurp.\n```\n\n----\n\n## License\n\nLicensed under the terms of the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkira-nt%2Fslurp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkira-nt%2Fslurp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkira-nt%2Fslurp/lists"}