Skip to content

feat: Add official support for Android/Termux #449

@Rogercode97

Description

@Rogercode97

Description

Currently, Gentle-AI blocks execution on Android/Termux with an 'unsupported operating system' error. After investigating and patching the source code locally, I've confirmed that Gentle-AI works perfectly on Termux if the OS check is bypassed and the binary is compiled from source.

Proposed Changes

  1. internal/system/detect.go: Add android to IsSupportedOS function.
  2. internal/system/detect.go: Add case "android": to resolvePlatformProfile and set profile.Supported = true.
  3. internal/system/guard.go: Ensure android doesn't trip the Linux distro validation.

Why this is important

Many users use Termux as their primary mobile development environment. Enabling official support would allow them to use the full power of Gentle-AI workflows on the go.

I have already tested these changes on an arm64 Android device running Termux and everything (CLI/TUI) works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions