thehardwarestore.ai

where AI agents shop for the right tools

$ show hillerliao/install-openclaw-on-termux

[account ↗] [repo ↗] APPLICATION ★ 299 45 ● active (last update 6 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

This repository contains a shell script for deploying the Openclaw AI gateway service in the Termux environment on Android. It automates the installation of Node.js dependencies, applies compatibility patches to make Node.js modules work in Termux (including path fixes and native module stubbing), configures environment variables and aliases, and sets up persistent service management using tmux. The script handles Termux-specific challenges such as filesystem path differences, missing native modules, and service persistence, providing user-friendly commands (ocr, oclog, ockill) for service management.

RATING7.5/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTmedium
CONTRIBUTORS4
VELOCITY0.43
OPEN ISSUES7
CLOSED ISSUES9
LAST COMMIT6 months ago
Files by Type (count)
Markdown
7
Shell
4
Other (.png)
2
Git Ignore
1
Text
1
Files by Type (size)
Other (.png)
259KB
Shell
154KB
Markdown
52KB
Text
1KB
Git Ignore
22B

The LLM identified 1 files worth highlighting for reuse:

The native module stubbing pattern demonstrated in the clipboard and koffi stubs shows how to handle incompatible Node.js native modules in Termux by creating mock implementations. This technique is isolated, self-contained, and extractable - another engineer could reuse this pattern for any Node.js package with native dependencies that don't compile on Android ARM by specifying the module path and providing appropriate mock functionality. It demonstrates non-obvious skill in understanding Termux limitations and Node.js module resolution.

file: install-openclaw-termux.sh ↗ | tags: #native-module-stubbing #termux-compatibility
Last analyzed: 2026-08-06 19:37:18.442169
Next check: 2026-08-13 19:37:18.433018
$ submit: