rustdesk
rustdesk copied to clipboard
uri and QR codes for quick connect to and also config self-hosted servers?
Hi.
I just had a nice idea for a feature request -- we could implement handling of links with a scheme like such (see below):
- rustdesk://123456789 -- ordinary connection link, public relay servers.
- rustdesk://123456789?server=rd.example.org&key=FooBarBaz -- connection through a self-hosted server
- rustdesk://?server=rd.example.org&key=FooBarBaz -- set self-hosted server parameters
The same thing could be encoded into a QR code which could be read by clients both from screen, camera, or file. I feel like this can be super useful in a lot of scenarios. For example:
- Set up a client for a custom server quickly: just snap a QR with your smartphone or laptop camera and there you are, custom relay server is set automatically.
- Help a novice user connect via a custom server without encoding it in client file name -- "Here, click this link, or click that button and let RustDesk grab the code from the screen for you"
Just like Wi-Fi QR codes, but for RustDesk.
Waiting for your comments and suggestions :)
Thanks, we had such ideas also, but not start this project yet.
现在还没有实现吗?
Android
start deep link via adb
adb shell am start -W -a android.intent.action.VIEW -d <URI> <PACKAGE>
PACKAGE=com.carriez.flutter_hbb
set config and password
config: rustdesk://config/<config_string>
You can get config_string from the welcome page of web console, also can be export from Settings
-> Network
on RustDesk client.
set permanent password: rustdesk://password/<password>
Start connection
rustdesk://123456789
or rustdesk://connect/123456789
rustdesk://123456789/r
force relay
rustdesk://[email protected]?key=FooBarBaz
rustdesk://123456789/[email protected]?key=FooBarBaz
force relay
@rustdesk it does not seems to work on macOS. Is it a me-problem or something known?