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.
// About › Editions (windows/, linux/ and mac/ui-about.js): every edition of TwinDesk for this kind of
// computer, what each one is, which one this copy is, and that all of them are free and open source.
// const ed = UI.editions('win' | 'linux' | 'mac'); body.append(ed.card); ed.render(state) on each state.
// This copy: TwinDesk Professional when its preload gave window.tdFullKvm (shared/ui-fullkvm.js), on
// Windows Portable when state.portable is set; else Standard (the Microsoft Store's copy too).
'use strict';
(function () {
const t = (...a) => I18n.t(...a);
const EDITIONS = {
std: ['TwinDesk', 'Standard',
'Screens, mouse and keyboard, files, clipboard, phones, calls and notifications between your devices. Installed like any app, and it updates itself.'],
pro: ['TwinDesk Professional', 'Free',
'Everything in Standard, plus Login & UAC (the mouse and keyboard on the lock screen, admin prompts and the login screen), Biometric unlock and mesh managers. It adds a system service.'],
proLinux: ['TwinDesk Professional', 'Free',
'Everything in Standard, plus Login & admin (the mouse and keyboard on the lock screen, polkit prompts and the login screen), Biometric unlock and mesh managers. It adds a system service.'],
portable: ['TwinDesk Portable', 'Standard',
'Standard in one .exe that runs without installing, from any folder or a USB drive. Calls’ sound is left out: it needs an install.'],
mac: ['TwinDesk for Mac', 'Everything',
'One edition with everything a Mac can do. Touch ID on this Mac can unlock TwinDesk Professional computers.'],
};
const LISTS = { win: ['std', 'pro', 'portable'], linux: ['std', 'proLinux'], mac: ['mac', 'pro'] }; // the Store's copy is Standard
UI.editions = (platform) => {
const { el } = UI;
const keys = LISTS[platform] || LISTS.win;
const rows = {};
for (const k of keys) {
const [name, kind, desc] = EDITIONS[k];
const here = el('span', { class: 'pill', text: t('This copy') });
const get = UI.button(t('Download'), () => UI.api && UI.api.openLink && UI.api.openLink('releases'), 'small');
const row = UI.row(name, '', [here, get], { literal: true });
// The name stays English (a product name); what it is is translated.
row.setHint((k === 'mac' ? t('For this Mac') : k.startsWith('pro') ? t('Free, for Windows and Linux') : t(kind)) + ' · ' + t(desc));
rows[k] = { row, here, get };
}
const card = UI.card(t('Editions'), [
UI.row(t('Every edition is free and open source'), t('GPL-3.0, no account and nothing to pay. Install another edition over this one any time: your pairings and settings stay.'), []),
...keys.map((k) => rows[k].row),
], { cls: 'keep-on' });
const current = (s) => {
if (platform === 'mac') return 'mac';
if (window.tdFullKvm) return platform === 'linux' ? 'proLinux' : 'pro';
if (platform === 'win' && s && s.portable) return 'portable';
return 'std';
};
const render = (s) => {
const now = current(s);
for (const k of keys) {
rows[k].here.hidden = k !== now;
// The Store's copy comes from the Store, a Mac's other entry is for its PCs: no Download beside this copy.
rows[k].get.hidden = k === now || (platform === 'mac' && k === 'mac');
}
};
render(null);
return { card, render };
};
})();