# yassinebenaid/bunster

Compile shell scripts to static binaries.

Repository: https://github.com/yassinebenaid/bunster
Canonical: https://ross.abutalabs.com/products/bunster
Homepage: https://bunster.netlify.app
Language: Go
License: BSD-3-Clause
License Family: permissive
Topics: aot, bash, compiler, go, shell
Last push: 2026-04-28T17:16:26+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 79, release rhythm 44, longevity 55
- inputs: {"age_days": 774, "days_push": 127, "days_rel": 377, "gap_med": 10, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2679, forks 71 (observed 2026-08-28T04:07:09.946392+00:00)

## What it is
Bunster is a shell compiler that transpiles shell scripts (aiming for bash compatibility) into Go code and compiles them into standalone, static binaries using the Go toolchain. It adds features like a module system, package manager, .env support, static asset embedding, and built-in flag parsing.

## Use cases
- compile shell scripts into standalone static binaries
- distribute bash scripts as self-contained executables without requiring a shell
- build modular shell programs across multiple files
- embed static assets into compiled shell programs
- parse command-line flags in shell scripts without manual parsing
- load .env files in shell scripts
- catch bugs in shell scripts at compile time via static analysis

## When to choose
- you want to ship shell scripts as secure, portable binaries that don't depend on an installed shell
- you need bash-like scripting with modules, package management, and asset embedding
- you want compile-time checks and flag parsing for shell programs

## When to avoid
- you need full bash compatibility today - the project is early stage and only supports a subset of features
- you need a general-purpose interactive shell rather than a compiler
- your scripts rely on advanced or obscure bash features not yet implemented

## Facets
- artifact type: cli-tool
- maturity: experimental
- function: compiler, build-tool, cli, package-manager, static-site-generator
- domain: developer-tools, compilers, cross-platform
- platform: windows, cross-platform, cli, go
- tags: shell-compiler, bash-compatible, static-binaries, transpiler, aot-compilation, script-to-binary, go-toolchain, compiler, command-line, automation, linux, macos

## Member repositories
- yassinebenaid/bunster (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.946392+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:31:46.773716+00:00, confidence not recorded.
  - readme: https://github.com/yassinebenaid/bunster (fetched 2026-08-28T04:07:09.946392+00:00, sha f5afb0328921)
  - homepage: https://bunster.netlify.app (fetched 2026-08-29T10:00:16.723103+00:00, sha d03cb0b95cde)
- Data as of 2026-08-30T08:39:29.467469+00:00.
