pbgopy-clip

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2020 License: MIT Imports: 10 Imported by: 0

README

pbgopy-clip

Automatically sync clipboard with multiple devices.

You can basically CTRL C on one device and CTRL V on another :)

Go

Requisites

This program depends on atotto/clipboard. You need to have a clipboard utitlity available. Please install xsel, xclip, wl-clipboard or Termux:API add-on for termux-clipboard-get/set.

Install pbgopy, pbgopy-clip syncs clipboard data over the pbgopy server.

Usage

You need to start the pbgopy server. It listens on port 9090 by default.

pbgopy serve

Export the address of the server on each device you want their clipboard synced.

export PBGOPY_SERVER=http://foo.bar:9090

Start pbgopy-clip on each of the devices too

pbgopy-clip

As long as pbgclip runs, the clipboard of the device will be kept in sync with the other devices, using the pbgopy server as a backend.

Build

Go
go get github.com/thealamu/pbgopy-clip

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL