Termux Matrix |work| May 2026
pkg update && pkg upgrade pkg install golang git make Two excellent command-line Matrix clients work well in Termux: Option A: gomuks (easier, good for touch) go install github.com/tulir/gomuks@latest Option B: weechat + weechat-matrix (more features) pkg install weechat Step 3 – Configure & Run For gomuks: ~/go/bin/gomuks First run creates config in ~/.gomuks/ . Log in with: /login <homeserver> <username> <password> Example: /login https://matrix.org @alice:matrix.org
Enable in gomuks:
pkg install openssh sshd # On laptop: ssh -p 8022 user@phone_ip # Then run gomuks | Risk | Mitigation | |------|-------------| | Screen logging | Termux logs aren’t persistent by default, but disable history: set +o history | | Key storage | E2EE keys stored in ~/.gomuks/ – backup with tar -czf matrix-keys.tar.gz ~/.gomuks/ | | Clipboard exposure | Termux can read Android clipboard – avoid pasting recovery keys | | Background process | Use termux-wake-lock to prevent Android killing the client | termux matrix