clipsync

command module
v0.0.0-...-de4d3f4 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 13 Imported by: 0

README

clipsync

Clipboard synchronization that JustWorks™ (for plain text).

NOTE This is a work-in-progress.

NOTE This is the quickest MVP that I could pull together, I needed a clipboard synchronization solution that JustWorks™ ASAP.

NOTE Intended for plaintext clipboards.

NOTE Did a quick test with a Windows machine, this was treated as malware and it also did not work. I'm not going to test further as I do not use Windows myself but let me know if you find anything of interest on this!

Usage

go run main.go

How this works

clipsync advertises a _clipsync._tcp service on local via zeroconf to be able to join other peers. It also runs a small HTTP server that updates the clipboard when it receives a request. Each time the clipboard is updated on one peer it sends an HTTP request to all other peers. Each time a peer receives an HTTP request it updates the clipboard of the system.

Why?

I use an M1 Mac as my main machine but I run an Arch Linux VM that serves as a development box. I'm using Parallels as the hypervisor and clipboard syncrhonization is not supported for Wayland - I'm running sway.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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