talira

Make UU Remote native on any device

open sourceMITself-hostablefree

Snug is a macOS menu bar app that makes remote sessions into a Mac over UU Remote (UU远程, NetEase's free remote desktop app) feel native on the phone, tablet or computer you connect from. It adds a virtual screen sized to each controlling device (up to four, from a library of 785 phones, 46 tablets and common computer resolutions), fills it with the window you pick, enlarges text in terminals and editors, and remaps touch gestures so one finger scrolls, a long press opens the context menu and a long-press drag selects text. An iPhone-style App Library on the remote screen finds, opens, switches and closes the Mac's apps and windows, and windows and text sizes are put back when the session ends. It continues AoyamaShou's UUyc-companion (UU Remote Companion) and needs macOS 14 or later.

Problems it solves

  • remoting into my Mac from my phone shows tiny text surrounded by black bars
  • use Claude Code in my Mac's terminal from my phone without squinting
  • a one-finger swipe on my phone drags and selects text instead of scrolling the remote Mac
  • control my Mac from an iPad by touch without an external keyboard and trackpad
  • get rid of black borders when I remote into my 4K Mac from a laptop
  • remote into a Mac mini with no monitor and get a desktop at my phone's resolution
  • find, open and switch between my Mac's windows from my phone during a remote session
  • give each device I remote in from its own screen sized to fit it
  • take a full-quality screenshot of a Mac window while I'm remoting from my phone
  • my remote session leaves windows moved and fonts enlarged on the Mac afterwards

Features

  • a virtual screen per controlling device (phone, tablet or computer), up to four, each switchable
  • device library: 785 phones and 46 tablets from 19 brands, 13 Macs and 9 common computer resolutions, or custom sizes
  • fills the screen with the chosen window and enlarges text in Ghostty, Terminal, iTerm2, VS Code, Cursor and Zed
  • touch gestures: one-finger scrolling with inertia, long press for right-click, long-press drag to select text
  • App Library: running apps and windows, all apps, search by name, title or pinyin initials
  • optional Set as main display, so every connection lands on that screen
  • computer screens at the controller's resolution, avoiding the MacBook notch
  • screenshots of the full-screen window to the Mac clipboard, with cropping
  • records window positions and text sizes first and restores them after the session
  • no data collection: no server connections except update checks
View 1 more
  • signed and notarised universal build; one-click updates

Limitations

  • Works only with UU Remote: other remote desktop apps aren't supported, though its adapter layer accepts pull requests for them1
  • Relies on undocumented macOS APIs: it may break after a major macOS update1
  • Doesn't support several devices controlling at once: UU Remote allows one controlling device at a time1
  • Doesn't rotate between portrait and landscape automatically: set up one screen per orientation and switch in UU Remote1
  • Doesn't run on Windows hosts: this project builds and tests only the macOS app, and Windows ports are separate community projects1