Skip to content

ru44/CloudyClipy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

17360f7 · Dec 22, 2024

History

18 Commits
Dec 22, 2024
Nov 27, 2024
Dec 22, 2024
Nov 24, 2024
Nov 24, 2024
Nov 27, 2024
Nov 24, 2024
Nov 24, 2024
Nov 24, 2024
Nov 27, 2024
Dec 22, 2024
Nov 27, 2024
Dec 19, 2024
Dec 22, 2024
Dec 22, 2024
Nov 24, 2024
Dec 22, 2024
Dec 19, 2024
Nov 27, 2024
Dec 19, 2024

Repository files navigation

CloudyClipy

Your own clipboard in the cloud

it use gist to store your clipboard data inspired by CloudClip

prerequisites

  • nodejs
  • npm or yarn or pnpm or bun
  • github account
  • generate a github token

Installation

npm i -g cclip

or

yarn global add cclip

or

npx cclip

or

pnpm add -g cclip

or

bun install -g cclip

Usage

so first you need to create a github token

A github access token is needed before everything, you can generate a new one from: https://github.com/settings/tokens

then you can use the following commands

cclip init "your-github-token"

it will generate a config file in your home directory with the gist id

after that you can use the following commands

when you want to copy something

cclip copy "the name of gist"

when you want to paste something

cclip paste "the name of gist"

for more information you can use

cclip --help

now you will have in your clipboard the content of the gist

Troubleshooting

if you faced this issue with paste and looks like this

Command failed: C:\Users\Yourusername\WhereYouSavedYourClipBoard\node_modules\.pnpm\clipboardy@4.0.0\node_modules\clipboardy\fallbacks\windows\clipboard_x86_64.exe --paste thread 'main' panicked at 'Error: Could not paste from clipboard: Error { repr: Os { code: 0, message: "The operation completed successfully." } }', src\libcore\result.rs:906:4 note: Run with RUST_BACKTRACE=1 for a backtrace.

You will find the path where the clipboard_x86_64.exe is located in the error and try to do this github issue

C:\Users\Yourusername\WhereYouSavedYourClipBoard\node_modules.pnpm\clipboardy@4.0.0\node_modules\clipboardy\fallbacks\windows\clipboard_x86_64.exe