app
Adom Desktop - RustDesk Bridge
Public Made by Adomby adom
Drive RustDesk remote-desktop sessions from cloud Claude via Adom Desktop — connect out to any host by ID or IP (with a password), and list/close sessions. Works where RDP can't (Windows Home).
← Commit history
0.3.2: raise idle auto-disconnect default to 60 min (OS last-input clock self-refreshes on activity)
2 files changed
+7−4
BRIDGE_VERSION+1−1@@ -1 +1 @@-0.3.1+0.3.2
server.py+6−3@@ -27,7 +27,7 @@ import ctypes from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer BRIDGE_NAME = "rustdesk"-BRIDGE_VERSION = "0.3.1"+BRIDGE_VERSION = "0.3.2" DEFAULT_PORT = 8810 RUSTDESK_DL_URL = "https://github.com/rustdesk/rustdesk/releases/download/1.4.8/rustdesk-1.4.8-x86_64.exe" @@ -43,8 +43,11 @@ _dl = {"state": "idle", "pct": 0, "path": None, "error": None} # A live RustDesk client session keeps the local display awake (like media playback). # So if the user walks away (no input on this laptop) we drop the session -> the screen # can sleep/screensaver normally. Active use resets the timer (mouse/keys into the-# session ARE local input). The HOST is untouched. 0 disables. Default 10 min.-IDLE_DISCONNECT_SECS = int(os.environ.get("RUSTDESK_IDLE_DISCONNECT_SECS", "600"))+# session ARE local input). The timer is the OS's own last-input clock (self-refreshing:+# any activity zeroes it), NOT a countdown from connect. The HOST is untouched. 0 disables.+# Default 60 min: long enough not to interrupt passive watching, short enough to kill the+# overnight/walked-away case (burn-in needs hours of static content; 60 min never gets there).+IDLE_DISCONNECT_SECS = int(os.environ.get("RUSTDESK_IDLE_DISCONNECT_SECS", "3600")) # ---------------------------------------------------------------- helpers