Skip to content

About

Native mobile remote for Odysseus, the self-hosted AI workspace. Pair over LAN and chat from your phone. Expo SDK 56.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

60 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odysseus Mobile app icon: a coral sail on a dark rounded square

Odysseus Mobile

Version 1.0.0 · Build 12 (final)

🛑 This project is discontinued

Because of the lack of collaboration from the main Odysseus repo's maintainers, I've removed the app and stopped updating this repo. It has also been removed from TestFlight, so the old invite link no longer works.

But if you still need it, you can use it for yourself :) The code stays here under the MIT license. Build it on your own device (see Develop, or TESTFLIGHT.md for your own TestFlight build) and pair it with the server branch in Companion bridge. Everything below is left as it was at Build 12.

A native iOS/Android remote for Odysseus, the self-hosted AI workspace. Run Odysseus on a machine at home, pair your phone over the same Wi-Fi, and chat with your own models — local-first, nothing leaves your network.

⚠️ Background — upstream refused the companion bridge

On 2026-08-17 the Odysseus maintainers closed the companion-bridge PR, #6038 — the server-side half this app is built on. → Read the closing comment

It was not closed for bugs. It was green, mergeable, 4,000 reviewed lines, with every prior review round folded in. It was closed because core "[has] not agreed to maintain an app-specific companion API," a question left unresolved in #3244 since July — while #5674 and #5810 propose deleting the part of the bridge that upstream already merged in June. A separate PR simply listing this app in the README was closed the same week, #6044 — that comment.

What this means for you, concretely. A stock upstream Odysseus serves 4 of the ~50 companion endpoints this app calls — ping, info, models, pair. So against an official server you get pairing and chat, and every other screen is dead: Notes, Tasks, Memory, Gallery, Calendar, Documents, Email, Skills, Deep Research and push all return 404. And if #5810 is merged, those last four go too — the app won't even pair, and nothing works at all.

So don't run stock upstream. Run the server branch that actually carries the bridge — one clone, see Companion bridge. Everything in this app works against it, today. The app itself is finished and not blocked by any of this.

Built with Expo SDK 56 (React Native 0.85, React 19, expo-router).

Runs natively on iPhone and iPad from a single universal build — the iPad gets the full app, not a stretched phone view. (iPad screenshots: screenshots-ipad/.)

Home screen with the Odysseus Mobile app icon    Setup guide: clone and run the server, add the companion bridge, mint a pairing code    Pairing: scan the QR from pair_mobile.py or enter host/port/token manually

Chat screen streaming a reply from deepseek-v4-flash    Navigation drawer: New Chat, Sessions, Notes, Tasks, Memory, Settings — paired over LAN    Tasks screen listing scheduled Odysseus jobs with their cron schedules

Install

iOS — build it yourself

The app has been removed from TestFlight, so there's no public iOS install any more. To run it on your own iPhone or iPad, make a development build (npx expo run:ios, see Develop) or upload your own TestFlight build (see TESTFLIGHT.md).

Android — APK

The final build is still on GitHub Releases. Download odysseus-mobile-v1.0.0-build12.apk from the Build 12 release and install it (allow install from unknown sources if prompted).

Either way, you'll need an Odysseus server on your LAN with the companion bridge — see Prerequisites and Pairing below.

What's new in Build 12

  • Reach your server from anywhere — pair over HTTPS to an Odysseus behind a TLS reverse proxy (tailscale serve, Caddy, nginx), instead of only over the same Wi-Fi. Turn on Use HTTPS when pairing, or just paste an https://… address. See Remote access. Reported in #2 by @FUenal — thank you.
  • Clearer setup docs — the README now says plainly where the companion bridge lives, why it isn't in upstream core, and which screen the bridge doesn't serve.

What's new in Build 11

  • 12 themes, including light modes — choose one in Settings → Appearance.
  • Seven languages — English, Spanish, French, German, Portuguese, Arabic, and Persian, with device-language detection and right-to-left layout.
  • Richer chat — view assistant thinking in a collapsible block, follow agent tool calls, and read syntax-highlighted code blocks.
  • Read aloud and multilingual dictation — hear assistant replies using on-device text-to-speech, and dictate in the selected language.
  • Task controls — run, pause, resume, or stop scheduled tasks from the app.
  • Gallery favorites — add or remove a favorite from the image viewer.
  • Email AI — summarize a message or draft a reply with your own model.
  • Cached model browser — inspect the server's model inventory from Admin → Cookbook. (Admin-only; see Companion bridge — not available against an upstream server.)

