LocalMetro Logo
LocalMetrov1.0
Mac ⇄ Android LAN

Your Android & Mac. In complete sync.

The local-first continuity link that Apple forgot to build. Universal clipboard sync, native macOS notification mirroring, 1-click 2FA SMS code autofill, and high-speed LAN file transfer.

⚡ Sub-millisecond LAN🛡️ Zero Cloud Servers🔑 No Account Required📱 Jetpack Compose + SwiftUI
$git clone https://github.com/0xdps/local-metro && cd local-metro && just setupCopy
Live Interactive Link Simulator

Experience LocalMetro in Real Time

Click any action below to watch messages route between macOS and Android over the local wire protocol.

Active Connection:Tier 2: Wi-Fi LAN•192.168.1.144•Latency: 1.4ms
LocalMetro — macOS MenuBar Popover
Pixel 9 Pro Connected
📱
Google Pixel 9 Pro
Android 15 · API 35 · Battery 84%
LAN Active
Sync instantly to phone
10:24
5GWi-Fi84%
LocalMetroLocalMetro Android
Connected
Linked Desktop
MacBook Pro (M3 Max)
TCP Port 47655•LAN Encrypted
Phone ClipboardActive
Initial phone buffer
Trigger Phone Events:
Core Capabilities

Everything moves across effortlessly.

Engineered for developers, designers, and power users who work on a Mac and carry an Android.

📋Sub-millisecond Sync

Universal Bi-Directional Clipboard

Copy text, commands, tokens, or links on your Mac—and paste them right away on your phone. Tap "Send Clipboard" on Android to send your phone's clipboard straight into macOS.

Mac → Android LAN Stream240 bytes • Wire protocol v1
gh auth token --hostname github.com
✓ Received on Pixel 9•Available in Gboard suggestions
⚡1-Click Action Banner

SMS & 2FA OTP Fast-Forward

Stop picking up your phone to read verification codes. When an SMS arrives on Android, LocalMetro detects the 4–8 digit OTP code and shows a native banner with a 1-click Copy Code action button.

💬Chase Bank · 2FA Code
1s ago
Your code is 492018Copy Code [492018]
🔔Apple UNUserNC

Native Notification Center

WhatsApp, Slack, banking alerts, and phone calls mirror into authentic macOS notification banners. Filter by app so only high-signal alerts break through.

📁80+ MB/s LAN

Direct LAN File Transfer

Drop raw photos, 4K video clips, and archives directly between phone storage and Finder. Never throttled by cloud upload quotas or slow internet speeds.

📶ADR-010

4-Tier Discovery Engine

Auto-resolves connection via USB Wired (192.168.42.x) → Wi-Fi mDNS → Mobile Hotspot Beaconing (:47655) → Cloud Relay. Never loses pairing.

🛡️ADR-006

Zero Cloud Guarantee

No accounts to sign into. No remote servers handling your clipboard or SMS codes. Everything is strictly peer-to-peer over your local network.

Pattern GalleryCurated like Mobbin

Inspecting the Design System & Screens

Explore the real production UI crafted for macOS (SwiftUI) and Android (Jetpack Compose). Click any card for detailed high-resolution inspection.

Menu Bar Popover & Connection Status
macOS
Click to Inspect Screen ↗

Menu Bar Popover & Connection Status

Frosted translucent popover with instant device telemetry, battery indicator, quick-text messenger, and toggle controls.

SwiftUI @ObservableNSStatusItem (LSUIElement)Frosted glass panelSub-millisecond link
Fast & Local Wi-Fi Sync Engine
Protocol
Click to Inspect Screen ↗

Fast & Local Wi-Fi Sync Engine

Automatic peer discovery using mDNS (_localmetro._tcp) and fallback gateway UDP beaconing over port 47655.

Zero-cloud architecturemDNS NsdManagerNWListener daemonAutomatic retry
Shared Bi-Directional Clipboard
macOS
Click to Inspect Screen ↗

Shared Bi-Directional Clipboard

Seamless clipboard synchronisation across phone and desktop. Copy a link or code on Mac, paste immediately on Android.

Encrypted payloadClipboard history bufferSmart deduplicationInstant toast notification
File Transfer & Storage Explorer
macOS
Click to Inspect Screen ↗

File Transfer & Storage Explorer

Direct gigabit LAN file transfer between Android storage and macOS Finder with progress tracking and drag-and-drop support.

