Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krsoninikhil/cloud-clipboard
Share your clipboard across the devices
https://github.com/krsoninikhil/cloud-clipboard
clipboard django-rest-framework kivy python
Last synced: 2 months ago
JSON representation
Share your clipboard across the devices
- Host: GitHub
- URL: https://github.com/krsoninikhil/cloud-clipboard
- Owner: krsoninikhil
- License: mit
- Created: 2017-04-04T00:48:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-10T19:43:19.000Z (over 7 years ago)
- Last Synced: 2024-09-30T08:40:52.483Z (3 months ago)
- Topics: clipboard, django-rest-framework, kivy, python
- Language: Python
- Homepage:
- Size: 31.6 MB
- Stars: 18
- Watchers: 3
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cloud-clipboard
> I need a url on my mobile. Don't want to type it. Don't want to message myself.
Cloud Clipboard shares the data on clipboard across your devices. So it allows to copy on one device and paste on another.
Currently supported platforms: Linux, Windows, Android
# Setup
- Download or clone this repo and change your directory to it. You only need `cloud.py` on desktop.
- This scipt depends on `requests` and `pyperclip` python package, the later one also uses `xsel` system package. So install them by running```bash
pip install requests pyperclip
apt-get install xsel
```- Register yourself by running
```bash
python cloudcb.py register
```- Replace `` with your username and `` with your password.
- Install this [apk](https://github.com/krsoninikhil/cloud-clipboard/raw/master/mobile/bin/CloudClipboard-1.0-debug.apk) on your mobile.# Adding keyboard shortcuts
- Run the script with keyboard shortcuts analogous to `Ctrl + C` and `Ctrl + V`
### For Linux
- Add a keyboard shortcut `Alt + C` to run the below command
```bash
gnome-terminal --command "python3 /home/nks/Projects/cloud-clipboard/cloudcb.py copy "
```- Add another keyboard shortcut `Alt + P` to run the below command
```bash
gnome-terminal --command "python3 /home/nks/Projects/cloud-clipboard/cloudcb.py paste "
```### For Windows
- Right click and select `New -> Shortcut`
- Add the following line as path location and click OK```bash
C:\Windows\System32\cmd.exe /c python C:\Users\nik\Downloads\cloudcb.py copy
```- Replace the file path accordingly.
- Right click on shortcut icon and go to `properties`.
- Type the suitable keyboard shortcut and click Apply.# Instructions to use
- Copy the text.
- Execute this command to copy to cloud-clipboard if you are on desktop or just press `Alt + C` if you have added the shortcut```bash
python cloudcb.py copy
```- Open the app on your mobile to get that text on mobile's clipboard.
- Execute this command to update your desktop's clipboard to the text copied on other devices or just press `Alt + P````bash
python cloudcb.py paste
```# License
[MIT License](https://nks.mit-license.org/)