Skip to content
norandomPublic
forked from CREVIOS/drift-rdp

About

1-1 (Zero) - a fork of Drift. A fast, beautiful remote desktop client for macOS, Windows & Linux. Built with Rust, Tauri, React, IronRDP, and wgpu. 1-1 focuses on making many remote VMs accessible (IronRDP, XfreeRDP, Windows) for agentic work

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

292 Commits

Folders and files

Repository files navigation

1-1

1-1 is a free cross-platform RDP client for Windows, Linux, and macOS. For Windows RDP, IronRDP, XfreeRDP etc. On top of that it's uniquely designed for the AI era.
Pronounced "zero."
Built with Rust, Tauri, React, and IronRDP.

Install · Features · Why this fork · In progress · Build · Architecture


1-1 connected to an xfreerdp server on Debian-based Linux, with a shared folder accepted 1-1 connected to Windows 11, with a shared folder shown as a redirected drive in Explorer
xfreerdp server on Debian-based Linux Windows RDP on Windows 11

Fork notice: no warranty, no support. 1-1 is a personal fork of Drift, kept for my own use and shared as is. All kudos for the foundation go to the Drift author. If something breaks, you keep both halves. If you need a supported client, use upstream Drift.

Install

Download the newest version from Releases. Each version is a prerelease named v0.1.0-alpha.N; the preview-channel release only holds the update feed.

Windows (x64)

  1. Download 1-1_<version>_x64-setup.exe.
  2. Run it. It installs for your user only, without admin rights. Windows SmartScreen may say "Windows protected your PC": choose More info, then Run anyway (see Unsigned builds).
  3. The installer fetches the WebView2 runtime if it is missing, so the first install needs an internet connection. On an offline machine, install the WebView2 Evergreen Runtime first.

Passwords go to Windows Credential Manager.

macOS (Apple silicon)

  1. Download 1-1_<version>_aarch64.dmg, open it and drag 1-1 to Applications.

  2. The app is not notarized, so macOS blocks the first launch. Open it once anyway: either try to open it, then go to System Settings > Privacy & Security and choose Open Anyway, or run:

    xattr -dr com.apple.quarantine /Applications/1-1.app

Passwords go to the macOS Keychain.

Linux (x64)

Pick one:

  • .deb (Debian, Ubuntu and derivatives):

    sudo apt install ./1-1_<version>_amd64.deb
  • AppImage (any distribution):

    chmod +x 1-1_<version>_amd64.AppImage
    ./1-1_<version>_amd64.AppImage

Passwords go to the desktop's Secret Service, so a keyring must be running and unlocked: KWallet on KDE Plasma or GNOME Keyring on GNOME and most other desktops. Without one, 1-1 cannot save passwords; you can still turn off Save password in the system keychain for a host and enter the password at each connect.

Verify a download

SHA256SUMS.txt in each release lists every file's SHA-256 hash:

sha256sum -c SHA256SUMS.txt --ignore-missing                     # Linux
shasum -a 256 -c SHA256SUMS.txt --ignore-missing                 # macOS
Get-FileHash .\1-1_<version>_x64-setup.exe -Algorithm SHA256     # Windows: compare with SHA256SUMS.txt

Updates

1-1 checks for updates at each launch. When one is available, a notice appears and the sidebar's Settings button shows it; install it from Settings > Updates. Installing is always your choice, and it is blocked while a session is connected, so it never interrupts remote work. Each update is verified against the signing key built into the app before it installs.

Installed from Updates
Windows installer In the app
macOS .dmg In the app (from alpha.7 on)
Linux AppImage In the app
Linux .deb Install the next release's .deb the same way

No release yet, or you want to build your own installer? See Build from source.

Unsigned builds, warnings, donations

I do not hold a Windows or macOS developer certificate, so the installers are not Authenticode-signed and the macOS build is not notarized. Expect Windows SmartScreen ("Windows protected your PC", click "More info" then "Run anyway") and the macOS Gatekeeper block (see macOS above). That is normal for an unsigned build, not a sign of malware. Every file's SHA-256 hash is listed in the release's SHA256SUMS.txt, so you can verify what you downloaded before running it. The update-feed signatures described under Build from source are separate and do not change any of this.

No donations, please. This is just a fork, shared as is with no warranty and no support. If you want to support RDP client development financially, support upstream Drift instead.

Why this fork

I used RoyalTS for a long time and eventually had enough of it: the splash screen is slow, it crashes on Windows, bandwidth use never got optimized, and development moved too slowly for my taste. So I forked Drift and added what I was missing.

The split I work with: warpeer is my SSH client for Linux boxes, 1-1 is my RDP client for Windows machines. Both run cross-platform; each just targets its own protocol and OS.

Most of my work in this fork went into ClearCodec. I made it the preferred codec over H.264 because H.264 is not sharp enough for text-heavy work, and text is exactly what I stare at when an agent codes inside a VM.

1-1 focuses on remote coding and agentic workflows: sharp code and terminal text, responsive input, a reliable clipboard, and long-running sessions that do not eat your bandwidth.

Features

Connecting

  • RDP to Windows machines on port 3389, with TLS plus NLA/CredSSP authentication via IronRDP
  • Hosts that accept only legacy RDP security (RC4, no TLS or NLA) connect with a per-host setting; weak, for trusted networks only (guide)
  • Verified against three server classes: Windows RDP Server (Windows 11, NLA mandatory), FreeRDP/xfreerdp servers on Linux, and IronRDP-based Rust servers on Linux
  • Keyboard, mouse, and trackpad scroll forwarding; configurable resolution and quality per host
  • Up to 10 simultaneous sessions in tabs, with auto-reconnect and exponential backoff on connection loss
  • Server identity review: confirm a host's key fingerprint once; a changed key is flagged (guide)
  • Copy a host as a command line (1-1 import --name … --host …, every setting as its own flag, no password) and import it elsewhere with the fingerprint checked (guide)

Shared folders (Windows build)

  • Share up to eight local folders per host as drives in the remote session, read-only or read and write, and stop each one separately. Tested against Windows and xrdp servers
  • A folder is offered only to the server whose key you confirmed, at the saved address, and only while it is still the folder you chose. Otherwise the session connects without it
  • The share cannot leave its folder: no links, no parent paths, no admin-only privileges, and files with several hard links are read-only
  • The bottom bar shows what each folder achieved (offered, accepted, in use, refused, not shared and why)
  • Per-host File transfers setting keeps typing and the pointer responsive during copies, or trades that for speed

Bandwidth

  • Compression and codec choices tuned for slow links, with receive/send rates and totals in the performance HUD
  • Client-issued bandwidth-saver pause: stop display updates from the session, and hosts that ignore the pause are reported within seconds. Typing or moving the mouse keeps the pause for five more seconds, so waking the display does not fight your input
  • Per-host idle preview (Windows preview build): after five idle minutes a busy unattended desktop refreshes about once a minute while a quiet editor stays live; returning to the tab or sending input restores live updates
  • ClearCodec is the preferred codec, and H.264/AVC is never advertised or decoded. H.264 smears small text, which is fine for video and bad for code; ClearCodec keeps terminal text crisp while still compressing well on slow links
  • Per-host bulk compression (off, RDP4, RDP5, RDP6, RDP6.1) on top of the graphics codec, and per-host color depth (15/16/24/32 bpp) to trade fidelity for bytes; both apply on reconnect

Interface

  • Quick Connect with Cmd+K; connection cards with color accents, tags, and latency indicators
  • Status bar along the bottom with connection state and metrics; hide or pin it per host, right from the bar itself
  • Bidirectional clipboard sync, with a status indicator; line endings are converted between Windows and Linux or macOS
  • HiDPI scaling per host: automatic (matches a Retina or HiDPI display), a custom percentage, off, or low resolution
  • Resizable, hideable sidebar; a click on a host switches to its open tab
  • A notice when an update is available; installing stays your choice
  • Dark and light themes, keyboard shortcut overlay (Cmd+?), SSH config import (~/.ssh/config)

Rendering and security

  • Frames are drawn in the app's WebView canvas. A native GPU layer draws remote screens instead where it is available (Linux on Wayland, Windows, macOS), with the canvas as fallback: Settings, Display, Renderer
  • Passwords stored in the OS keychain (Windows Credential Manager, macOS Keychain, and on Linux the Secret Service from KWallet or GNOME Keyring); no plaintext credential storage. Per host you can turn saving off and be asked at each connect
  • Connection configs as local JSON: no cloud, no telemetry
  • Ships as a single .app, .AppImage, or small NSIS installer

In progress

  • Shared folders on the Linux and macOS builds
  • Smoother sessions during large copies on slow uplinks (sending input ahead of file data)
  • A Nix flake and an APT repository for Linux installs
  • An rsync-style delta protocol on top of shared folders, so only changed blocks move. Deferred until measurements show it pays off
  • Auto-update workflow hardening: the signed preview feed serves Windows x64, macOS Apple silicon and the Linux AppImage; runtime validation of an installed update currently covers Windows x64 only

Build from source

Prerequisites:

  • Rust (1.77+)
  • Node.js (20+)
  • Tauri CLI v2
  • macOS: xcode-select --install
  • Linux: sudo apt install libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
git clone https://github.com/norandom/1-1.git
cd 1-1
npm install
cargo tauri dev        # development, hot reload
cargo tauri build      # production bundle
npx tsc --noEmit       # type check
cargo check

To find out where a running Linux build spends its CPU time (input lag, busy idle), see Profiling 1-1 on Linux.

Building the Windows installer locally

.\scripts\Invoke-WindowsPreview.ps1 -Installer                                   # x64 per-user NSIS installer
.\scripts\Invoke-WindowsPreview.ps1 -Installer -Target aarch64-pc-windows-msvc  # ARM64, after adding the Rust target and ARM64 MSVC tools

The helper keeps frontend assets under D:\BuildArtifacts and embeds them through a relative path.

Releases and the update feed

Updatable releases need TAURI_SIGNING_PRIVATE_KEY and TAURI_SIGNING_PRIVATE_KEY_PASSWORD. Local builds can use the persistent private key and DPAPI-protected password under %LOCALAPPDATA%\1-1-release-signing. Back that key up, because losing it breaks updates for installed clients, and never commit or publish it. These update signatures are separate from Authenticode and macOS signing and do not guarantee download reputation.

Version tags trigger .github/workflows/preview-build.yml: Windows x64 and ARM64 NSIS, macOS Apple Silicon DMG, and Linux x64 AppImage plus .deb via Dagger. Stage each signed installer with its .sig and build-info.json in a folder named windows-x86_64, windows-aarch64, darwin-aarch64, or linux-x86_64, then create the feed:

node scripts/update-manifest.mjs VERSION ASSET_DIRECTORY OUTPUT_JSON

Upload the immutable installer assets to the matching version release first, then publish the verified manifest as latest.json on the preview-channel prerelease. Never replace a published installer under an existing version; check its uploaded digest before touching the feed. Attach the Linux .deb and the macOS .dmg to the version release as downloads only. The feed lists the Windows installer, the AppImage and the macOS update archive 1-1.app.tar.gz, so attach that archive and its .sig to the version release too; a package install updates through a newer .deb. Windows ARM64 is built but not published.

Architecture

1-1 architecture

Frame pipeline

Frame pipeline

Both diagrams are generated from editable Mermaid sources in docs/diagrams/; full details in ARCHITECTURE.md.

Tech stack

Layer Technology
Protocol IronRDP (Rust RDP implementation)
Runtime Tauri v2 (Rust + WebView)
GPU wgpu (Metal / Vulkan / DX12)
Frontend React 19 + TypeScript + shadcn/ui
Styling Tailwind CSS v4
TLS rustls + webpki
Auth CredSSP / NLA via IronRDP
Credentials keyring (OS keychain)
Updates tauri-plugin-updater, signed preview feed (latest.json)

Project structure

1-1/
├── src/                      # React frontend
│   ├── components/
│   │   ├── connections/      # Connection cards, forms, tree
│   │   ├── session/          # Canvas, toolbar, tabs, HUD
│   │   ├── settings/         # Settings page
│   │   ├── layout/           # Sidebar, titlebar, status bar, pause control
│   │   └── ui/               # shadcn primitives
│   ├── hooks/                # useRdpSession, useClipboard, useTheme, etc.
│   ├── stores/               # Zustand stores
│   ├── lib/                  # Input mapper, frame protocol
│   └── styles/               # Tailwind + theme
├── src-tauri/                # Rust backend
│   └── src/
│       ├── rdp/              # IronRDP session actor, client, input, clipboard,
│       │                     # pause/idle preview, network metrics
│       ├── renderer/         # wgpu GPU renderer, SharedFrame
│       ├── commands/         # Tauri IPC commands (incl. updater)
│       ├── store/            # Persistence (connections, settings, keychain)
│       └── utils/            # TCP probe, latency measurement
├── scripts/                  # Build, installer, CI, and update-feed helpers
└── .github/workflows/        # CI + preview installer builds

Local Windows build storage

Storage reporting is optional. Run it from the repository when useful:

.\scripts\Invoke-BuildStorage.ps1

It honors CARGO_TARGET_DIR and reports logical file sizes. There are no build-blocking storage budgets or mandatory checkpoints. Clean up occasionally when needed; physical usage may differ from the report.

When builds are idle, preview or run package-only cleanup:

.\scripts\Invoke-BuildStorage.ps1 -Action CleanProject -WhatIf
.\scripts\Invoke-BuildStorage.ps1 -Action CleanProject
.\scripts\Invoke-BuildStorage.ps1

The script uses cargo clean --package rdp-client and refuses unsafe target paths, active build tools, and target executables. It does not clean other projects, registry downloads, evidence logs, or user data, and no background cleanup is installed. Avoid a blanket cargo clean against the shared target.

App dev and test profiles disable debug symbols and incremental compilation by default. Use a deliberate temporary profile override for debugger investigations, then remove that build variant. Reuse the existing target, toolchain, and feature combinations, and keep only the current and previous runnable test binary outside Cargo's cache.

License

MIT, inherited from Drift. The fork itself carries no warranty and no support; see the fork notice at the top.


Forked from Drift with gratitude. Use at your own risk.

About

1-1 (Zero) - a fork of Drift. A fast, beautiful remote desktop client for macOS, Windows & Linux. Built with Rust, Tauri, React, IronRDP, and wgpu. 1-1 focuses on making many remote VMs accessible (IronRDP, XfreeRDP, Windows) for agentic work

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages