Back to browse
GitHub Repository

Enjoy (responsibly). If you wanna. I'm not the boss of you.

28 starsPython

First native zeroclaw build on Android/Termux (aarch64, no proot)

by bleaknarratives·Feb 25, 2026·2 points·0 comments

AI Analysis

●●SolidWizardryNiche Gem

Native Android Nostr client—hard technical problem solved, tiny audience.

Strengths
  • Genuine technical constraint problem: OOM linker failure + Termux strictness + no swap required three-part solution (mold + codegen-units + LTO).
  • Prebuilt binary and reproduction steps included—ships as immediately useful artifact, not just documentation.
  • Solves a real blocker: koffi/Gemini native builds both failed; this one works.
Weaknesses
  • Nostr developer ecosystem is niche; unclear adoption path beyond decentralized enthusiasts.
  • No performance benchmarks or comparison to cross-compilation—only confirms it works, not that it's optimal.
Target Audience

Nostr developers, Rust/Android enthusiasts, decentralized app builders

Similar To

Termux · zeroclaw

Post Description

Zeroclaw is a Rust-based Nostr client/relay tool. As of a few hours ago, no one had compiled it natively on Android.

Gemini CLI tried. Gemini Android tried. Both failed.

The blockers: — koffi's build script passes `make -j` bare, which Termux's make rejects — The default linker OOM-kills during the final link step (Android blocks swapon for unprivileged processes)

The fix: mold linker + codegen-units=1 + lto=thin + opt-level=z in a .cargo/config.toml

Binary: 15.5MB. Build time: 23m 55s. Kernel: Linux 5.4.284-moto. Completed at 04:11:47 CST.

Repo with binary, build config, and full reproduction steps: https://github.com/BleakNarratives/zeroclaw-android

Similar Projects

AI/MLMid

OmniClaw – An autonomous AI swarm that runs natively on Termux

Kernel-level AI agents on Android, but half-baked security model and unclear differentiation.

Bold BetShip It
anon89745
113mo ago