Chunked streamingZero upload quotasDirect disk writeNo internet needed
Native macOS Notification Mirroring
macOS
Click to Inspect Screen ↗

Native macOS Notification Mirroring

Phone notifications rendered as authentic macOS Notification Center banners with app badges and inline actions.

UNUserNotificationCenterNotificationListenerServiceApp whitelist filterInteractive actions
Local-First Zero-Cloud Security
Protocol
Click to Inspect Screen ↗

Local-First Zero-Cloud Security

Complete privacy guarantee. No third-party servers, no analytics beacons, and no sign-up forms. 100% on your local network.

Zero telemetryNo external accountsLength-prefixed JSONOpen-source protocol
macOS Design System & Screens
macOS
Click to Inspect Screen ↗

macOS Design System & Screens

Complete design guide covering Welcome, Pairing QR, Connected Device, File Transfers, Clipboard, and Settings.

macOS 14+ Sonoma/SequoiaSF Pro typographyAdaptive dark modeClean human interface
Android Design System (Material 3 Expressive)
Android
Click to Inspect Screen ↗

Android Design System (Material 3 Expressive)

13-screen architecture built in modern Jetpack Compose with Material 3 dynamic color, smooth transitions, and background services.

Jetpack ComposeMaterial 3 ExpressiveminSdk 35Foreground service
Engineered Open

Protocol & Connection Architecture

Zero proprietary black boxes. LocalMetro uses standard length-prefixed JSON frames over raw TCP sockets, advertised over mDNS and UDP.

4-Tier Connection Fallback (ADR-010)

LocalMetro tries faster and more direct physical links first before falling back to network broadcasts:

Tier 1: Wired USB Tethering0.2ms Latency

Direct USB-C cable link (192.168.42.x subnet). Works in airplane mode, zero Wi-Fi interference, maximum transfer speed.

Tier 2: Local Wi-Fi (mDNS)1.2ms Latency

Discovers the Mac's _localmetro._tcp service via Apple Bonjour & Android NsdManager. Zero configuration.

Tier 3: Mobile Hotspot Gateway2.5ms Latency

When phone provides hotspot to Mac, mDNS is blocked by Android AP isolation. LocalMetro uses UDP gateway beaconing to :47655 to bridge.

Tier 4: Remote Cloud RelayRoadmap Phase 3

End-to-end encrypted WebSocket tunnel when devices are on separate cellular connections.

Protocol Spec
{
  "v": 1,
  "id": "e4f8b1a2-3c4d-4e5f-a6b7-c8d9e0f1a2b3",
  "type": "clipboard",
  "sentAt": "2026-11-15T13:37:00Z",
  "payload": {
    "text": "https://github.com/0xdps/local-metro",
    "format": "text/plain",
    "sourceDevice": "Pixel-9-Pro"
  }
}
Contract checked via just protocol-check● 100% Type-Safe
The Landscape

How LocalMetro Compares

Designed specifically for people who refuse to switch from Android to iPhone just to get seamless Mac desktop integration.

FeatureLocalMetroApple AirDropKDE ConnectPushbullet
Android ↔ macOS Native SupportNative (SwiftUI + Compose)No (iOS only)Partial (Qt UI wrapper)Web/Electron only
Zero Cloud / 100% Peer-to-PeerYes (Direct TCP LAN/USB)Yes (Apple devices only)Yes (LAN)No (Remote servers)
SMS 2FA / OTP 1-Click CopyYes (Native macOS banner)iOS + macOS onlyNoNo (Plain text notification)
Universal Bi-directional ClipboardYes (< 1ms sync)iOS + macOS onlyYes (Manual sync)Yes (Cloud relay lag)
Native macOS Menu Bar AgentYes (LSUIElement + Popover)Built-in (iOS only)No (Dock icon/Window)No
Hotspot & USB Tethering FallbackYes (4-tier discovery)No (Same Wi-Fi required)No (Fails on hotspot AP)Needs active Internet
Account / Sign-in RequiredNever (Zero accounts)Apple ID requiredNoYes (Account required)
Pricing & Open Source100% Free & Open Source (MIT)ProprietaryFree & Open Source (GPL)Subscription ($40/yr)
● Ready to use on macOS 14+ & Android 15+

Connect your Mac & Android in under 30 seconds.

No credit card. No account sign-up. No cloud servers. Just scan the pairing code on your screen and your devices stay linked over Wi-Fi.