Giter Club home page Giter Club logo

clipsync's Introduction

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

clipsync's People

Contributors

cezarmathe avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.