[GH-ISSUE #6829] [Feature]: Android app - remote client #3825

Closed
opened 2026-10-21 06:07:56 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @IndigoInference on GitHub (Sep 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6829

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Currently, the android app only functions as a client for a server running on the phone. This would allow it to also connect to a self hosted server over https (like a docker container on LAN or tailscale)

Proposed solution

Adjust the android app to default to localhost still, but allow pointing at a FQDN over HTTPS only.

Alternatives considered

Browser, but it's not quite the same as a native app. Native app could integrate other features later too like biometric locking and native notifications.

Additional context

I'm running a forked Android build that allows biometric locking, remote server over HTTPS, and ability to grant permissions for camera and microphone for calls. Was mostly curious if this is something others would want merged to staging.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • [] I DID NOT read this template and provide the requested details.
Originally created by @IndigoInference on GitHub (Sep 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6829 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Currently, the android app only functions as a client for a server running on the phone. This would allow it to also connect to a self hosted server over https (like a docker container on LAN or tailscale) ## Proposed solution Adjust the android app to default to localhost still, but allow pointing at a FQDN over HTTPS only. ## Alternatives considered Browser, but it's not quite the same as a native app. Native app could integrate other features later too like biometric locking and native notifications. ## Additional context I'm running a forked Android build that allows biometric locking, remote server over HTTPS, and ability to grant permissions for camera and microphone for calls. Was mostly curious if this is something others would want merged to staging. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:07:56 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 29, 2026):

Hey, thanks for opening this! Yeah, I'd be happy to take a remote-server mode for the Android app. Plenty of people run Marinara in Docker or over Tailscale, and I think a lot of them would use it.

A few things I'd want before merging it:

  • HTTPS only, and no "accept any certificate" escape hatch. If someone's on a self-signed LAN cert, I'd rather point them at Tailscale HTTPS or a real cert than have the app quietly trust anything.
  • The local-access secret stays on 127.0.0.1. Remote mode should use the server's normal login (the Basic Auth prompt), with credentials kept in the Keystore rather than plain prefs.
  • Turn off the Termux bits in remote mode. openLauncher and openConsole shouldn't do anything there, and the bootstrap screen shouldn't show up.
  • Keep the exact-origin pinning. One configured server origin, and external links still open in the browser.

Could you also split it into separate PRs? Something like:

  1. remote server
  2. camera/mic permission for calls (honestly useful even for the local server)
  3. biometric lock

It's a lot easier to review that way than one big fork merge. Please target staging, and update android/README.md and docs/REMOTE_ACCESS.md along with it.

Thanks again, looking forward to it!

<!-- gh-comment-id:5888191779 --> @SpicyMarinara commented on GitHub (Sep 29, 2026): Hey, thanks for opening this! Yeah, I'd be happy to take a remote-server mode for the Android app. Plenty of people run Marinara in Docker or over Tailscale, and I think a lot of them would use it. A few things I'd want before merging it: - **HTTPS only, and no "accept any certificate" escape hatch.** If someone's on a self-signed LAN cert, I'd rather point them at Tailscale HTTPS or a real cert than have the app quietly trust anything. - **The local-access secret stays on `127.0.0.1`.** Remote mode should use the server's normal login (the Basic Auth prompt), with credentials kept in the Keystore rather than plain prefs. - **Turn off the Termux bits in remote mode.** `openLauncher` and `openConsole` shouldn't do anything there, and the bootstrap screen shouldn't show up. - **Keep the exact-origin pinning.** One configured server origin, and external links still open in the browser. Could you also split it into separate PRs? Something like: 1. remote server 2. camera/mic permission for calls (honestly useful even for the local server) 3. biometric lock It's a lot easier to review that way than one big fork merge. Please target `staging`, and update `android/README.md` and `docs/REMOTE_ACCESS.md` along with it. Thanks again, looking forward to it!
Author
Owner

@SpicyMarinara commented on GitHub (Sep 30, 2026):

Closing for now, feel free to reopen the issue with a PR. :)

<!-- gh-comment-id:5919054126 --> @SpicyMarinara commented on GitHub (Sep 30, 2026): Closing for now, feel free to reopen the issue with a PR. :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3825
No description provided.