{"id":15293510,"url":"https://github.com/binarybirds/shell-kit","last_synced_at":"2025-10-13T13:37:38.718Z","repository":{"id":63905915,"uuid":"257194063","full_name":"BinaryBirds/shell-kit","owner":"BinaryBirds","description":"ShellKit is a simple package that gives you the ability to call shell commands through Swift.","archived":false,"fork":false,"pushed_at":"2025-01-27T19:51:54.000Z","size":13,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-02T04:35:07.211Z","etag":null,"topics":["shell","shell-kit","swift","swift-5","swift-6"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":false,"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/BinaryBirds.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,"zenodo":null}},"created_at":"2020-04-20T06:40:59.000Z","updated_at":"2025-06-03T23:19:27.000Z","dependencies_parsed_at":"2025-01-27T20:32:43.556Z","dependency_job_id":"ccaa41e7-e497-4521-921d-944e3dc18050","html_url":"https://github.com/BinaryBirds/shell-kit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/BinaryBirds/shell-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBirds%2Fshell-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBirds%2Fshell-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBirds%2Fshell-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBirds%2Fshell-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BinaryBirds","download_url":"https://codeload.github.com/BinaryBirds/shell-kit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBirds%2Fshell-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015351,"owners_count":26085684,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["shell","shell-kit","swift","swift-5","swift-6"],"created_at":"2024-09-30T16:49:49.034Z","updated_at":"2025-10-13T13:37:38.686Z","avatar_url":"https://github.com/BinaryBirds.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShellKit (🥚)\n\nShell is a simple package that gives you the ability to call shell commands through Swift.\n\n## Usage\n\nRun (sync):\n\n```swift\nimport ShellKit\n\nlet output = try Shell().run(\"ls ~\")\n```\n\nRun (async):\n\n```swift\nimport ShellKit\n\nShell().run(\"sleep 2 \u0026\u0026 ls ~\") { result, error in\n    //...\n}\n```\n\nShell (bash) with environment variables:\n\n```swift\nimport ShellKit\n\nlet shell = Shell(\"/bin/bash\", env: [\"ENV_SAMPLE_KEY\": \"Hello world!\"])\nlet out = try shell.run(\"echo $ENV_SAMPLE_KEY\")\n```\n\nYou can even set custom ouptut \u0026 error handlers.\n\n\n\n## Install\n\nJust use the [Swift Package Manager](https://theswiftdev.com/2017/11/09/swift-package-manager-tutorial/) as usual:\n\n```swift\n.package(url: \"https://github.com/binarybirds/shell-kit\", from: \"1.0.0\"),\n```\n\nDon't forget to add \"ShellKit\" to your target as a dependency:\n\n```swift\n.product(name: \"ShellKit\", package: \"shell-kit\"),\n```\n\nThat's it.\n\n\n## License\n\n[WTFPL](LICENSE) - Do what the fuck you want to.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarybirds%2Fshell-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinarybirds%2Fshell-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarybirds%2Fshell-kit/lists"}