https://github.com/Slackadays/Clipboard Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Blog * Solutions + For + Enterprise + Teams + Startups + Education + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} Slackadays / Clipboard Public * Notifications * Fork 9 * Star 864 Cut, copy, and paste anything, anywhere, all from the terminal. License GPL-3.0 license 864 stars 9 forks Star Notifications * Code * Issues 3 * Pull requests 0 * Actions * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Wiki * Security * Insights Slackadays/Clipboard This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 5 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/S] Use Git or checkout with SVN using the web URL. [gh repo clone Slacka] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @Slackadays Slackadays Fix Win, add config docs, add man, add dedup ... ad26acb Dec 27, 2022 Fix Win, add config docs, add man, add dedup ad26acb Git stats * 194 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github Update issue templates Dec 25, 2022 man Fix Win, add config docs, add man, add dedup Dec 27, 2022 src Fix Win, add config docs, add man, add dedup Dec 27, 2022 tests Add files and redirection test Dec 13, 2022 .gitignore Fix spinner thread issue Dec 22, 2022 CBDemo.png Add directory check, add demo image Dec 25, 2022 CMakeLists.txt Fix Win, add config docs, add man, add dedup Dec 27, 2022 LICENSE Initial commit Nov 20, 2022 README.md Fix Win, add config docs, add man, add dedup Dec 27, 2022 View code [ ] Clipboard How To Use Copy Cut Paste Pipe In Pipe Out Show Contents Clear Quick Installation Clone, Configure, & Compile Install Uninstall Actions Install AUR Install (Really) Simple Configuration CI FORCE_COLOR TMPDIR NO_COLOR Painless Documentation Fast Support README.md Clipboard Cut, copy, and paste absolutely anything anywhere you want, all from the comfort of your terminal! This is the missing clipboard system for the command line. * Zero-bloat: Clipboard rings in at mere kilobytes on most platforms. * Zero-config: Clipboard infers everything out of the box. * Zero-effort: Clipboard is carefully designed to be friendly to newbies and power users alike. * Zero-dependency: Clipboard works on any up-to-date Windows, Linux, Android, macOS, FreeBSD, OpenBSD, NetBSD, DragonFlyBSD, or OpenIndiana system, or anything that supports C++20, all with ZERO dependencies. Yes, really! * Zero-legacy: Clipboard carries zero (0) legacy baggage from the software of yore. * Universal: Clipboard supports English, Spanish, Portuguese, and Turkish locales. * A time-saver: Clipboard frees you from ugly, temporary directories and memorizing file locations! Clipboard Demo Image How To Use In all commands, you can substitute cb for clipboard. Add a number to the end of the action to choose which clipboard you want to use (the default is 0). Copy clipboard copy (file) [files] Examples: cb copy foo.txt launchcodes.doc clipboard copy1 MyDirectory cb copy800 bar.conf AnotherDirectory baz.txt Cut clipboard cut (file) [files] Examples: cb cut bar.txt baz.docx clipboard cut5 MyDirectory cb cut69 bar.conf AnotherDirectory baz.txt Paste clipboard paste Pipe In (something) | clipboard [copy] Pipe Out clipboard [paste] | (something) or clipboard [paste] > (some file) Show Contents clipboard show Clear clipboard clear Quick Installation Clone, Configure, & Compile git clone https://github.com/slackadays/Clipboard cmake Clipboard cmake --build . Install Platforms where you have sudo to install software (Linux, macOS, *BSD, OI): sudo cmake --install . OpenBSD: doas cmake --install . Windows: cmake --install . Uninstall Platforms where you have sudo to uninstall software (Linux, macOS, FreeBSD, OI): sudo xargs rm < install_manifest.txt OpenBSD: doas xargs rm < install_manifest.txt Windows: This is currently WIP Actions Install You can also install Clipboard by downloading the latest build from GitHub Actions. AUR Install Arch-Linux users can install the clipboard, clipboard-bin, or clipboard-git AUR package. (Really) Simple Configuration CI Set this environment variable to make Clipboard overwrite existing items without a user prompt when pasting. This variable is intended for Continuous Integration scripts where a live human is not present to make decisions. FORCE_COLOR Set this environment variable to make Clipboard always show color regardless of what you set NO_COLOR to. TMPDIR Set this environment variable to the directory that Clipboard will use to hold the items you cut or copy. NO_COLOR Set this environment variable to make Clipboard not show any colors. Painless Documentation Click here to go the Clipboard Wiki. Fast Support Click here to go to our Discord group. About Cut, copy, and paste anything, anywhere, all from the terminal. Topics macos linux c-plus-plus clipboard utility copy tool paste cut Resources Readme License GPL-3.0 license Stars 864 stars Watchers 5 watching Forks 9 forks Releases 5 0.1.3 Latest Dec 17, 2022 + 4 releases Contributors 4 * @Slackadays Slackadays Jackson Huff * @Zaryob Zaryob Suleyman Poyraz * @derspyy derspyy * @Antiz96 Antiz96 Robin Candau Languages * C++ 86.5% * Shell 8.3% * CMake 5.2% Footer (c) 2022 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.