{"id":13437455,"url":"https://github.com/yaa110/cb","last_synced_at":"2025-03-19T06:31:12.324Z","repository":{"id":37888451,"uuid":"185026308","full_name":"yaa110/cb","owner":"yaa110","description":"Command line interface to manage clipboard","archived":true,"fork":false,"pushed_at":"2023-06-14T16:10:35.000Z","size":105,"stargazers_count":83,"open_issues_count":10,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-27T21:51:40.218Z","etag":null,"topics":["cli","clipboard","linux","rust"],"latest_commit_sha":null,"homepage":null,"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/yaa110.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}},"created_at":"2019-05-05T12:08:21.000Z","updated_at":"2024-05-14T23:16:33.000Z","dependencies_parsed_at":"2024-01-30T02:59:50.013Z","dependency_job_id":null,"html_url":"https://github.com/yaa110/cb","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaa110%2Fcb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaa110%2Fcb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaa110%2Fcb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaa110%2Fcb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaa110","download_url":"https://codeload.github.com/yaa110/cb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244371044,"owners_count":20442330,"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","rust"],"created_at":"2024-07-31T03:00:57.189Z","updated_at":"2025-03-19T06:31:10.489Z","avatar_url":"https://github.com/yaa110.png","language":"Rust","funding_links":[],"categories":["Applications","应用程序 Applications","应用","应用 Applications","Rust"],"sub_categories":["Utilities","公用事业公司 Utilities","实用","公用事业 Utilities"],"readme":"# cb\n\n[![Build Status](https://travis-ci.org/yaa110/cb.svg?branch=master)](https://travis-ci.org/yaa110/cb) [![Download](https://img.shields.io/badge/download-0.1.0-blue.svg)](https://github.com/yaa110/cb/releases/download/0.1.0/cb)\n\nCommand line interface to manage clipboard\n\n## How to install\n\n### Pre-Compiled\n\nyou can download a [pre-compiled executable](https://github.com/yaa110/cb/releases), then you should copy that executable to `/usr/bin` or add it to your `$PATH` env. Do not forget to `chmod +x cb`.\n\n#### Distribution packages\n\nUsers of **Arch Linux** can install package from AUR:\n\n* Precompiled release: [cb-bin](https://aur.archlinux.org/packages/cb-bin/) (*Only x64 is supported*)\n* Build latest release: [cb](https://aur.archlinux.org/packages/cb/)\n* Build from master: [cb-git](https://aur.archlinux.org/packages/cb-git/)\n\n### Build Manually\n\n- Install rust: `curl -sSf https://sh.rustup.rs | sh`\n- Install packages: `xorg-dev` and `build-essential`\n- Run `make \u0026\u0026 sudo make install`\n\n## How to use\n\n- Copy text: `cb -t \"Text to be copied\"`\n- Paste copied text: `cb -p`\n- Copy from stdin: `cat file | cb`\n\n## Usage\n\n```sh\nUsage: cb [OPTIONS]\n\nOptional arguments:\n  -h, --help       Prints the help message\n  -V, --version    Prints the version\n  -p, --paste      Pastes the content of clipboard\n  -c, --clear      Clears the content of clipboard\n  -s, --server     Starts server as a daemon\n  -r, --raw        Do not print newline after pasting the content\n  -t, --text TEXT  Store TEXT into clipboard\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaa110%2Fcb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaa110%2Fcb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaa110%2Fcb/lists"}