All of these features remain owner-scoped and local-first: the app communicates only with the Odysseus server you paired over your network. See the full changelog for release details.

A note to the community (and to PewDiePie) 🙏

Huge thanks to PewDiePie for building and open-sourcing Odysseus — a genuinely local-first, privacy-first AI workspace, with no Trojan horse. This little app exists only because that one does. Thank you, Felix. 🛶

This project is public and free — take it, fork it, run it. I'm no longer updating it (see the note at the top), but the code stays here, and you're welcome to keep it going in your own fork. ❤️

How it works

The phone authenticates to your Odysseus server with an ody_ API token and talks to it directly — over the LAN, or over HTTPS to a server behind a TLS proxy. Pairing data — { host, port, token, tls? } — is stored only on-device in the iOS/Android keychain (expo-secure-store).

 ┌─────────────┐  http:// on the LAN  ┌──────────────────────────┐
 │  Odysseus    │  https:// off it     │  Odysseus Mobile (Expo)  │
 │  server      │ ◀─────────────────▶ │  pair → chat → stream    │
 └─────────────┘    Bearer ody_…      └──────────────────────────┘

Model discovery uses Odysseus's companion bridge (/api/companion/*); sessions and streaming chat use the stock Odysseus API (/api/session, /api/chat_stream).

Prerequisites

  1. Odysseus running with the companion bridge (the companion/ package and /api/companion/* routes) — see Companion bridge for the one-line clone that gets you a server with it.
  2. Server reachable on your LAN — bind to 0.0.0.0, not just loopback:
    • Docker: set APP_BIND=0.0.0.0 in .env, docker compose up -d.
    • Native: launch with --host 0.0.0.0.
  3. Phone and server on the same network — or reachable over HTTPS, see Remote access.

Companion bridge

The app talks to stock Odysseus routes for chat (/api/session, /api/chat_stream) and to a companion bridge for everything else. The bridge lives in this project's fork.

git clone https://github.com/mahdi-salmanzade/odysseus-dev.git odysseus
cd odysseus && git checkout feat/companion-mobile-surface

That branch is dev (as of its last sync) plus the bridge, and it serves every non-admin endpoint the app calls — the feature tabs (Memory, Notes, Tasks, Gallery, Calendar, Documents, Email, Skills), the Deep Research launcher, attachments, task controls, gallery favorites, email AI actions and push. Nothing in the app is inert against it.

Why it isn't upstream

A first slice of the bridge — ping, info, models, pair — was merged upstream in June (#863, #871, #877). The rest was offered as one consolidated PR, #6038, and closed on 2026-08-17. The reason given was scope, not defects: the project has not agreed to maintain an app-specific companion API in core, that question is still open in #3244, and two other proposals — #5674 and #5810 — argue for removing the merged bridge instead. A README entry listing this app alongside the other community client was closed the same week under a policy against pointing at third-party clients from the official docs.

So the direction upstream is unsettled, and the four merged endpoints may yet be removed by #5810. That changes nothing for you as a user: the fork branch above is self-contained and carries the merged endpoints too — so it keeps working either way. This project is discontinued, though, so the app won't follow future upstream changes.

Historical note: ten predecessor PRs (#881, #1094, #1166, #1332, #1366, #2585, #2668, #2672, #2674, #2966) were closed on 2026-07-23 when GitHub detached the upstream repository from its fork network — not on review — and were rebuilt from scratch on current dev with every review round folded in. The old mahdi-salmanzade/odysseus fork is orphaned in that other network and is no longer updated; use odysseus-dev above.

The one screen that stays unavailable

The Admin screen (/terminal/exec, /vault/*, /mcp/servers, /cookbook/*, /contacts, /admin/status) is deliberately not part of the bridge, and those calls 404. A paired device is narrow integration access and shouldn't inherit an admin account's shell — so the bridge exposes no admin-privileged tool at all, and a test enforces that. This was our own call, and it stands regardless of what upstream decides. If you want those locally, they live on the integration branch of the fork; running them is a decision to hand your phone's token an admin surface.

Pairing

On the server, while logged in as admin, open:

http://localhost:7000/api/companion/pair

Scan the QR with this app (or use Enter manually and type host / port / token). Or mint a code from the terminal:

python scripts/pair_mobile.py

Remote access (Tailscale, WireGuard, reverse proxy)

To reach your server from outside the house, put Odysseus behind TLS and turn on Use HTTPS when you pair (or paste a full https://… address into the host field — the scheme is picked up automatically). With tailscale serve:

tailscale serve --bg 7000          # → https://<machine>.<tailnet>.ts.net

then pair with host <machine>.<tailnet>.ts.net, port 443, HTTPS on.

Why HTTPS and not plain http:// over the tailnet: iOS App Transport Security only exempts local addresses. Tailscale hands out 100.64.0.0/10 (CGNAT), which isn't in that exemption, and ATS exception entries are keyed by domain — a CIDR range can't be expressed at all — so http://100.x.y.z:7000 fails with NSURLErrorDomain -1022 before the request leaves the phone. TLS sidesteps it entirely, and the certificate authenticates the server rather than trusting a bare IP. Android is unaffected (usesCleartextTraffic), but the HTTPS path works there too.

If you'd rather stay on cleartext over a tailnet, use the MagicDNS machine name (my-mac, no dots) instead of the 100.x literal — single-label hosts are covered by the ATS local-networking exemption, and the app accepts them.

Develop

npm install
npx expo start

Cleartext http:// to a LAN IP is allowed via app.json (usesCleartextTraffic on Android, ATS exceptions on iOS). These need a development build — SDK 56 apps don't run in the legacy Expo Go on the stores. Use npx expo run:ios / npx expo run:android, or an EAS dev build, on a device that's on your Wi-Fi.

Server setup & TestFlight

Project layout

src/
  app/
    _layout.tsx     # providers + pairing-gated Stack
    index.tsx       # chat screen (model discovery, session, SSE streaming)
    sessions.tsx    # session list
    notes.tsx       # notes (text + checklists)
    documents.tsx   # document library
    gallery.tsx     # image gallery + favorites
    tasks.tsx       # scheduled tasks + run/pause/resume/stop
    calendar.tsx    # calendar and event creation
    email.tsx       # multi-account email + AI summarize/reply
    memory.tsx      # memories + category filtering
    admin.tsx       # terminal, contacts, vault, MCP, cookbook models
    pair.tsx        # QR scan / manual pairing
    settings.tsx    # server, model, language, theme, push + unpair
  components/        # sidebar, markdown, qr-scanner, header-icons,
                     # nav-icon, odysseus-logo, odysseus-wordmark
  lib/
    api.ts          # Odysseus wire contract + SSE stream reader
    i18n/           # 7 translated locale bundles + RTL setup
    tts.ts          # on-device assistant read-aloud
    dictation.ts    # multilingual speech recognition
    device-prefs.ts # synchronous theme/language persistence
    pairing.ts      # Pairing type + secure-store persistence
    pairing-context.tsx
    sidebar-context.tsx
    prefs.ts        # persisted user prefs (e.g. selected model)
  constants/theme.ts # 12 selectable color palettes

Permissions

The app declares only what it needs, each with a clear purpose string:

  • Camera — scan the pairing QR code shown by your Odysseus server.
  • Photo Library — read a stored screenshot to scan a QR code you've saved. (Also linked by the camera SDK, so iOS requires the string even if you never pick from the library.)
  • Microphone + Speech Recognition — optional on-device speech-to-text for composing a message by voice.
  • Local Network — reach your Odysseus server over the LAN.

Read-aloud uses the operating system's text-to-speech voices and requires no additional permission.

None of these send data anywhere but your own server. You can decline any of them and still pair manually and chat by typing.

Security

The pairing token grants chat access to your Odysseus. It lives only in this device's keychain and is sent as a Bearer token over your LAN. Revoke it anytime in Odysseus → Settings → API tokens. For access beyond a trusted home network, put Odysseus behind HTTPS — see Remote access.

A scanned QR is untrusted input, so the host it carries is validated before the token is ever sent to it: cleartext pairings are restricted to private, loopback, link-local, CGNAT, *.local and single-label hosts, and an https pairing to a host outside those ranges asks for confirmation first. Either way the address must be a bare host — scheme, path, credential and port injections are rejected.

License

MIT

About

Native mobile remote for Odysseus, the self-hosted AI workspace. Pair over LAN and chat from your phone. Expo SDK 56.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages