r/coolgithubprojects • • 1h ago

AirLink: Linux/Windows ↔ Android on your own network: fling to send, phone apps in windows, SMS/calls, cloud drives in the file manager, phone as a DualSense

https://github.com/kasimtmc/AirLink

One-person project, Rust core + C++ UI + Kotlin. No account, no server: mDNS discovery, a 6-digit pairing code, then QUIC with mutual TLS. Builds for Linux (AppImage/.deb/Flatpak), Windows and Android. Source-available (Sustainable Use License). Feedback welcome. Site: https://kasimtmc.github.io/AirLink/

4 Upvotes

2 comments sorted by

1

u/Positive-Fly-2972 1h ago

The phone-as-DualSense mode is what caught my eye — I keep looking for a cheap, low-friction way to teleoperate a robot arm or a wheeled base without buying a dedicated controller for every demo. Running it all over the local network with mDNS discovery, a 6-digit pairing code, and QUIC with mutual TLS, instead of routing through a cloud account, is the right call for a lab setup. What kind of end-to-end latency are you seeing on the gamepad path, and does the phone stay usable as a controller when the link drops to a congested 2.4 GHz network?

1

u/kasimtmc 55m ago edited 42m ago

The average response time is 16ms, the slowest is 18ms, and in the worst-case scenario, it's around 30ms. Of course, these are the values ​​I obtained while the game was running. The values ​​vary depending on the touch sampling rate and the congestion of the 2.4GHz network. To be honest, I haven't taken any measurements on a congested network. One thing that matters for a robot more than for a game: there is no dead-man switch. If the link goes quiet, the controller keeps its last state until the phone stops the session, or until the connection is declared dead.