GithubHelp home page GithubHelp logo

clipboard-cli's Introduction

clipboard-cli

Access the system clipboard (copy/paste) - cross-platform

Supports: macOS, Windows, Linux, OpenBSD, FreeBSD, Android with Termux.

Install

npm install --global clipboard-cli

Usage

clipboard --help

Example
  $ echo ๐Ÿฆ„ | clipboard
  $ clipboard
  ๐Ÿฆ„

Tip

Run it with $ cb instead by adding alias cb=clipboard to your .zshrc/.bashrc.

Related

clipboard-cli's People

Contributors

hurtak avatar richienb avatar sindresorhus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

clipboard-cli's Issues

Self-Contained Executables

Hey folks! I'm new to this repository, but I'm a huge fan of this tool and would love to help improve it where I can.

Personally, I think the next step for this tool is to have self-contained executables that could be installed via Chocolatey, Brew, etc. I forked the repo and did some testing on my end and I've not had any issues with the built executables.

I'd be more than happy to continue this work and set up distribution via Chocolatey, Brew, etc., I just don't wanna do this if there's no interest so I figured I'd ask before continuing forward :)

Does not work on Ubuntu 16.10

Hi,

clipboard-cli does not seem to work on Ubuntu

  • I installed with npm install --global clipboard-cli
  • versions
    • os: Ubuntu 16.04.1 LTS
    • node: v7.2.0
    • npm: 3.10.9
hurtak@dell-latitude:~$ echo "hello" | clipboard 
hurtak@dell-latitude:~$ clipboard 
null

Not working in tmux

When running inside tmux it will throw error. Seems like it is the underlying clipboardy that does not handle tmux environment well.

    at Function.module.exports.sync (clipboard-cli/node_modules/execa/index.js:277:26)
    at Object.pasteSync (clipboard-cli/node_modules/clipboardy/lib/macos.js:10:27)
    at Object.exports.readSync (clipboard-cli/node_modules/clipboardy/index.js:41:37)
    at Object.<anonymous> (clipboard-cli/cli.js:15:25)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.