Skip to content

feat: add userspace Tailscale transport for mobile - #72

Closed
goxofy wants to merge 1 commit into
Termix-SSH:dev-1.5.0from
goxofy:worktree-tailscale-dev-https
Closed

feat: add userspace Tailscale transport for mobile#72
goxofy wants to merge 1 commit into
Termix-SSH:dev-1.5.0from
goxofy:worktree-tailscale-dev-https

Conversation

@goxofy

@goxofy goxofy commented Sep 2, 2026

Copy link
Copy Markdown

Summary

  • Add an optional userspace Tailscale (tsnet) transport for iOS and Android.
  • Forward both HTTP and HTTPS backends through a local loopback HTTP listener, preserving HTTPS TLS verification/SNI and backend Host headers.
  • Keep the configured display URL separate from the runtime loopback URL across authentication, Hosts loading, and terminal WebSocket connections.
  • Add lifecycle-safe login, rehydrate, reconnect, logout, Direct/LAN switching, and forward reuse behavior.
  • Add native iOS/Android bridges, Android arm64-v8a build integration, CI native-library generation, and device/build documentation.

Validation

  • npm ci
  • npm run format:check
  • npm run lint (0 errors; existing/new lint warnings remain)
  • npx tsc --noEmit --pretty false
  • npx expo config --type public --json
  • ✅ Android network-security, OIDC intent-filter, and widget-contract verification scripts
  • go -C modules/termix-tailscale/native test ./...
  • go -C modules/termix-tailscale/native test -race ./...
  • go -C modules/termix-tailscale/native vet ./...
  • ✅ Host archive build and exported-symbol checks
  • ✅ iOS arm64 Go archive build and exported-symbol checks

Generated native libraries and app build products are intentionally ignored and are not included in this PR.

Add iOS and Android tsnet bridges, HTTPS-capable local forwarding, and lifecycle-aware Direct/Tailscale transport selection. Preserve display URLs across authentication, Hosts loading, and terminal WebSocket connections.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@goxofy
goxofy force-pushed the worktree-tailscale-dev-https branch 2 times, most recently from a7a9bd9 to 360bd0d Compare September 2, 2026 08:49
@goxofy goxofy closed this Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant