{"id":13586655,"url":"https://github.com/isometry/alfred-pipe","last_synced_at":"2025-09-02T01:32:56.608Z","repository":{"id":43788844,"uuid":"70235018","full_name":"isometry/alfred-pipe","owner":"isometry","description":"Alfred workflow to pass selected text or clipboard through arbitrary shell one-liners","archived":false,"fork":false,"pushed_at":"2023-04-29T18:24:34.000Z","size":37,"stargazers_count":31,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T16:00:35.889Z","etag":null,"topics":["alfred","alfred-workflow","clipboard","oneliners","pipe","workflow"],"latest_commit_sha":null,"homepage":"","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/isometry.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":"2016-10-07T09:56:47.000Z","updated_at":"2025-01-13T15:54:30.000Z","dependencies_parsed_at":"2024-11-06T05:32:16.036Z","dependency_job_id":"700bee68-ee45-4ae6-bc9c-1324ea56e7d0","html_url":"https://github.com/isometry/alfred-pipe","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/isometry/alfred-pipe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isometry%2Falfred-pipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isometry%2Falfred-pipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isometry%2Falfred-pipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isometry%2Falfred-pipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isometry","download_url":"https://codeload.github.com/isometry/alfred-pipe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isometry%2Falfred-pipe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273218428,"owners_count":25065913,"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-01T02:00:09.058Z","response_time":120,"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","clipboard","oneliners","pipe","workflow"],"created_at":"2024-08-01T15:05:42.951Z","updated_at":"2025-09-02T01:32:56.590Z","avatar_url":"https://github.com/isometry.png","language":"Python","readme":"# pipe transformation workflow for Alfred\n\nAn [Alfred](http://www.alfredapp.com/) workflow enabling easy transformation of the current contents of the clipboard by piping through arbitrary shell one-liners.\n\n## Requirements\n\n- [Alfred](http://www.alfredapp.com/) (version 2.0+)\n- The [Alfred Powerpack](http://www.alfredapp.com/powerpack/).\n- Python 3 (`xcode-select --install` or [Homebrew](https://brew.sh/))\n\n## Usage\n\nTrigger the workflow by hotkey or keyword (default=`|`, override with the `keyword` variable) followed by an arbitrarily simple or complex shell one-liner to transform the contents of the clipboard in-place; optionally use the `Cmd`-modifier to immediately paste the results into the foreground app, or the `Alt`-modifier to show the results in large type.\n\nTwo hotkeys are configurable:\n\n- transform the current contents of the clipboard (like the keyword); recommended hotkey: `Ctrl-Cmd-\\`\n- transform the current selection in the foreground app; recommended hotkey: `Ctrl-Cmd-C`\n\nWhen triggered via hotkey, the leading keyword (e.g. `|`) is not required.\n\n### Examples\n\n- Transform to UPPERCASE: `| perl -nle 'print uc'` or `| tr a-z A-Z`\n- Base64 encode: `| base64`\n- Base64 decode: `| base64 --decode`\n- Top 10 unique lines with counts: `| sort | uniq -c | sort -rn | head -10`\n\n### Built-ins\n\nA number of example pipelines (including those above) are [built-in](https://github.com/isometry/alfred-pipe/raw/master/builtins.json).\n\nBuilt-ins can be disabled en-mass by setting the `load_builtins` variable to any value other than `yes`.\n\n### Aliases\n\nTo save repetitive typing, custom aliases can be defined with the following syntax:\n\n`| alias NAME=PIPE | LINE @@@`\n\nThe trailing `@@@` (override with the `alias_terminator` variable) terminates the alias definition and causes it to be saved.\n\n#### Examples\n\n- `| alias tac=sed '1!G;h;$!d' @@@`\n- `| alias top10=sort | uniq -c | sort -rn | head -10 @@@`\n\n#### Alias removal\n\nAny custom alias can be removed with:\n\n`| alias NAME=@@@`\n\n## Contributions \u0026 Thanks\n\n- ctwise\n","funding_links":[],"categories":["Python","Developer"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisometry%2Falfred-pipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisometry%2Falfred-pipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisometry%2Falfred-pipe/lists"}