Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skywind3000/CloudClip
Your own clipboard in the cloud, copy and paste text with gist between systems !!
https://github.com/skywind3000/CloudClip
Last synced: about 2 months ago
JSON representation
Your own clipboard in the cloud, copy and paste text with gist between systems !!
- Host: GitHub
- URL: https://github.com/skywind3000/CloudClip
- Owner: skywind3000
- License: mit
- Created: 2018-01-23T19:18:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-15T03:53:12.000Z (almost 7 years ago)
- Last Synced: 2024-08-02T07:10:39.085Z (5 months ago)
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 77
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-shell - CloudClip - Your own clipboard in the cloud, copy and paste text with gist between different systems (Command-Line Productivity)
README
# CloudClip
Your own clipboard in the cloud, copy and paste text with gist. Inspired by pbcopy/pbpaste from Mac OS X.
## Tutorial
Copy text on a remote system to the cloud:
echo "Hello, Cloud Clipboard" | cloudclip -c
Paste on a local system from the cloud:
cloudclip -p
And you will see the text coppied from the remote system:
Hello, Cloud Clipboard
Same access token and gist id must be setup before copy/paste, see below
## Installation
Clone the repository from github:
```bash
git clone https://github.com/skywind3000/CloudClip.git
```Add repository path to your `$PATH`:
For linux, add these line at the bottom of your `.bashrc`:
export PATH="/path-to-cloud-clip:$PATH"
For Windows:
Manully setup the PATH in your control panel.
## Documentation
usage: python cloudclip.py [...]
operations:```bash
-i [id] Initialize token and id, create a new gist if id is empty
-c [name] Takes the standard input and places it in the cloud
-p [name] Read content from cloud and output to standard output
-l List information of the gist
-e Clean the clipboard
```A github access token is needed before everything, you can generate a new one from: https://github.com/settings/tokens
Create a new gist with "-i token" on your own PC, remember the gist id. then use "-i token id" on a remote one which you may exchange data with.
## Aliases
For convenience, two aliases can be created:
```bash
alias cloudcopy='python /path/to/cloudclip.py -c'
alias cloudpaste='python /path/to/cloudclip.py -p'
```## Requirement
* Python 2
* [requests](http://www.python-requests.org/en/master/)Install requests with pip:
pip install requests
## Credit
TODO