Repository navigation
v0.1.0 — first release
First release, now on the VS Code Marketplace.
Paste any file — zip, video, PDF, anything — from your Mac clipboard into a VS Code terminal. In a Remote-SSH window the file is uploaded and the remote path is typed at your prompt, so a terminal agent like Claude Code can read it immediately.
Why it's different
Existing paste extensions are image-only and run on the remote host, reaching your Mac clipboard through a webview and shipping bytes back as base64 — hence their ~10 MB caps. navigator.clipboard.read() also cannot see Finder-copied files at all.
Clip2Remote declares "extensionKind": ["ui"] so the extension host runs on your Mac, reads the real pasteboard natively, and streams the file with scp. No base64, no webview, no size ceiling.
Included
- Multi-file clipboard, filenames with spaces, and in-memory screenshots (TIFF → PNG conversion, since macOS often puts only TIFF on the pasteboard).
- Unchanged files are never re-uploaded; optional SSH connection multiplexing (measured 397 ms → 38 ms per round trip).
- Inert in local windows by default —
Cmd+Vreturns to VS Code before the clipboard is even probed. - Non-file clipboard content always falls through to a normal paste.
Verified
macOS 26.5.2 client against both Linux and macOS remotes over Remote-SSH: extension host confirmed running locally, authority resolved from the real window, upload integrity MD5-matched, deduplication and terminal injection confirmed.
macOS clients only for now — see the README's Portability section for the seam another platform would need.
Install
From the marketplace, or download the .vsix below and run code --install-extension clip2remote-0.1.0.vsix.