Repository navigation
Conversation
- Added `lib.rs` to define the main application logic, including a fallback mechanism for loading content based on server availability. - Implemented a helper function `get_target_url` to determine the appropriate URL to navigate to based on the server's online status. - Created `main.rs` to serve as the entry point for the Tauri application, invoking the `run` function from `lib.rs`. - Added `tauri.conf.json` to configure application settings, including product name, version, and window properties.
…d add automatic odysseus container run and close
…dling and remove unnecessary comments
- add tauri.macos.conf.json for an ad-hoc signed .dmg with the PWA icon - find Homebrew and Docker when the app is opened from Finder - use port 7860 for macOS installs, AirPlay Receiver holds 7000 - stop Odysseus on Cmd+Q, like closing the window does - check for Homebrew before a native install - keep start-macos.sh from opening the browser (ODYSSEUS_NO_OPEN)
fix(macos): make the Tauri desktop app build and run
- mark the installer's own clone in .git once it succeeds - reuse that folder on retry instead of refusing it - keep refusing any other folder, and say how to get past it - stop a native launcher left running by a failed attempt - on Linux, redo the native setup until it has finished once
- say in plain words when the network or a full disk made a step fail - read both docker streams live and keep their last 100 lines (not on Windows) - cover git clone, compose build and up, Linux pip and start-macos.sh - drop the "Native Odysseus execution failed" prefix in the window - add tests with real failure lines from apt, git, pip and Docker
- always stop the tracked native process, it is a no-op otherwise - keep the Docker cleanup as before
- check "Install natively" by default on Apple Silicon with Homebrew - mention the Docker fallback when Homebrew is missing - say in the requirements modal when native is the default - wait up to 10 minutes for the first native start, like an app start
fix(desktop): clearer install errors and native default on Apple Silicon
- point the Linux icon at static/icons/icon-512.png, like macOS does - icons/icon.png is ignored by git, so a fresh clone failed to build
- read the venv output like the pip step does - name the package to install instead of "exit status: 1"
fix(linux): build from a clean clone and clearer python3-venv error
- Added `tauri-plugin-opener` dependency to Cargo.toml. - Implemented internal URL checking and external link opening in the app's lib.rs. - Updated the main window setup to handle navigation and new window events. - Removed window configuration from tauri.conf.json as it is now handled in code. - Created a new capabilities file for managing permissions related to the main application window.
- start-macos.sh ran its brew and pip install inside the 10 minute wait - count from venv/.requirements_hash, written once that install is done - Linux already installs before this wait
fix(macos): start the native timeout after the first install
Keep both Tauri build artifacts and upstream validation reports in gitignore. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…changes in requirements files
This branch has not been deployed
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.
Summary
This PR introduces a native, lightweight desktop client for Odysseus built with Tauri (v2) and Rust.
The goal of this wrapper is to provide a seamless, "1-click" installation and lifecycle management experience for end users. It removes the friction of manual repository cloning, environment configuration, and container orchestration by wrapping the entire setup process into an interactive desktop wizard and automated background harness.
How it works:
Boot & Detect: The app checks for an existing installation. If missing, it serves a custom HTML installer directly from the binary.
Click Setup: Clicking "Install" triggers an async thread that automatically resolves dependencies, clones the repo, and creates .env files—without freezing the UI.
Transparent Build: The app runs docker compose build, streaming the stdout/stderr directly to the terminal so users can see the progress of large downloads.
Smart Handoff: The UI holds on a "Loading" screen while a background thread pings localhost:7000. It only navigates to the live web app once it confirms an HTTP 20x response.
Clean Exit: Closing the window intercepts the kill signal and automatically runs docker compose stop to prevent orphaned containers from draining system resources.
Target branch
dev, notmain. All PRs land indev;mainis curated by the maintainer at each release. If your PR is onmainby accident, click "Edit" on this PR and change the base.Linked Issue
#4041
#5897
#1974
Type of Change
Checklist
devdocker compose uporuvicorn app:app) and verified the change works end-to-end. Type-checks and unit tests are not enough.How to Test
Follow the steps in
tauri-setup.mdto compile a native version to your machine.Visual / UI changes — REQUIRED if you touched anything that renders
No visual / UI changes to the main static files of Odysseus.
Screenshots / clips