Repository navigation
Conversation
added 3 commits
November 1, 2026 13:30
The Tauri shell now shows the chat page (ui/, the one `coli ui` serves) instead of the React dashboard, and brings up what the page needs: - finds coli next to itself or above it (COLIBRI_COLI), and a Python 3 (py -3, python, python3, then the Windows install folders; COLI_PYTHON) - uses a colibri server that already runs (the configured one or 127.0.0.1:8000), otherwise runs `coli start` and waits for the model, showing how long it has been loading - serves the page with ui/server.py on 127.0.0.1:18790, a fixed port because the page keeps its conversations per origin - closing the window stops the page's server, and `coli stop` for a server the window started; one that was running keeps running - --backend URL / COLIBRI_BACKEND for another server: starts nothing - links that leave colibri open in the system's browser - a loader page (Italian or English) with the step it is at, the log tail and a Retry button when something fails The chat page's first-run dialog now waits for the models service to finish measuring the machine: on a fresh state it opened at once and showed "- GB di RAM" with no model that fits.
The release workflow builds desktop/ with cargo on each platform (WebKitGTK on Linux, pwsh on Windows for the MSVC linker), copies colibri-desktop next to coli, and the verify step checks it is in the archive. coli.cmd's help says the window is there; the README and the changelog say where it ships.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Tauri shell in
desktop/becomes a real program: it opens the chat page (ui/, the onecoli uiserves) and brings up what the page needs, with nothing to type.What it does
colinext to itself (a release archive) or above it (a checkout, fromdesktop/src-tauri/target/release);COLIBRI_COLInames it by hand.py -3,python,python3, then the Windows install folders (python.org, Anaconda, Miniconda), asking each interpreter forsys.executable, so the Microsoft Store alias does not count as a Python;COLI_PYTHONnames it by hand.coli setupconfigured, or127.0.0.1:8000): a second engine next to it would only run the machine out of memory. Otherwise it runscoli startand waits for the model, showing how long it has been loading; when the server dies while loading it shows the tail ofcoli logs.ui/server.pyon127.0.0.1:18790, a fixed port because the page keeps its conversations in the browser storage of its address (the next free port up to 18799 when another program holds it).coli stopfor a server the window started. A server that was already running keeps running.--backend URLorCOLIBRI_BACKEND: another server (an ssh tunnel works); the window then starts and stops nothing.coli setup, install Python) with a Retry button.The React dashboard in
web/is no longer wrapped (beforeDevCommandand the Vite dev URL are gone): the window shows the same page as the browser, no second frontend.The chat page's first-run dialog now waits for the models service to finish measuring the machine. On a fresh state it opened at once and said "- GB di RAM" with no model that fits; the window's first start made that visible.
Tested on Windows 11 (i7-1355U, 34 GB, WebView2)
Built with the GNU toolchain,
cargo build --release(13 MB withstrip),cargo fmt --checkandcargo clippy -- -D warningsclean.--backendthrough an ssh tunnel to a CPU-only server with Qwen3.8-Flash-Next vq2: the page loads, a chat streams (9.7 tok/s), closing the window leaves no Python process and port 18790 free.--backend, a setup whose server is stopped (a stand-in server throughCOLI_SETUP_HOME, so no model loaded on the laptop): "Looking for the colibri server", "Starting", the page once/healthanswers; closing the window rancoli stop, which the server took (pidfile gone, its port closed).coli.cmd setupand Retry.In the release archives
release.ymlbuildsdesktop/with cargo on the three platforms (WebKitGTK on Linux; pwsh on Windows, so the MSVC linker is the one found), copiescolibri-desktop/colibri-desktop.exenext tocoli, and the verify step checks it is in the unpacked archive. It needs a display to run, so CI proves the build and the packaging, not a window.coli.cmd's help names it.Run here on Windows only: the Linux and macOS builds are proved by this PR's Release run.