{"id":14235622,"url":"https://github.com/mufeedvh/seclip","last_synced_at":"2025-07-06T08:35:07.345Z","repository":{"id":53160287,"uuid":"354270730","full_name":"mufeedvh/seclip","owner":"mufeedvh","description":"A CLI utility to secretly copy secrets to clipboard. :lock::memo:","archived":false,"fork":false,"pushed_at":"2022-02-12T11:00:42.000Z","size":81,"stargazers_count":46,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-13T20:34:06.344Z","etag":null,"topics":["cli","clipboard","command-line","pgp","pgp-key","privacy","privacy-tools","private-key","rust","secrets","secrets-management","ssh","ssh-key","utility"],"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/mufeedvh.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}},"created_at":"2021-04-03T11:11:08.000Z","updated_at":"2025-06-09T14:04:45.000Z","dependencies_parsed_at":"2022-09-26T20:31:42.694Z","dependency_job_id":null,"html_url":"https://github.com/mufeedvh/seclip","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mufeedvh/seclip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fseclip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fseclip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fseclip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fseclip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mufeedvh","download_url":"https://codeload.github.com/mufeedvh/seclip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fseclip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260508239,"owners_count":23019658,"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-line","pgp","pgp-key","privacy","privacy-tools","private-key","rust","secrets","secrets-management","ssh","ssh-key","utility"],"created_at":"2024-08-20T21:02:09.919Z","updated_at":"2025-07-06T08:35:07.329Z","avatar_url":"https://github.com/mufeedvh.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# `seclip` :lock::memo:\n\nA CLI utility to secretly copy secrets to your clipboard. :crab:\n\n[![crates.io](https://img.shields.io/crates/v/seclip.svg)](https://crates.io/crates/seclip)\n[![LICENSE](https://img.shields.io/github/license/mufeedvh/seclip.svg)](https://github.com/mufeedvh/seclip/blob/master/LICENSE)\n[![tweet](https://img.shields.io/twitter/url/https/github.com/mufeedvh/seclip.svg?style=social)](https://twitter.com/intent/tweet?text=seclip%20-%20A%20CLI%20utility%20to%20secretly%20copy%20secrets%20to%20clipboard:\u0026url=https%3A%2F%2Fgithub.com%2Fmufeedvh%2Fseclip)\n\n\u003ch1 align=\"center\"\u003e\n  \u003ca href=\"https://github.com/mufeedvh/seclip\"\u003e\u003cimg src=\"screenshots/seclip-screenshot.png\" alt=\"seclip\"\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\n## Table of Contents\n\n* [Features](#features)\n* [Installation](#installation)\n* [Usage](#usage)\n* [Build From Source](#build-from-source)\n* [Contribution](#contribution)\n* [License](#license)\n* [Support The Author](#liked-the-project)\n\n## Features\n\n- **Cross-platform**.\n- Copy secret values from files. (`ssh key`, `pgp key`, `github/gitlab token`, `private keys`, etc.)\n- Copy secret values from environment variables.\n- **Self-destruct:** Automatically clear clipboard after a given timeout.\n\n## Installation\n\nOn Linux you'll need the `xcb`, `xcb-render`, `xcb-shape`, and `xcb-xfixes` X11 libraries at compile time. On Ubuntu, you can install these with:\n\n```bash\n$ sudo apt-get install libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev\n```\n\nDownload the latest binary for your OS from [Releases](https://github.com/mufeedvh/seclip/releases) OR install with `cargo`:\n\n    $ cargo install seclip\n\n## Usage\n\nGet utility info and the list of all the arguments:\n\n    $ seclip -h\n\nCopy a value from a file\n\n    $ seclip ~/.ssh/id_rsa\n\nCopy a value from environment variable\n\n    $ seclip ENV_VAR\n\nCopy a value and self-destruct the value from clipboard after a given timeout (in seconds) **(-c/--clear)**\n\n    $ seclip ~/.ssh/id_rsa -c 20\n\n## How is it useful?\n\nWhen working in shared environments, sharing your screen, or you're at a public place, reading secret tokens could expose it to prying eyes, that's where `seclip` can help you. Just give the path to the private key or the environment variable, the secret value will be copied to your clipboard. In instances where you might forget that you copied a secret value, you can use the `-c` / `--clear` feature to automatically clear your clipboard in a given time.\n\nYou can also use this as a fast shortcut to copy any file contents to clipboard!\n\n## Build From Source\n\n### Prerequisites\n\nOn Linux you'll need the `xcb`, `xcb-render`, `xcb-shape`, and `xcb-xfixes` X11 libraries at compile time. On Ubuntu, you can install these with:\n\n```bash\n$ sudo apt-get install libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev\n```\n\nFor building `seclip` from source, you need to have these tools installed\n\n* [Git](https://git-scm.org/downloads)\n* [Rust](https://rust-lang.org/tools/install)\n* Cargo (Automatically installed when installing Rust)\n* A C linker (Only for Linux, generally comes pre-installed)\n\n```\n$ git clone https://github.com/mufeedvh/seclip.git\n$ cd seclip/\n$ cargo build --release\n```\n\nThe first command clones the `seclip` repository in your local machine. The next two commands changes into the `seclip` directory and builds it in release mode.\n\n## Contribution\n\nWays to contribute\n- Suggest a feature\n- Report a bug\n- Fix something and open a pull request\n- Help me document the code\n- Spread the word\n\n## License\n\nLicensed under the MIT License, see \u003ca href=\"https://github.com/mufeedvh/seclip/blob/master/LICENSE\"\u003eLICENSE\u003c/a\u003e for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmufeedvh%2Fseclip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmufeedvh%2Fseclip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmufeedvh%2Fseclip/lists"}