stabbish

:)
git clone https://git.sr.ht/~ashymad/stabbish
Log | Files | Refs | README | LICENSE

commit 9e6a26330fff790b539a55c0f48393bb6207e323
parent c330ac2031bc446c9ccdb7bd622f823f45c641a4
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date:   Sun,  2 Aug 2026 17:54:29 +0200

Try build

Diffstat:
A.build.yml | 14++++++++++++++
AREADME | 16++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/.build.yml b/.build.yml @@ -0,0 +1,14 @@ +image: alpine/edge +oauth: pages.sr.ht/PAGES:RW +packages: + - hut + - make +environment: + site: ashymad.srht.site +tasks: +- package: | + cd stabbish + make + tar -C src -cvz stabbish > ../site.tar.gz +- upload: | + hut pages publish -d $site site.tar.gz diff --git a/README b/README @@ -0,0 +1,16 @@ +Have you ever wanted to run shell in a linux environment without any promises? +Maybe you have no idea what kind of POSIXish adjacent flavour of shell and +tools is available? Maybe the only thing that you can depend on is the linux +kernel? + +I have just the thing for you! Introducing STABBISH (STatic Busy Box with +Included Shell script). "What is it?", you ask. It's simple. It's a static +busybox build with all the tools included. "Isn't this just what busybox-static +is on ubuntu?" you ask. Well yes, but it has one special power. You can append +a shell script of your choice to the end of the binary and the resulting file +will automatically execute that script using the static busybox when run. The +appended script can even be compressed using gzip, xz or bzip2. + +Simply grab the [stabbish binary](ashymad.srht.site/stabbish), append your script using for example +`cat stabbish your_script.sh > your_script.exe` and voila! You just created +your first run-anywhere shell script.