Skip to content

Repository files navigation

CopyPasta

Cross-platform clipboard and file sharing between Windows and Linux over SSH.

Features

  • Clipboard sync — bidirectional clipboard sharing with auto-poll or manual push/pull
  • File explorer — SFTP browser with upload, download, new folder, delete, and drag-and-drop
  • Saved connections — store multiple SSH profiles (password or private key auth)
  • Runs on Windows & Linux — single Electron app, packaged as .exe or AppImage/.deb

Requirements

On the remote Linux machine

One of the following clipboard tools must be installed:

  • xclipsudo apt install xclip
  • xselsudo apt install xsel
  • wl-clipboardsudo apt install wl-clipboard (Wayland)

On the host (Windows or Linux)

  • Node.js 18+ (for development)

Development

npm install
npm run dev

Build

# Linux (AppImage + .deb)
npm run build:linux

# Windows (.exe NSIS installer)
npm run build:win

Output is placed in the dist/ directory.

Architecture

Electron main process
  └─ ssh-manager.js   SSH/SFTP via ssh2 npm package
  └─ IPC handlers     clipboard, sftp, profile management

Preload script
  └─ contextBridge    safe IPC API exposed to renderer

React renderer (Vite)
  ├─ ConnectionPanel  SSH profile management
  ├─ ClipboardSync    live clipboard view + sync controls
  └─ FileExplorer     SFTP file browser

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages