{"id":18099965,"url":"https://github.com/rossmacarthur/powerpack","last_synced_at":"2025-09-07T00:31:17.295Z","repository":{"id":44923121,"uuid":"353288461","full_name":"rossmacarthur/powerpack","owner":"rossmacarthur","description":"⚡ Supercharge your Alfred workflows by building them in Rust!","archived":false,"fork":false,"pushed_at":"2025-09-03T08:05:16.000Z","size":202,"stargazers_count":54,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"trunk","last_synced_at":"2025-09-03T09:29:48.606Z","etag":null,"topics":["alfred","alfred-workflow","crate","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rossmacarthur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-03-31T08:49:01.000Z","updated_at":"2025-09-03T08:04:54.000Z","dependencies_parsed_at":"2024-10-31T21:12:06.809Z","dependency_job_id":"c805bb9d-480e-4ec1-b52d-c1e7805da067","html_url":"https://github.com/rossmacarthur/powerpack","commit_stats":{"total_commits":80,"total_committers":3,"mean_commits":"26.666666666666668","dds":0.03749999999999998,"last_synced_commit":"2a14ce7b2ef6b27f5fadabfda2b76a69a5393c0f"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/rossmacarthur/powerpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fpowerpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fpowerpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fpowerpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fpowerpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rossmacarthur","download_url":"https://codeload.github.com/rossmacarthur/powerpack/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fpowerpack/sbom","scorecard":{"id":785249,"data":{"date":"2025-08-11","repo":{"name":"github.com/rossmacarthur/powerpack","commit":"343d66eafde3d44510ffbe6d8c6c345925bda501"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/rossmacarthur/powerpack/build.yaml/trunk?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/rossmacarthur/powerpack/build.yaml/trunk?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/rossmacarthur/powerpack/build.yaml/trunk?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/rossmacarthur/powerpack/build.yaml/trunk?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/rossmacarthur/powerpack/build.yaml/trunk?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:100: update your workflow using https://app.stepsecurity.io/secureworkflow/rossmacarthur/powerpack/build.yaml/trunk?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:102: update your workflow using https://app.stepsecurity.io/secureworkflow/rossmacarthur/powerpack/build.yaml/trunk?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:127: update your workflow using https://app.stepsecurity.io/secureworkflow/rossmacarthur/powerpack/build.yaml/trunk?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/build.yaml:66"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'trunk'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.6.3 not signed: https://api.github.com/repos/rossmacarthur/powerpack/releases/201898718","Warn: release artifact 0.6.2 not signed: https://api.github.com/repos/rossmacarthur/powerpack/releases/201894784","Warn: release artifact 0.6.1 not signed: https://api.github.com/repos/rossmacarthur/powerpack/releases/201894309","Warn: release artifact 0.6.0 not signed: https://api.github.com/repos/rossmacarthur/powerpack/releases/196837684","Warn: release artifact 0.5.0 not signed: https://api.github.com/repos/rossmacarthur/powerpack/releases/135429311","Warn: release artifact 0.6.3 does not have provenance: https://api.github.com/repos/rossmacarthur/powerpack/releases/201898718","Warn: release artifact 0.6.2 does not have provenance: https://api.github.com/repos/rossmacarthur/powerpack/releases/201894784","Warn: release artifact 0.6.1 does not have provenance: https://api.github.com/repos/rossmacarthur/powerpack/releases/201894309","Warn: release artifact 0.6.0 does not have provenance: https://api.github.com/repos/rossmacarthur/powerpack/releases/196837684","Warn: release artifact 0.5.0 does not have provenance: https://api.github.com/repos/rossmacarthur/powerpack/releases/135429311"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2021-0139","Warn: Project is vulnerable to: GHSA-94vh-gphv-8pm8"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T05:55:42.042Z","repository_id":44923121,"created_at":"2025-08-23T05:55:42.042Z","updated_at":"2025-08-23T05:55:42.042Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273982891,"owners_count":25202090,"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-09-06T02:00:13.247Z","response_time":2576,"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":["alfred","alfred-workflow","crate","rust"],"created_at":"2024-10-31T21:11:58.517Z","updated_at":"2025-09-07T00:31:17.287Z","avatar_url":"https://github.com/rossmacarthur.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# ⚡ powerpack\n\n[![Crates.io Version](https://img.shields.io/crates/v/powerpack.svg)](https://crates.io/crates/powerpack)\n[![Docs.rs Latest](https://img.shields.io/badge/docs.rs-latest-blue.svg)](https://docs.rs/powerpack)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/rossmacarthur/powerpack/build.yaml?branch=trunk)](https://github.com/rossmacarthur/powerpack/actions/workflows/build.yaml?query=branch%3Atrunk)\n\nSupercharge your [Alfred 🎩][alfred] workflows by building them in Rust 🦀!\n\n[alfred]: https://www.alfredapp.com\n\n## 🚀 Getting started\n\nThis project contains a `powerpack` crate which provides types for developing\nscript filter Alfred workflows in Rust as well as various utilities that make it\neasier to build workflows. It also provides a command line tool to initialize,\nbuild, and install workflows built using the `powerpack` crate.\n\nFirstly, install the command line tool.\n```sh\ncargo install powerpack-cli\n```\n\nNow create a new project using a similar API as `cargo new` or `cargo init`.\n```sh\npowerpack new myworkflow \u0026\u0026 cd myworkflow\n```\n\nThis will create a new Rust project as well as a `workflow/` directory\ncontaining information about your Alfred workflow. The following will create\na release build of the workflow and copy it to the `workflow/` directory.\n```sh\npowerpack build --release\n```\n\nNow you can link it to Alfred. The following will symlink the `workflow/`\ndirectory to the Alfred preferences folder.\n```sh\npowerpack link\n```\n\nNow you can run the workflow from Alfred ✨!\n\nTo package a `.alfredworkflow` file for release you can run the following.\n```sh\npowerpack package\n```\n\nThe release will be available at `target/workflow/myworkflow.alfredworkflow`.\n\n## 🤸 Usage\n\nThe following is a \"Hello World!\" Alfred workflow built using `powerpack`.\n\n```rust\nuse std::env;\nuse std::error::Error;\nuse std::iter;\n\nfn main() -\u003e Result\u003c(), Box\u003cdyn Error\u003e\u003e {\n    // Alfred passes in a single argument for the user query.\n    let arg = env::args().nth(1);\n    let query = arg.as_deref().unwrap_or(\"\");\n\n    // Create an item to show in the Alfred drop down.\n    let item = powerpack::Item::new(\"Hello World!\")\n        .subtitle(format!(\"Your query was '{}'\", query));\n\n    // Output the item to Alfred!\n    powerpack::output(iter::once(item))?;\n\n    Ok(())\n}\n```\n\nThis would render an item as shown.\n\n![image](https://user-images.githubusercontent.com/17109887/159137101-105d0110-69c7-4f3e-a9da-250fdfeed431.png)\n\n## 👷 GitHub Action\n\n[`setup-crate`][setup] can be used to install `powerpack` in a GitHub Actions\nworkflow. For example:\n```yaml\nsteps:\n  - uses: actions/checkout@v2\n  - uses: extractions/setup-crate@v1\n    with:\n      repo: rossmacarthur/powerpack\n  - run: powerpack package\n  # produces an artifact at `target/workflow/{name}.alfredworkflow`\n```\n\n[setup]: https://github.com/extractions/setup-powerpack\n\n## 💡 Examples\n\nThe following projects are built using `powerpack`.\n\n- [crates.alfredworkflow](https://github.com/rossmacarthur/crates.alfredworkflow)\n- [github.alfredworkflow](https://github.com/rossmacarthur/github.alfredworkflow)\n- [gitlab.alfredworkflow](https://github.com/rossmacarthur/gitlab.alfredworkflow)\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or\n  http://www.apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossmacarthur%2Fpowerpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frossmacarthur%2Fpowerpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossmacarthur%2Fpowerpack/lists"}