All your computers and your phone/iPhone, working as one desk. Screens, apps, files, clipboard, calls, texts, notifications, mouse and keyboard, shared between Mac, Windows, Linux , Android, Web and ios / ipados . Free and open source. No account, no cloud, and no shared network needed.
JavaScript androidapple-ecosystemconnectelectronfile-sharingintel-unison-alternativeiosios-windowskde-connect-alternativekvmlinuxmacbookmacosmouse-sharingphone-link-alternativeproductivityscreen-sharingsidecar-alternativesynergy-alternativewindows
// The receiving side of the sharing map (shared/screen-place.js): one window fills a monitor, several share it.
'use strict';
const assert = require('assert');
const Module = require('module');
const displays = [{ id: 1, workArea: { x: 0, y: 0, width: 1920, height: 1040 } }, { id: 2, workArea: { x: 1920, y: 0, width: 2560, height: 1400 } }];
const orig = Module._load;
Module._load = function (req, ...rest) { return req === 'electron' ? { screen: { getAllDisplays: () => displays } } : orig.call(this, req, ...rest); };
const P = require('../screen-place.js');
const win = () => ({ b: null, isDestroyed: () => false, isFullScreen: () => false, isMaximized: () => false, setAspectRatio() {}, setBounds(b) { this.b = b; } });
const a = win(), b = win(), c = win();
P.set('a', a, '2');
assert.deepStrictEqual(a.b, { x: 1920, y: 0, width: 2560, height: 1400 }, 'alone: fills the monitor');
P.set('b', b, '2');
assert.deepStrictEqual([a.b.width, b.b.x], [1280, 3200], 'two: side by side');
P.set('c', c, '2');
assert.strictEqual(c.b.y, 700, 'three: a 2 × 2 grid');
P.drop('c');
P.set('b', b, '1');
assert.deepStrictEqual(a.b.width, 2560, 'b moved away: a fills it again');
assert.deepStrictEqual(b.b.x, 0, 'b on monitor 1');
const d = win();
P.set('d', d, '9');
assert.strictEqual(d.b, null, 'a monitor not here: nothing moves');
P.set('a', a, '');
assert.strictEqual(P.of('a'), '', 'no place');
console.log('screen-place ok');