{"id":20108785,"url":"https://github.com/MartinGamesCZ/Clippy","last_synced_at":"2025-05-06T09:33:14.325Z","repository":{"id":253571619,"uuid":"843899262","full_name":"MartinGamesCZ/Clippy","owner":"MartinGamesCZ","description":"Linux CLI tool for managing and working with the clipboard","archived":false,"fork":false,"pushed_at":"2024-08-18T10:49:51.000Z","size":19,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-18T20:03:29.784Z","etag":null,"topics":["cli","clipboard","linux","tools"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/MartinGamesCZ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-08-17T18:53:56.000Z","updated_at":"2024-08-18T11:47:59.000Z","dependencies_parsed_at":"2024-08-17T19:59:08.173Z","dependency_job_id":"2d4960d0-93c2-4d4c-9c8f-e03f33ad2173","html_url":"https://github.com/MartinGamesCZ/Clippy","commit_stats":null,"previous_names":["martingamescz/clippy"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinGamesCZ%2FClippy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinGamesCZ%2FClippy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinGamesCZ%2FClippy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinGamesCZ%2FClippy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MartinGamesCZ","download_url":"https://codeload.github.com/MartinGamesCZ/Clippy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252657493,"owners_count":21783832,"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","linux","tools"],"created_at":"2024-11-13T18:01:37.582Z","updated_at":"2025-05-06T09:33:14.319Z","avatar_url":"https://github.com/MartinGamesCZ.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Clippy\nLinux CLI tool for managing clipboard.\n\n## Installation\n\n1. Get the latest `.deb` package from the [releases](https://github.com/MartinGamesCZ/Clippy/releases) page.\n2. Install the package using `sudo dpkg -i path_to_clippy.deb`.\n3. You are now ready to use Clippy.\n\n## Usage\n\nClippy can be used using the command `clippy`.\n\n### Commands\n- `clippy copy` - Copy the piped text to the clipboard.\n- `clippy paste` - Paste the clipboard content to the terminal / pipe into another process/file.\n- `clippy help` - Show help message (list of commands).\n- `clippy history` - Show the history of the clipboard.\n- `clippy` - Default command, action will be determined by the available pipes.\n\n#### Flags\n\nYou can combine the commands with flags:\n- `-h` or `--history` - While pasting, you can use this flag to paste nth item from the history.\n\n### Pipes\nYou can pipe clippy to other files or processes.\n\n#### Copy\n\nFor example, you can pipe output of a `pwd` command into clippy:\n\n```bash\n# Using copy command\npwd | clippy copy\n\n# You can also use the command without the copy argument\npwd | clippy\n```\n\nThis will copy the current working directory to the clipboard.\n\n#### Paste\n\nYou can also pipe clippy to other commands:\n\n```bash\n# Using paste command\nclippy paste | xargs ls -l\n\n# You can also use the command without the paste argument\nclippy | xargs ls -l\n```\n\nThis will list the content of the path in the clipboard.\n\nYou can also use it as an argument for a command:\n\n```bash\n# Using paste command\nls -l $(clippy paste)\n\n# You can also use the command without the paste argument\nls -l $(clippy)\n```\n\nThis will list the content of the path in the clipboard.\n\nOr you can paste it into a file:\n\n```bash\n# Using paste command\nclippy paste \u003e file.txt\n\n# You can also use the command without the paste argument\nclippy \u003e file.txt\n```\n\nThis will paste the content of the clipboard into the file.\n\n## Support us\n\nThis project is free and will always be. If you want to support us, you can donate to the project or give us a star on GitHub.\nIf you want to donate, contact me.\n\n## Maintainers\n- [Martin Petr](https://github.com/MartinGamesCZ)\n\n## License\n\nUse this tool as you wish, for free, even commercially. Just don't claim it as your own and don't blame me for anything. If you want to support me or the project, you can donate.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMartinGamesCZ%2FClippy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMartinGamesCZ%2FClippy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMartinGamesCZ%2FClippy/lists"}