RepositoryCATAustria
royalapplications

royalapplications/royalvnc

A modern, high performance implementation of the VNC/RFB protocol written in Swift.

115stars
52forks
12issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: vnc-viewer

#1 Repository of the week

1
TINIX TRENDING·Topic: network-protocol

#1 Repository of the week

1
TINIX TRENDING·Topic: rfb

#1 Repository of the week

CI

RoyalVNC

RoyalVNC is a modern, high performance implementation of the VNC/RFB protocol written in Swift. The SDK (RoyalVNCKit) is compatible with Swift, Objective-C, C, C# and Kotlin on macOS, iOS, iPadOS, Android, Linux and Windows. It depends on CryptoSwift, zlib and D3DES (see Credits).

Supported Features

Security Types (Authentication Methods)

  • No Authentication
  • VNC Password
  • Apple Remote Desktop
  • UltraVNC MS-Logon II

Encodings

  • Tight
  • Zlib
  • ZRLE
  • Hextile
  • CoRRE
  • RRE
  • CopyRect

Pseudo Encodings

  • LastRect
  • CompressionLevel
  • JpegCompressionLevel
  • DesktopName
  • Cursor
  • DesktopSize
  • ExtendedDesktopSize
  • ContinuousUpdates

Misc. Features

  • Support for 8-bit, 16-bit and 24/32-bit color depths with high-performance framebuffer implementations.
  • Clipboard redirection support for text in both ways (remote to local and local to remote).
  • Connection state management and rendering is decoupled from each other, so it's possible to build "headless" clients (ie. no rendering of the remote desktop).
  • The SDK includes a ready-to-use implementation of a framebuffer view for macOS (subclass of NSView), which also handles mouse and keyboard input, local cursor (NSCursor), scaling and rendering. The iOS/iPadOS equivalent (UIView) is a work-in-progress.
  • First-class error handling. The VNCError type divides all possible errors into three broad categories: Protocol, Authentication and Connection errors. There are helper functions to retrieve human-readable descriptions for all errors and a convenience functions that allows the SDK consumer to distinguish between errors that should be displayed to the user and ones that shouldn't.
  • Headless CLI demos (one using Swift and another one using the C API) are included in the repository.
  • The repository also contains C# bindings so the library can be used with .NET.
  • The repository also contains Kotlin bindings which make the library usable in Android projects. To set up the Android development environment (only supported on macOS currently):
    • Install Java 11 or later, ensuring the java executable is added to the PATH
    • Install Android Studio and ensure the ANDROID_HOME environment variable is exposed to your shell (see https://developer.android.com/tools/variables)
    • Run ./android_dependencies.sh to install the Android tooling and SDKs for Android
    • Run ./android_build.sh which builds the RoyalVNCKit native library and lays out its depedencies
    • Open Bindings/kotlin/RoyalVNCAndroidTest in Android Studio to build and run the demo app
  • This repository contains Demo/Sample clients for macOS (one written in Swift, one in Objective-C) and iOS/iPadOS.

Usage

See Usage.

License

MIT License

Credits

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
ultravnc/UltraVNC

👁️ UltraVNC Server, UltraVNC Viewer, UltraVNC Repeater and UltraVNC SC | Official repository: https://github.com/ultravnc/UltraVNC

1.6k
Nov 28, 2026
RepositoryC++
bk138/multivnc

MultiVNC is a cross-platform SSH-enabled VNC viewer. The desktop client runs on Unix, Mac OS X and Windows. There also is an Android client.

679
Nov 5, 2026
RepositoryRust
psmux/DeskVNC

Native VNC, RDP and SSH client for Windows, macOS and Linux. Pure-Rust protocol cores, Tauri 2. One host library for all three, plus an MCP control plane so an AI agent can drive remote desktops with human takeover.

139
Nov 27, 2026
RepositoryJava
bk138/droidVNC-NG

Android VNC remote desktop server for local networks

2.5k
Nov 17, 2026
RepositorySwift
Alamofire/Alamofire

Elegant HTTP Networking in Swift

42.4k
Nov 27, 2026
RepositorySwift
Moya/Moya

Network abstraction layer written in Swift.

15.4k
Jul 14, 2026
RepositoryKotlin
gujjwal00/avnc

VNC Client for Android

1.2k
Sep 12, 2026
RepositoryRust
rustdesk/rustdesk

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

132.8k
Dec 2, 2026
RepositoryC
any1/wayvnc

A VNC server for wlroots based Wayland compositors

1.9k
Nov 24, 2026