Scripts2026年5月20日·1 分钟阅读

Barrier — Share Mouse and Keyboard Across Multiple Computers

Barrier is an open-source KVM software solution that lets you use one mouse and keyboard to control multiple computers over a network. It is a maintained fork of the original Synergy project.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Needs Confirmation · 66/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Barrier Overview
通用 CLI 安装命令
npx tokrepo install 331cb0f5-5447-11f1-9bc6-00163e2b0d79

Introduction

Barrier is a software KVM (keyboard, video, mouse) switch that allows you to share a single mouse and keyboard across multiple computers over a local network. It works across Windows, macOS, and Linux, making it ideal for developers and system administrators who work with multiple machines side by side. Barrier is a community fork of the original Synergy 1.x codebase.

What Barrier Does

  • Shares one mouse and keyboard seamlessly across multiple networked computers
  • Synchronizes the clipboard between connected machines for copy-paste workflows
  • Supports mixed operating systems (Windows, macOS, Linux) in the same setup
  • Moves the cursor between screens by pushing it past the edge of one display
  • Handles screen arrangement so machines can be positioned in any physical layout

Architecture Overview

Barrier uses a client-server model. The server runs on the machine with the physical keyboard and mouse, capturing input events and forwarding them over TCP to connected clients. Each client injects the received events into its local input system as if they came from a real device. Clipboard data is serialized and forwarded on demand when you paste on a client machine. Communication can be encrypted with TLS to protect input and clipboard data on untrusted networks.

Self-Hosting & Configuration

  • Install via package managers on most platforms or download builds from GitHub
  • Configure screen layout through the GUI by dragging screen icons into position
  • Set one machine as the server and all others as clients pointing to the server IP
  • Enable TLS encryption in settings for secure communication over the network
  • Auto-start can be configured via system services or login items on each OS

Key Features

  • Cross-platform support means you can mix Windows, macOS, and Linux machines freely
  • Clipboard sharing works for text and basic formats across all connected machines
  • Drag-and-drop-style cursor movement makes the multi-machine setup feel like one desktop
  • TLS encryption option secures input data and clipboard content over the network
  • No special hardware required — runs entirely over standard network connections

Comparison with Similar Tools

  • Synergy — the commercial continuation of the original project; Barrier is the free open-source fork of Synergy 1.x
  • Deskflow — a newer community fork that continues active development where Barrier left off
  • Mouse Without Borders — Microsoft tool for Windows-only setups; Barrier works across different operating systems
  • Input Leap — another community fork of the same Synergy codebase with a focus on Wayland support

FAQ

Q: Does Barrier share the monitor/display as well? A: No. Barrier only shares keyboard and mouse input. Each computer uses its own display.

Q: Can Barrier work over the internet? A: It is designed for local networks. Using it over the internet requires a VPN or SSH tunnel for security.

Q: Does Barrier support Wayland on Linux? A: Barrier has limited Wayland support. The Input Leap and Deskflow forks are working on better Wayland integration.

Q: Is Barrier still actively maintained? A: Development has slowed. Many community members have moved to the Deskflow or Input Leap forks for continued development.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产