Files
MeshChatX/docs/meshchat_on_android_with_termux.md
Sudo-Ivan 268fc11bd5
Some checks failed
Build and Release / Build and Release (push) Successful in 2m25s
Build and Release / build_docker (push) Failing after 9m25s
feat(android): initialize Android project with Gradle configuration, build scripts, and main application structure for MeshChatX
2026-01-01 21:09:22 -06:00

1.8 KiB

MeshChatX on Android

It's possible to run MeshChatX on Android using Termux. Installation is now much simpler since the wheel package includes both the server and pre-built web assets.

This is the easiest method - the wheel includes everything you need.

Install System Dependencies

pkg upgrade
pkg install python
pkg install rust
pkg install binutils
pkg install build-essential

Note: Python 3.11 or higher is required. Check with python --version.

Download and Install Wheel

Download the latest wheel from the releases page, then:

pip install reticulum_meshchatx-*-py3-none-any.whl

The wheel will automatically install all Python dependencies. Building cryptography may take a while on Android.

Run MeshChatX

meshchat

Then open your Android web browser and navigate to http://localhost:8000

Method 2: Install from Source

If you need to build from source (for development or if no wheel is available for your architecture):

Install System Dependencies

pkg upgrade
pkg install git
pkg install nodejs-lts
pkg install python
pkg install rust
pkg install binutils
pkg install build-essential

Install pnpm

corepack enable
corepack prepare pnpm@latest --activate

Clone and Build

git clone https://git.quad4.io/Ivan/MeshChatX.git
cd MeshChatX
pip install poetry
poetry install
pnpm install
pnpm run build-frontend
poetry build -f wheel
pip install dist/*.whl

Run MeshChatX

meshchat

Configuration Notes

Note: The default AutoInterface may not work on your Android device. You will need to configure another interface such as TCPClientInterface in the settings.