From dfb94f9ca6d6f0252c0853bb6269ace988232f5d Mon Sep 17 00:00:00 2001 From: Michael Chus Date: Sun, 29 Mar 2026 09:33:04 +0300 Subject: [PATCH] feat(iso): loading screen while bee-web starts Replace 15s blocking wait with instant Chromium launch showing a dark loading page that polls /healthz every 500ms and auto-redirects to the app when ready. Co-Authored-By: Claude Sonnet 4.6 --- iso/overlay/usr/local/bin/bee-openbox-session | 12 +-- iso/overlay/usr/local/share/bee/loading.html | 82 +++++++++++++++++++ 2 files changed, 83 insertions(+), 11 deletions(-) create mode 100644 iso/overlay/usr/local/share/bee/loading.html diff --git a/iso/overlay/usr/local/bin/bee-openbox-session b/iso/overlay/usr/local/bin/bee-openbox-session index 814e64e..9f20f23 100755 --- a/iso/overlay/usr/local/bin/bee-openbox-session +++ b/iso/overlay/usr/local/bin/bee-openbox-session @@ -2,16 +2,6 @@ # openbox session: launch tint2 taskbar + chromium, then openbox as WM. # This file is used as an xinitrc by bee-desktop. -# Wait for bee-web to be accepting connections (up to 15 seconds) -i=0 -while [ $i -lt 15 ]; do - if curl -sf http://localhost/healthz >/dev/null 2>&1; then - break - fi - sleep 1 - i=$((i+1)) -done - # Disable screensaver and DPMS xset s off xset -dpms @@ -25,6 +15,6 @@ chromium \ --disable-session-crashed-bubble \ --disable-features=TranslateUI \ --start-fullscreen \ - http://localhost/ & + file:///usr/local/share/bee/loading.html & exec openbox diff --git a/iso/overlay/usr/local/share/bee/loading.html b/iso/overlay/usr/local/share/bee/loading.html new file mode 100644 index 0000000..a633865 --- /dev/null +++ b/iso/overlay/usr/local/share/bee/loading.html @@ -0,0 +1,82 @@ + + + + +EASY-BEE + + + +
+ +
+
Starting
+
+ + +