{"id":24148863,"url":"https://github.com/metaory/yx","last_synced_at":"2025-03-25T19:28:12.525Z","repository":{"id":224243559,"uuid":"762792511","full_name":"metaory/yx","owner":"metaory","description":"clipboard-centric command executor","archived":false,"fork":false,"pushed_at":"2025-01-01T16:04:32.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T17:07:00.565Z","etag":null,"topics":["cli","clipboard","command","command-line","copy","copy-to-clipboard","xargs","xclip","xsel","yank"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/metaory.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":"2024-02-24T17:50:04.000Z","updated_at":"2025-01-01T16:04:36.000Z","dependencies_parsed_at":"2024-02-24T19:31:05.786Z","dependency_job_id":"52e1714f-30e7-48ea-8bba-aa0bebb7613b","html_url":"https://github.com/metaory/yx","commit_stats":null,"previous_names":["metaory/xyank","metaory/yx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fyx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fyx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fyx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fyx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metaory","download_url":"https://codeload.github.com/metaory/yx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245529303,"owners_count":20630341,"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":["cli","clipboard","command","command-line","copy","copy-to-clipboard","xargs","xclip","xsel","yank"],"created_at":"2025-01-12T08:03:37.709Z","updated_at":"2025-03-25T19:28:12.491Z","avatar_url":"https://github.com/metaory.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"YX\n==\n\nClipboard-centric command executor\n\nUSAGE\n-----\n\n```sh\nyx X|Y [STR...]    # exec|yank args (case insensitive)\n[CMD...] | yx x|y  # exec|yank pipe\n```\n\nEXAMPLES\n--------\n\n```sh\n# basic usage\nyx y hi           → hi\necho hi | yx y    → hi\n\n# with args\nyx X date         → Sun Feb 25 00:00:00 AM +00 2024\ndate | yx Y now:  → Sun Feb 25 00:00:00 AM +00 2024 now:\n\n# command output\necho ls | yx x    → file1 file2 file3\necho date | yx X +%s → 1708796381\n```\n\nINSTALL\n-------\n\n```sh\n# requires xsel\ngit clone https://github.com/metaory/yx.git \u0026\u0026 cd yx \u0026\u0026 chmod +x yx \u0026\u0026 ln -sfv $PWD/yx ~/.local/bin/\n```\n\nSHELL\n-----\n\n```sh\nalias -g YY='| yx y'  # pipe→yank\nalias -g YX='| yx x'  # pipe→exec\nalias yy='yx y'       # args→yank\nalias yx='yx x'       # args→exec\n```\n\nENV\n---\n\n`YX_SILENT=1` suppress output\n\nSEE\n---\n\n[`yank`] [`xsel`] [`xset`] [`xclipboard`] [`wiki.archlinux/Clipboard`]\n\n[MIT](LICENSE)\n\n[`yank`]: https://man.archlinux.org/man/yank.1\n[`xsel`]: https://man.archlinux.org/man/xsel.1\n[`xset`]: https://man.archlinux.org/man/xset.1\n[`xclipboard`]: https://man.archlinux.org/man/xclipboard.1\n[`wiki.archlinux/Clipboard`]: https://wiki.archlinux.org/title/Clipboard\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaory%2Fyx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetaory%2Fyx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaory%2Fyx/lists"}