{"repo":"aymanbagabas/shcopy","free":true,"listed":false,"github":"https://github.com/aymanbagabas/shcopy","clone":"git clone https://github.com/aymanbagabas/shcopy.git","description":"📋 Copy text to your system clipboard locally and remotely using ANSI OSC52 sequence","language":"Go","stars":85,"topics":["shell","ssh","telnet","terminal"],"license":"MIT","category":"cli-tools","readme_excerpt":"shcopy Sh ell Copy is a simple utility that copies text to the clipboard from anywhere using ANSI OSC52 sequence. It works with local terminals (/dev/tty\\ ) and remote terminals (SSH, Telnet). Think of this as a tool like xclip or pbcopy but also works over SSH. Example Installation Go Install Homebrew Debian/Ubuntu Fedora Arch Linux Nix NUR Scoop (Windows) You can also download the latest binaries and packages from the releases page. Supported Terminals This is a non-exhaustive list of the status of popular terminal emulators regarding OSC52 [^1]: Terminal OSC52 support ----------------------------------------------------------------------------------------- :------------------------------------------------------------------------------------------------------------------------------: Alacritty yes foot yes GNOME Terminal (and other VTE-based terminals) not yet hterm (Chromebook) yes iTerm2 yes kitty yes Konsole not yet QTerminal not yet screen yes st yes (but needs to be enabled, see here) Terminal.app no, but see workaround tmux yes Windows Terminal yes rxvt yes (to be confirmed) urxvt yes (with a script, see here) xterm.js (Hyper terminal) not yet wezterm yes [^1]: Originally copied from vim-oscyank Tmux To use shcopy within a tmux session, make sure that the outer terminal supports OSC 52, and use one of the following options: 1. Configure tmux to allow programs to access the clipboard (recommended). The tmux set-clipboard option was added in tmux 1.5 with a default of o","default_branch":null,"files":null,"tree":[],"storefront":"/r/aymanbagabas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aymanbagabas/shcopy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}