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
/* TwinDesk — Copyright (C) 2026 inukaasith. GPL-3.0, see LICENSE. */
/* The switching popup, same look as mac/hud.css. */
html, body { margin: 0; height: 100%; background: transparent; overflow: hidden; font: 14px system-ui, "Ubuntu", "Cantarell", "Noto Sans", sans-serif; }
body { display: grid; place-items: center; }
.pill {
display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 22px;
background: rgba(32, 32, 34, 0.92); color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
opacity: 0; transform: translateY(10px) scale(0.96);
transition: opacity 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@media (prefers-color-scheme: light) { .pill { background: rgba(250, 250, 252, 0.95); color: #1d1d1f; } }
.pill.on { opacity: 1; transform: none; }
.text { font-weight: 600; white-space: nowrap; max-width: 290px; overflow: hidden; text-overflow: ellipsis; }
/* The app mark: two screens, a dot travels from one to the other. */
.mark { width: 34px; height: 34px; border-radius: 8px; position: relative; flex: none;
background: linear-gradient(135deg, #5ac8fa, #0a84ff 55%, #5e5ce6); }
.scr { position: absolute; top: 10px; width: 11px; height: 9px; border: 2px solid #fff; border-radius: 2px; box-sizing: content-box; }
.scr.a { left: 3px; } .scr.b { right: 3px; opacity: 0.8; }
.dot { position: absolute; top: 14px; left: 8px; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; }
.pill.on.away .dot { animation: go 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.pill.on.home .dot, .pill.on.driven .dot { animation: back 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes go { from { left: 8px; } to { left: 22px; } }
@keyframes back { from { left: 22px; } to { left: 8px; } }
@media (prefers-reduced-motion: reduce) { .pill, .dot { transition: none !important; animation: none !important; } }
/* The sharing on/off card: two screens that link up (on) or come apart (off). */
.card {
position: absolute; inset: 14px; border-radius: 26px; display: none; flex-direction: column; align-items: center; justify-content: center;
background: rgba(32, 32, 34, 0.94); color: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
opacity: 0; transform: scale(0.88); filter: blur(6px);
transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.5s cubic-bezier(0.34, 1.45, 0.64, 1), filter 0.3s;
}
@media (prefers-color-scheme: light) { .card { background: rgba(250, 250, 252, 0.96); color: #1d1d1f; } }
body.big .card { display: flex; } body.big .pill { display: none; }
.card.on { opacity: 1; transform: none; filter: none; }
.card-text { font-size: 22px; font-weight: 700; letter-spacing: -0.2px; margin-top: 18px; }
.card-sub { font-size: 13px; opacity: 0.6; margin-top: 6px; padding: 0 30px; text-align: center; line-height: 1.35; }
.link-art { display: flex; align-items: center; gap: 0; height: 56px; }
.screen { width: 58px; height: 40px; border-radius: 7px; border: 3px solid currentColor; box-sizing: border-box; position: relative; transition: transform 0.6s cubic-bezier(0.34, 1.45, 0.64, 1); }
.screen::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 18px; height: 3px; margin-left: -9px; border-radius: 2px; background: currentColor; }
.wire { width: 70px; height: 4px; margin: 0 6px; border-radius: 2px; position: relative; overflow: hidden; background: rgba(128, 128, 128, 0.35); }
.wire::before { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #30d158, #0a84ff); }
.spark { position: absolute; top: -2px; left: -20px; width: 20px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.9); filter: blur(2px); opacity: 0; }
/* on: screens slide together, the wire fills, a spark runs along it, the screens glow */
.card.on.linkOn .screen.l { animation: inL 0.6s cubic-bezier(0.34, 1.45, 0.64, 1) both; }
.card.on.linkOn .screen.r { animation: inR 0.6s cubic-bezier(0.34, 1.45, 0.64, 1) both; }
.card.on.linkOn .wire::before { animation: fill 0.5s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.card.on.linkOn .spark { animation: spark 0.9s 0.6s ease-in-out 2 both; }
.card.on.linkOn .screen { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.6); animation-name: inL, glow; }
.card.on.linkOn .screen.r { animation-name: inR, glow; }
.card.on.linkOn .screen { animation-duration: 0.6s, 1.2s; animation-delay: 0s, 0.6s; }
.card.on.linkOn .card-text { color: inherit; }
/* off: the wire drains, the screens drift apart and dim */
.card.on.linkOff .wire::before { transform: scaleX(1); animation: drain 0.5s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.card.on.linkOff .screen.l { animation: outL 0.7s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.card.on.linkOff .screen.r { animation: outR 0.7s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes inL { from { transform: translateX(-26px) rotate(-6deg); opacity: 0.4; } to { transform: none; opacity: 1; } }
@keyframes inR { from { transform: translateX(26px) rotate(6deg); opacity: 0.4; } to { transform: none; opacity: 1; } }
@keyframes outL { to { transform: translateX(-18px) rotate(-4deg); opacity: 0.45; } }
@keyframes outR { to { transform: translateX(18px) rotate(4deg); opacity: 0.45; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes spark { 0% { left: -20px; opacity: 0; } 20% { opacity: 1; } 100% { left: 90px; opacity: 0; } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.55); } 100% { box-shadow: 0 0 0 14px rgba(48, 209, 88, 0); } }
@media (prefers-reduced-motion: reduce) { .card, .card * { transition: none !important; animation: none !important; } .card.on.linkOff .wire::before { transform: scaleX(0); } .card.on.linkOn .wire::before { transform: scaleX(1); } }