{"id":24200096,"url":"https://github.com/lesiw/buzzybox","last_synced_at":"2025-09-21T23:32:28.888Z","repository":{"id":206874410,"uuid":"717883990","full_name":"lesiw/buzzybox","owner":"lesiw","description":"Portable shell utilities.","archived":false,"fork":false,"pushed_at":"2024-03-12T04:46:44.000Z","size":100,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-22T14:28:41.545Z","etag":null,"topics":["busybox","cli","go","golang","posix","unix"],"latest_commit_sha":null,"homepage":"https://lesiw.io/buzzybox","language":"Go","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/lesiw.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}},"created_at":"2023-11-12T22:01:59.000Z","updated_at":"2024-06-05T09:50:19.000Z","dependencies_parsed_at":"2023-12-18T18:59:22.049Z","dependency_job_id":"cdd07a06-c327-4270-8d0f-c1c03bb44fbf","html_url":"https://github.com/lesiw/buzzybox","commit_stats":null,"previous_names":["lesiw/gobox"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesiw%2Fbuzzybox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesiw%2Fbuzzybox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesiw%2Fbuzzybox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesiw%2Fbuzzybox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lesiw","download_url":"https://codeload.github.com/lesiw/buzzybox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233808218,"owners_count":18733542,"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":["busybox","cli","go","golang","posix","unix"],"created_at":"2025-01-13T20:41:04.869Z","updated_at":"2025-09-21T23:32:23.446Z","avatar_url":"https://github.com/lesiw.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐝 buzzybox: Portable shell utilities\n\n`buzzybox` is a multicall binary like `busybox` that brings a subset of shell\nutilities to multiple platforms. It can be run as a standalone program\n(`buzzybox`) or imported as a library (`lesiw.io/buzzybox/hive`).\n\n## Features\n\n* Written in a [memory safe language](https://media.defense.gov/2023/Dec/06/2003352724/-1/-1/0/THE-CASE-FOR-MEMORY-SAFE-ROADMAPS-TLP-CLEAR.PDF#page=19).\n* Uses only [Go Project](https://go.dev/project) [dependencies](go.mod).\n* Compatible with [tinygo](https://tinygo.org/).\n* Open-sourced under a [permissive license](LICENSE).\n\n## Installation\n\n``` sh\ngo install lesiw.io/buzzybox@latest\n```\n\n## Usage\n\n### Subcommand\n\n```sh\necho \"hello embedded world\" | buzzybox awk '{ print $1, $3 }'\n```\n\n### Symlink\n\n```sh\nln -s \"$(which buzzybox)\" awk\necho \"hello embedded world\" | ./awk '{ print $1, $3 }'\n```\n\n### Library\n\n```go\npackage main\n\nimport (\n\t\"strings\"\n\n\t\"lesiw.io/buzzybox/hive\"\n)\n\nfunc main() {\n\tcmd := hive.Command(\"awk\", \"{ print $1, $3 }\")\n\tcmd.Stdin = strings.NewReader(\"hello embedded world\")\n\tcmd.Run()\n}\n```\n\n[▶️ Run this example on the Go Playground](https://go.dev/play/p/NI5W18yuX8A)\n\n### Docker\n\n```sh\necho \"hello embedded world\" | docker run -i lesiw/buzzybox awk '{ print $1, $3 }'\n```\n\n## App criteria for inclusion\n\nOne of the following:\n1. The app is defined in the POSIX standard.\n2. The app isn’t in POSIX, but is found in multiple *nix environments, like\n   MacOS, busybox, and at least one major non-busybox Linux distribution. (`tar`\n   is a good example of a non-POSIX utility that is near-ubiquitous.)\n\nAnd all of the following:\n1. [Orthogonal](https://go.dev/talks/2010/ExpressivenessOfGo-2010.pdf): the app\n   solves a problem that cannot reasonably be solved by using the existing apps\n   in combination.\n\n## Support matrix\n\n| App        | Linux | Windows | MacOS | TinyGo |\n|:-----------|:------|:--------|:------|--------|\n| `arch`     | ✅    | ✅      | ✅    | ✅     |\n| `awk`      | ✅    | ✅      | ✅    | ✅     |\n| `base64`   | ✅    | ✅      | ✅    | ✅     |\n| `basename` | ✅    | ✅      | ✅    | ✅     |\n| `cat`      | ✅    | ✅      | ✅    | ✅     |\n| `false`    | ✅    | ✅      | ✅    | ✅     |\n| `true`     | ✅    | ✅      | ✅    | ✅     |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesiw%2Fbuzzybox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flesiw%2Fbuzzybox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesiw%2Fbuzzybox/lists"}