{"id":34063390,"url":"https://github.com/caleb531/alfred-workflow-packager","last_synced_at":"2026-04-08T19:31:45.035Z","repository":{"id":9481536,"uuid":"61051555","full_name":"caleb531/alfred-workflow-packager","owner":"caleb531","description":"A command-line utility for packaging and exporting Alfred workflows with ease","archived":false,"fork":false,"pushed_at":"2026-03-19T00:36:11.000Z","size":175,"stargazers_count":27,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-19T14:10:02.173Z","etag":null,"topics":["alfred","cli","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/alfred-workflow-packager/","language":"Python","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/caleb531.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-06-13T16:19:23.000Z","updated_at":"2026-03-19T00:36:15.000Z","dependencies_parsed_at":"2022-08-07T05:01:03.927Z","dependency_job_id":"83faa9d9-2494-4d87-a872-a49630253734","html_url":"https://github.com/caleb531/alfred-workflow-packager","commit_stats":{"total_commits":116,"total_committers":2,"mean_commits":58.0,"dds":"0.025862068965517238","last_synced_commit":"2435c68dcaacc1b00cf8fb1c6b500d9493ebf1aa"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/caleb531/alfred-workflow-packager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caleb531%2Falfred-workflow-packager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caleb531%2Falfred-workflow-packager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caleb531%2Falfred-workflow-packager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caleb531%2Falfred-workflow-packager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caleb531","download_url":"https://codeload.github.com/caleb531/alfred-workflow-packager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caleb531%2Falfred-workflow-packager/sbom","scorecard":{"id":262536,"data":{"date":"2025-08-11","repo":{"name":"github.com/caleb531/alfred-workflow-packager","commit":"25b6cdb89fdcc4a4b4458f54c9a867c519794589"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 2/29 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.yml: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":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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":"Maintained","score":5,"reason":"6 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/caleb531/alfred-workflow-packager/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/caleb531/alfred-workflow-packager/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/caleb531/alfred-workflow-packager/publish.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/caleb531/alfred-workflow-packager/publish.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T11:09:53.034Z","repository_id":9481536,"created_at":"2025-08-17T11:09:53.034Z","updated_at":"2025-08-17T11:09:53.034Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","cli","python"],"created_at":"2025-12-14T05:21:36.887Z","updated_at":"2026-04-08T19:31:45.028Z","avatar_url":"https://github.com/caleb531.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alfred Workflow Packager\n\n*Copyright 2016-2025 Caleb Evans*  \n*Released under the MIT license*\n\nAlfred Workflow Packager is a command-line utility which makes the process of\npackaging and exporting an [Alfred](https://www.alfredapp.com/) workflow\nincredibly quick and easy. The utility supports Alfred 3 and up, on projects running Python 3 (Python 2 is no longer supported).\n\n## Setup\n\nYou can install the utility via `pip3`, either globally or within a virtualenv:\n\n```sh\npip3 install alfred-workflow-packager\n```\n\n## Usage\n\n### 1. Create configuration file\n\nOnce you've installed AWP, you must configure it for every project where you\nwish to use it. To do so, create a `packager.json` file in the root directory of\nyour project; this file configures AWP for that particular project.\n\n#### Example\n\n```json\n{\n  \"export_files\": [\n    \"Fruit.alfredworkflow\"\n  ],\n  \"bundle_id\": \"com.yourname.fruit\",\n  \"readme\": \"README.txt\",\n  \"resources\": [\n      \"icon.png\",\n      \"src/*.py\",\n      \"src/data/*.json\"\n  ]\n}\n```\n\n#### Required settings\n\n##### export_files\n\nThe paths of the exported workflows (relative to your project directory).\n\n##### bundle_id\n\nThe unique bundle ID of your workflow. You must have one set in the installed\nworkflow, or AWP will not be able to find your workflow when packaging.\n\n##### resources\n\nA list of zero or more files/folder patterns representing files or folders to\ncopy from your project to the installed workflow. The directory structures and\nfilenames are preserved when copying.\n\n*Local project:*\n\n```\n- icon.png\n- fruit\n    - apple.py\n    - banana.applescript\n    - orange.php\n```\n\n*Installed workflow (before running utility):*\n\n```\n- info.plist\n- special_file.json\n```\n\n*packager.json resources:*\n\n```json\n[\n    \"icon.png\",\n    \"fruit/*.json\"\n]\n```\n\n*Installed workflow (after running utility):*\n\n```\n- info.plist\n- icon.png\n- special_file.json\n- fruit\n    - apple.py\n    - banana.applescript\n    - orange.php\n```\n\nNote that files and folders already present in the installed workflow are *not*\ntouched if they are not in the *resources* list.\n\n#### Optional settings\n\n##### readme\n\nThe path to the README file to use for this workflow; the *About this Workflow*\nfield in your workflow is populated with the contents of this file.\n\n### 2. Run utility\n\nYou can run the utility via the `awp` command:\n\n```sh\nawp\n```\n\nRunning `awp` will copy those project resources listed in `packager.json` to\nthe installed workflow (in their respective locations), but only if their\ncontents or permissions have changed. If you ever need to ignore this equality\ncheck, you can force the copying of all files/directories by passing `--force`\n/ `-f`.\n\n```sh\nawp --force\n```\n\n```sh\nawp -f\n```\n\n#### Setting the workflow version\n\nPassing the `--version` option (also `-v`) to `awp` allows you to set the\nversion of the installed workflow directly. I highly recommend using [semantic\nversioning](http://semver.org/) to version your workflow releases.\n\n```sh\nawp --version 1.2.0\n```\n\n```sh\nawp -v 1.2.0\n```\n\n#### Exporting the workflow\n\nWhen you're pleased with your work and you're ready to publish a new release,\nyou can export the installed workflow to your project directory by passing the\n`--export` flag (or `-e`) to `awp`.\n\n```sh\nawp --export\n```\n\n```sh\nawp -e\n```\n\nNote that you can set the version and export the workflow simultaneously:\n\n```sh\nawp -v 1.2.0 -e\n```\n\n**New in AWP v1.1.0:** If you wish to temporarily export the workflow to a\ndifferent file (different from `export_files` in `packager.json`), you can\npass one or more optional paths to `--export`:\n\n```sh\nawp -v 1.3.0-beta.1 -e ~/Desktop/fruit-beta-alfred-5.alfredworkflow\n```\n\n### 4. Configure workflow objects\n\nThe last important step is to update any script objects in your workflow (*i.e.*\nobjects of type **Script Filter**, **Run Script**, *etc.*) to reference the\nfiles copied to the installed workflow directory.\n\nYou should set the *Language* to `/bin/bash` and use the appropriate shell\ncommand to call your script. Use `\"$@\"` if your input is passed as argv, or\n`\"{query}\"` if your input is passed as {query}.\n\n#### Python\n\n```sh\n/usr/bin/python3 -m fruit.apple \"$@\"\n```\n\n```sh\n/usr/bin/python3 -m fruit.apple \"{query}\"\n```\n\n#### AppleScript\n\n```sh\n/usr/bin/osascript fruit/banana.applescript \"$@\"\n```\n\n```sh\n/usr/bin/osascript fruit/banana.applescript \"{query}\"\n```\n\n#### PHP\n\n```sh\n/usr/bin/php fruit/orange.php \"$@\"\n```\n\n```sh\n/usr/bin/php fruit/orange.php \"{query}\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaleb531%2Falfred-workflow-packager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaleb531%2Falfred-workflow-packager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaleb531%2Falfred-workflow-packager/lists"}