Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Oct 29, 2021. It is now read-only.

Pushpavel/clipboard_sync

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clipboard_sync

A flutter app that syncs clipboards between devices in the same LAN using Interprocess communication (Sockets).

What it does ?

group of devices on same network and with clipboard_sync running, keep their clipboards in sync . whenever a device copies a text, it will be shared with other devices.

How it works ?

🌍 Establishing connection

  • each device opens a serverSocket.
  • devices with no connections advertise its deviceId via UDP Broadcast.
  • devices with lexicographically higher deviceId respond with its configuration.
  • devices connect to the first received configuration via TCP Sockets.

🔌 Syncing clipboard

  • polls the system clipboard to detect changes.
  • clipboard changes are shared via the established TCP Sockets.
  • incoming clipboard changes are also forwarded to other devices.
  • each clipboard change message contains a timestamp, through which older messages are ignored when received.

Getting Started in Flutter

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

About

Flutter app that syncs clipboards between devices in the same local network.

Topics

Resources

Stars

Watchers

Forks

Morty Proxy This is a proxified and sanitized view of the page, visit original site.