You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/mheers/clipboard-sync

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/mheers/clipboard-sync

v0.0.0-20241126144601-19dbd86312ff
Source
Go
Version published
Created
Source

Clipboard sync

Syncs the clipboard over multiple machines and operating systems.

Create seeds for the docker-compose file

make create-seeds

Add the resulting lines to the .env

Create a credentials file

make create-credentials

Usage in corporate networks

In many corporate networks, the clipboard sync will not work out of the box. This is because the nats server is not reachable.

As secure way - without using a local VPN - is to use a ssh tunnel in the browser.

The approach will use

  • tailscale on the local machine
    • on this run the docker-compose from github.com/mheers/docker-ssh-server
    • exec into the container as client and run screen -S shared
  • https://webvm.io on the corporate machine
    • in this connect to tailscale
    • in this connect to the ssh server using client:client as user:password and 2244 as port
    • in this run screen -x shared

TODO

  • directly read the .creds file
  • add a way to specify the nats server
  • sync keyboard directly
  • use headless chrome to sync the clipboard

FAQs

Package last updated on 26 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts