Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
58dd190
feat: Initialize Tauri application with dynamic URL handling
bitboody Aug 18, 2026
31f7103
refactor: remove unused invoke_handler and move OS check to run function
bitboody Aug 18, 2026
abd3f05
added tauri-setup.md
bitboody Aug 18, 2026
b36778c
refactor: remove OS check from run function and add installation stat…
bitboody Aug 18, 2026
f82284e
refactor: reorganize OS check and enhance installation state logging
bitboody Aug 18, 2026
e31b345
feat: enhance run function to accept OS name and installation state
bitboody Aug 19, 2026
3bad5e8
handle window.navigate(target_url) warning
bitboody Aug 19, 2026
b63b6c0
add partial installation message and learn more button functionality …
bitboody Aug 19, 2026
b395530
feat: add Windows installation script and elevate privileges check
bitboody Aug 19, 2026
8442f6b
Merge branch 'odysseus-dev:dev' into tauri
bitboody Aug 19, 2026
2499c09
feat: update installation message styling and improve CSS formatting
bitboody Aug 19, 2026
6d8506e
Merge branch 'tauri' of https://github.com/bitboody/odysseus into tauri
bitboody Aug 19, 2026
ee1036c
update config file path for Odysseus Desktop in installation check an…
bitboody Aug 20, 2026
66c1bca
feat: add loading screen with progress indicator and status messages
bitboody Aug 20, 2026
2d68ccd
refactor: clean up comments in loading HTML for clarity
bitboody Aug 20, 2026
5c76cfb
refactor: simplify run function by removing os_name parameter
bitboody Aug 20, 2026
8f99185
refactor: remove unnecessary os_name variable in main function
bitboody Aug 20, 2026
f9b9fd1
improve html displaying logic
bitboody Aug 20, 2026
2e8a518
refactor: clean up and organize the run function, improve command han…
bitboody Aug 20, 2026
c5bab0e
Merge branch 'odysseus-dev:dev' into tauri
bitboody Aug 20, 2026
6accbd9
changed the installation size from ~300 to ~800 MB in tauri-installer…
bitboody Aug 20, 2026
7a6e03d
Merge branch 'tauri' of https://github.com/bitboody/odysseus into tauri
bitboody Aug 20, 2026
d31c8fa
clean up comments in run function
bitboody Aug 20, 2026
70e8c55
fix: correct socket address format in run function
bitboody Aug 20, 2026
e3a3cb3
feat: add check_installation_status command and update config.json ha…
bitboody Aug 20, 2026
89f972d
fix: update config path handling and ensure config directory creation
bitboody Aug 20, 2026
324b9a1
feat(tauri): add Windows Vagrant sandbox for secure launcher testing
o3LL Aug 20, 2026
4b56ad1
fix: update example environment file path for desktop configuration
bitboody Aug 22, 2026
11c3bcf
fix(desktop): harden installer lifecycle handling
RaresKeY Aug 27, 2026
c0d4581
fix: update frontendDist path in tauri configuration and clean up pro…
bitboody Aug 27, 2026
9c48ffe
fix: correct section numbering for desktop shortcut placement in prov…
bitboody Aug 27, 2026
8001b1c
fix: add dotenv dependency and update APP_PORT handling in lib.rs
bitboody Aug 28, 2026
faaa7a4
feat(platform): implement OS-specific Git installation and Docker lau…
bitboody Sep 1, 2026
9cb7d79
fix(platform): streamline Docker launch functions and improve error h…
bitboody Sep 1, 2026
df2adab
fix: refactor installation state check to improve file handling and e…
bitboody Sep 1, 2026
73172cc
fix(vagrant): pin and assert every build input, require the installer
o3LL Aug 31, 2026
0095c75
fix(vagrant): keep the firewall log size within the value Windows acc…
o3LL Aug 31, 2026
5bb3c08
fix(vagrant): match the signing publisher by RDN instead of substring
o3LL Aug 31, 2026
8c10488
fix(vagrant): scope checksum enforcement per package and assert the t…
o3LL Aug 31, 2026
a1d5ef9
chore(vagrant): retarget the source pin at the current head
o3LL Sep 1, 2026
7a20ac9
feat(installer): add native install option and info modal
bitboody Sep 5, 2026
2da4c13
Revert "feat(installer): add native install option and info modal"
bitboody Sep 5, 2026
7a4eace
feat(installer): add system requirements modal and styling
bitboody Sep 5, 2026
deac952
feat(docker): enhance Docker installation handling for missing Docker…
bitboody Sep 11, 2026
9450504
feat(commands): add check_installation_status command and integrate i…
bitboody Sep 11, 2026
7e6fe76
feat(installer): partial native installation support and refactor run…
bitboody Sep 15, 2026
c699180
feat(installer): add native installation option and update installati…
bitboody Sep 15, 2026
00d9e91
feat(loading): update loading messages for improved clarity
bitboody Sep 15, 2026
6db063c
feat(setup): enhance admin account creation logic based on AUTH_ENABL…
bitboody Sep 16, 2026
194b79a
feat(run): enhance run function to support native installation and up…
bitboody Sep 17, 2026
aa78ba1
Update cargo dependancies and regenerate lockfile
bitboody Sep 19, 2026
0af057f
moved "helper functions" comment
bitboody Sep 19, 2026
cd0fa41
feat(python): enhance Python installation logic and error messaging
bitboody Sep 23, 2026
a9c87c7
better python installation method
bitboody Sep 23, 2026
9637d93
gracefull fallback for if python isn't found
bitboody Sep 25, 2026
f3e3833
removed cycling status-text
bitboody Sep 25, 2026
66d1c9e
temporarily change cloned repository to bitboody's fork of odysseus
bitboody Sep 25, 2026
4936f3a
improved native installation
bitboody Sep 25, 2026
b712b0a
Merge branch 'odysseus-dev:dev' into tauri
bitboody Sep 28, 2026
6faee5c
fix(macos): make the Tauri desktop app build and run
CocoLng Sep 29, 2026
5b1d0f6
Merge pull request #1 from CocoLng/fix/tauri-macos
bitboody Oct 2, 2026
a41a7cb
fix(desktop): resume an unfinished install instead of refusing
CocoLng Oct 3, 2026
02427a4
fix(desktop): explain network and disk errors during install
CocoLng Oct 3, 2026
3035246
fix(desktop): stop the native server when quitting after an install
CocoLng Oct 3, 2026
4779817
feat(desktop): default to the native install on Apple Silicon Macs
CocoLng Oct 3, 2026
a7e4945
Merge pull request #2 from CocoLng/fix/tauri-installer
bitboody Oct 5, 2026
f0abecc
Merge branch 'odysseus-dev:dev' into tauri
bitboody Oct 5, 2026
1f3f760
fix(linux): build the desktop app from a clean clone
CocoLng Oct 11, 2026
69c07d8
fix(linux): say when python3-venv is missing
CocoLng Oct 11, 2026
396d87d
Merge pull request #3 from CocoLng/fix/tauri-linux
bitboody Oct 11, 2026
9570e3e
Merge branch 'odysseus-dev:dev' into tauri
bitboody Oct 12, 2026
d8ea02c
feat: integrate tauri-plugin-opener for external link handling
bitboody Oct 12, 2026
4365677
fix(macos): start the native timeout after the first install
CocoLng Oct 14, 2026
aa3fa83
Merge pull request #4 from CocoLng/fix/tauri-macos-install-timeout
bitboody Oct 15, 2026
d21825f
Merge branch 'odysseus-dev:dev' into tauri
bitboody Oct 16, 2026
2a6845f
Merge branch 'odysseus-dev:dev' into tauri
bitboody Nov 2, 2026
efc8ff0
Merge branch 'odysseus-dev:dev' into tauri
bitboody Nov 8, 2026
8ab1a3d
Merge upstream/dev into tauri: resolve .gitignore conflicts
bitboody Nov 30, 2026
069eb32
feat(update): implement update prompt and backend update handling
bitboody Dec 2, 2026
c7e7c22
feat(dependencies): optimize dependency installation by checking for …
bitboody Dec 2, 2026
f070935
Merge branch 'odysseus-dev:dev' into tauri
bitboody Dec 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
268 changes: 268 additions & 0 deletions .env.example-desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,268 @@
# Odysseus Desktop — Environment Configuration
# This file is a template for the .env file used by Odysseus Desktop.

# ============================================================
# LLM Configuration
# ============================================================

# Primary LLM host (default: localhost)
LLM_HOST=localhost

# Additional LLM hosts, comma-separated (for model discovery)
# Use hostnames/IPs only; Odysseus scans common serve ports, including Ollama's 11434.
# LLM_HOSTS=llm-host.local,backup-llm.local

# Optional Ollama base URL. In Docker, host Ollama is usually reachable here
# when started with OLLAMA_HOST=0.0.0.0:11434.
# OLLAMA_BASE_URL=http://host.docker.internal:11434/v1

# Optional LM Studio URL. In Docker, host LM Studio is reachable here
# when LM Studio is set to serve on all interfaces (0.0.0.0).
# LM_STUDIO_URL=http://host.docker.internal:1234

# OpenAI API key (only needed if using OpenAI models).
# Do not commit real keys. Keep this commented until needed.
# OPENAI_API_KEY=your_openai_api_key_here

# Research service LLM endpoint
# RESEARCH_LLM_ENDPOINT=http://localhost:8000/v1/chat/completions

# Extra CA bundle for LLM providers whose TLS chain isn't in the default
# trust store. Layered ON TOP of the system / certifi bundle — verification
# stays on for every host, the trust set just gets larger. Useful for:
# - GigaChat / Sber (Russian Trusted Root CA): without this the endpoint
# shows offline with CERTIFICATE_VERIFY_FAILED — self-signed certificate
# in certificate chain.
# - On-premise / corporate LLM gateways with an internal CA.
# Point at a PEM file containing the missing root(s).
# LLM_CA_BUNDLE=/etc/odysseus/ca/extra-roots.pem

# ============================================================
# Search & Web
# ============================================================

# SearXNG instance URL (self-hosted, for web search).
# Docker Compose overrides this to http://searxng:8080 for in-network access.
SEARXNG_INSTANCE=http://localhost:8080

# Optional SearXNG cookie/CSRF secret. If blank, Docker generates one on first boot
# and stores it in the searxng-data volume.
# SEARXNG_SECRET=

# ============================================================
# Database
# ============================================================

# SQLite database path (default: sqlite:///./data/app.db)
# DATABASE_URL=sqlite:///./data/app.db

# ============================================================
# Data directory
# ============================================================
# Move everything that lives under data/ - settings, sessions, database, auth,
# cache, uploads, etc. - to another path:
# ODYSSEUS_DATA_DIR=C:\path\to\dir

# ============================================================
# Auth & Security
# ============================================================

# Enable authentication (default: true)
AUTH_ENABLED=false

# Host bind address and port for the Odysseus web UI in Docker Compose.
# Keep APP_BIND on loopback unless you intentionally want LAN/reverse-proxy access.
# APP_BIND=127.0.0.1
# Change this if another local service already uses 7000 (macOS AirPlay often does).
APP_PORT=7000

# Optional HTTP address advertised in companion/mobile pairing codes. Set this
# when Docker would otherwise advertise a container address or loopback. Use a
# LAN or Tailscale IPv4 address, a single-label hostname, or an mDNS *.local
# name that the phone can reach. HTTPS and public hostnames are not supported
# by the current companion client. Do not include credentials, a path, query,
# or fragment.
# COMPANION_BASE_URL=http://192.168.1.50:7000

# Development-only auth bypass for loopback requests.
# Keep false for Docker, LAN, reverse proxy, and any shared deployment.
# LOCALHOST_BYPASS=false

# Mark session cookies Secure. Left unset, this follows the request scheme:
# an HTTPS login gets a Secure cookie, a plain-HTTP one does not. Set true to
# force it on, or false to force it off while you still serve plain HTTP.
# Upgrading: this used to default to false. Drop a leftover SECURE_COOKIES=false
# from your .env unless you still need that escape hatch — it keeps HTTPS logins
# on a non-Secure cookie.
# SECURE_COOKIES=true

# Optional: pre-seed the first admin password during setup.
# Do not commit a real password.
# ODYSSEUS_ADMIN_PASSWORD=change_me_before_first_boot

# CORS allowed origins (default: localhost-only; restrict to your public origin in production)
# ALLOWED_ORIGINS=http://localhost:7000,http://localhost:8000

# ============================================================
# ChromaDB (vector store)
# ============================================================

# ChromaDB service host.
# Manual host run: localhost:8100 when using `docker run -p 8100:8000 chromadb/chroma`.
# Docker Compose overrides these to chromadb:8000 for in-network access.
# CHROMADB_HOST=localhost
# CHROMADB_PORT=8100

# Docker Compose host-port bind addresses for bundled services.
# Defaults are loopback-only for safety. To expose ntfy only on Tailscale,
# set NTFY_BIND to your host's Tailscale IP and update NTFY_BASE_URL.
# CHROMADB_BIND=127.0.0.1
# NTFY_BIND=127.0.0.1
# NTFY_BASE_URL=http://localhost:8091
# Example:
# NTFY_BIND=100.x.y.z
# NTFY_BASE_URL=http://100.x.y.z:8091

# ============================================================
# RAG / Embeddings
# ============================================================

# Embedding API endpoint (OpenAI-compatible /v1/embeddings)
# Default: http://{LLM_HOST}:11434/v1/embeddings (ollama)
# EMBEDDING_URL=http://localhost:11434/v1/embeddings

# Embedding API key (if there's one)
# EMBEDDING_API_KEY=embedding_api_key_here

# Embedding model name (must be available at the endpoint above)
# EMBEDDING_MODEL=all-minilm:l6-v2

# Local fallback embedding model (used when no HTTP embedding API is available)
# Uses fastembed (ONNX) — downloads model on first run (~50MB)
# FASTEMBED_MODEL=sentence-transformers/all-MiniLM-L6-v2
# FASTEMBED_CACHE_PATH= # defaults to ~/.cache/fastembed

# ============================================================
# Google OAuth2 (Google Workspace / .edu email accounts)
# ============================================================
# Required to use the "Connect with Google" OAuth flow in email account setup.
# Create credentials at: console.cloud.google.com → APIs & Services → Credentials
# 1. Enable the Gmail API for your project.
# 2. Configure the OAuth consent screen (User Type: Internal for Workspace orgs).
# Add scopes: https://mail.google.com/ and email.
# 3. Create an OAuth 2.0 Client ID (type: Web application).
# Add your redirect URI: http://localhost:7000/api/email/oauth/google/callback
# (replace host/port for hosted installs).
# 4. Copy the Client ID and Client Secret below.
#
# GOOGLE_OAUTH_CLIENT_ID=your-client-id.apps.googleusercontent.com
# GOOGLE_OAUTH_CLIENT_SECRET=replace-with-client-secret
#
# Set this explicitly for HTTPS, reverse-proxy, or hosted deployments. The
# value must exactly match an authorized redirect URI in the Google client.
# Local HTTP setups may use the callback URL inferred by the application.
# GOOGLE_OAUTH_REDIRECT_URI=https://your-domain.com/api/email/oauth/google/callback

# Origin the MCP OAuth callback is sent back to, for remote (Streamable HTTP)
# MCP servers that register it dynamically. Defaults to http://localhost:$APP_PORT,
# which is right only when you reach Odysseus directly on that port. Set it for
# HTTPS, reverse-proxy, hosted, and Docker installs — inside the container the
# app always listens on 7000 and cannot see the host port map, so the default is
# wrong there whenever APP_PORT is not 7000.
#
# Not for Google MCP servers. Those use Desktop App credentials, and Google only
# accepts loopback redirect URIs for that client type, so a public origin here is
# rejected with redirect_uri_mismatch. Leave it unset for a Google-only install:
# the loopback default is what Google wants, and remote users finish through the
# paste-back page, which never has to load the redirect.
# https://developers.google.com/identity/protocols/oauth2/native-app
# OAUTH_REDIRECT_BASE_URL=https://your-domain.com

# ============================================================
# Misc
# ============================================================

# Cleanup interval in hours (default: 24)
# CLEANUP_INTERVAL_HOURS=24

# In-process email pollers (default: on). Set to 0 if you're driving
# polling from cron / systemd via `scripts/odysseus-mail poll-scheduled`
# and `scripts/odysseus-mail poll-summary`, otherwise both schedulers
# race on the same SQLite.
# ODYSSEUS_INPROCESS_POLLERS=1

# In-process scheduled-task runner (default: on). Set to 0 to let an
# external driver fire scheduled tasks. Calendar reminders are
# frontend-driven (polling /api/notes from the browser) so no gate is
# needed there.
# ODYSSEUS_INPROCESS_TASKS=1

# Host used by the built-in "run_script" scheduled-task action.
# Empty/local/localhost runs scripts on the app host. Set to an SSH host alias
# if you intentionally want scheduled scripts to run remotely.
# ODYSSEUS_SCRIPT_HOST=localhost

# Chat / agent attachment size cap in bytes (default: 10 MB).
# Raise this for local installs that need larger PDFs or text documents.
# Example: 52428800 = 50 MB.
# ODYSSEUS_CHAT_UPLOAD_MAX_BYTES=10485760

# Other per-feature upload size caps in bytes. All are validated and optional;
# defaults shown. An invalid value (non-integer or < 1) fails fast at startup.
# ODYSSEUS_GALLERY_UPLOAD_MAX_BYTES=104857600 # gallery image upload (100 MB)
# ODYSSEUS_GALLERY_TRANSFORM_UPLOAD_MAX_BYTES=26214400 # gallery transform input (25 MB)
# ODYSSEUS_MEMORY_IMPORT_MAX_BYTES=10485760 # memory import file (10 MB)
# ODYSSEUS_PERSONAL_UPLOAD_MAX_BYTES=26214400 # personal document upload (25 MB)
# ODYSSEUS_EMAIL_COMPOSE_UPLOAD_MAX_BYTES=26214400 # email compose attachment (25 MB)
# ODYSSEUS_STT_MAX_AUDIO_BYTES=26214400 # speech-to-text audio (25 MB)
# ODYSSEUS_ICS_MAX_BYTES=10485760 # calendar .ics import (10 MB)
# ODYSSEUS_TTS_CACHE_MAX_BYTES=524288000 # TTS cache (500 MB)

# ============================================================
# Host Docker access (explicit opt-in)
# ============================================================
# Default Docker Compose does not mount /var/run/docker.sock. Existing
# Ollama, vLLM, and other OpenAI-compatible endpoints remain usable without it.
#
# Enable this only for intentional Cookbook/local Docker-daemon management.
# Raw socket access is high-trust and can grant broad control over the host
# Docker daemon. Set DOCKER_GID to the host docker group's numeric GID.
# Put these values in .env, or export them before running docker compose.
# COMPOSE_FILE=docker-compose.yml:docker/host-docker.yml
# DOCKER_GID=963
# docker/host-docker.yml sets this inside the container. Keep it paired
# with the socket overlay; setting it alone is not sufficient.
# ODYSSEUS_ENABLE_HOST_DOCKER=true
#
# Host Docker access can be combined with one GPU overlay:
# COMPOSE_FILE=docker-compose.yml:docker/gpu.nvidia.yml:docker/host-docker.yml
# COMPOSE_FILE=docker-compose.yml:docker/gpu.amd.yml:docker/host-docker.yml

# ============================================================
# GPU support (Docker Compose)
# ============================================================
# Pass the host GPU into the odysseus container. Default (unset) = CPU.
# COMPOSE_FILE is a native `docker compose` feature: a colon-separated
# list of files merged left-to-right. Pick ONE GPU line below, or leave
# all commented for CPU.
#
# NVIDIA (requires nvidia-container-toolkit + `nvidia-ctk runtime
# configure --runtime=docker` on the host):
# COMPOSE_FILE=docker-compose.yml:docker/gpu.nvidia.yml
# COMPOSE_FILE=docker-compose.yml;docker/gpu.nvidia.yml #(Windows)
#
# AMD ROCm (requires ROCm drivers on the host and the GID of the render group):
# COMPOSE_FILE=docker-compose.yml:docker/gpu.amd.yml
# Find the render GID with: getent group render | cut -d: -f3
# RENDER_GID=989
#
# These overlays only expose the GPU devices. The slim Odysseus image
# still needs CUDA/ROCm userspace via Cookbook -> Dependencies (vLLM,
# llama-cpp-python, etc.) before models can actually serve on GPU.

# ============================================================
# Storage Paths (Docker Compose)
# ============================================================

# APP_DATA_DIR=./data
# APP_LOGS_DIR=./logs
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,10 @@ compound.config.json
_scratch/
/odysseus/

# Rust & Tauri Build Output
src-tauri/target/
target/
src-tauri/gen/

# Real-application browser validation reports (scripts/run_real_playwright_validation.py)
/artifacts/
Loading
Loading