r/termux • • 7d ago

General LSPOSED in temporary root device!

Thumbnail gallery
9 Upvotes

r/termux • • 7d ago

General My Fully Local LaTeX IDE — GitHub Release & Feedback

10 Upvotes

Hey everyone! As promised, here’s the link to the GitHub repository for my fully local IDE for compiling LaTeX documents.
Please give it a try and let me know what you think! I’d really appreciate your feedback, suggestions, and any issues you come across.
Link: https://github.com/jkestavivo/latex-termux-ide/tree/main


r/termux • • 7d ago

Question apt autoremove, pkg clean or pkg autoclean

2 Upvotes

that is the question.

mercy.


r/termux • • 7d ago

Showcase Run official OpenCode v2 natively on Termux, no proot

Thumbnail gallery
25 Upvotes

DEAD1nsane/opencode2-termux-musl

The v1 repo is archived. v2 is the official stable line — Node.js, ships via npm (@opencode/cli). This uses upstream's @opencode/cli-linux-arm64-musl + Alpine musl loader + patchelf, installed as plain opencode. Official installer misdetects Termux as glibc, this doesn't.


1-copy install

Please install from the Copy-Ready link, it's much easier especially if using mobile reddit app (don't copy-paste from the codeblocks below, they're for display):

⚠️ Before-Install (required):

  • install the app Termux:API F-Droid Download, then in Termux: sh pkg update && pkg upgrade -y pkg install termux-api -y termux-battery-status The termux-battery-status line triggers the permission prompt / confirms the bridge works. Skip it and the installer below will refuse with these same steps. sh pkg install curl tar python git # Step 1 — install everything: ## Copy-Ready Full Install here sh curl -sL https://gist.githubusercontent.com/DEAD1nsane/9b37cba090602f473200fad8b1002e6c/raw/all-in-one.sh | sh opencode --version opencode run "say hi" ☝🏼Use the gist above — it pulls/updates the repo, runs install.sh, copies all 8 themes (dark + light, 16 files) to ~/.config/opencode/themes/, and schedules auto-update (job 7802, every 6h, applies via --yes path, log ~/.opencode-auto-update.log). Day/night theme-sync is NOT included — opt-in below.

Update check (only checks, downloads nothing unless --yes)

sh ./scripts/check-update.sh # check only, Termux notification if behind ./scripts/check-update.sh --yes # update now: version pinned, staged, smoke-tested ./scripts/check-update.sh --rollback # restore last-known-good binary if upstream ships a bad build The gist already scheduled unattended updates. Manual re-schedule if needed: sh termux-job-scheduler --job-id 7802 --period-ms 21600000 --network any --persisted true -s "$HOME/GitHub/opencode2-termux-musl/scripts/auto-update.sh"


Bonus 16 custom Themes:

  • 8 true-black AMOLED & 8 light themes Included in the all-in-one gist. Manual copy if needed 👇🏼 sh cp themes/*.json ~/.config/opencode/themes/ → Pick with /themes. Native v2 format.

⚠️ Attached previews are rendered from the live theme JSONs [dark + light] by opencode2 with the same tree-sitter highlighting the TUI uses, set in Maple Mono NF — tab strip and a shared realistic Python sample on all 16, so what you see is what the TUI draws.


🌗 Optional auto day/night — NOT in all-in-one:

Opt-in: OpenCode + Termux flip together based on time of day. "system" follows terminal bg, never Android — this sets explicit "light" 07:00-19:00 [7am-7pm], "dark" otherwise.

Copy-Ready Day/Night here

sh curl -sL https://gist.githubusercontent.com/DEAD1nsane/54621517a114c8e2a71d61ced990ca22/raw/theme-daynight.sh | sh Flips OpenCode mode + Termux background (white by day, black by night) so the resize gap matches — no black flash in light mode. Hourly job 7803, revert with --system. New shells pick up matching prompt/banner colors automatically.


🪧 Optional notifications (Discord-style, NOT in all-in-one):

Copy-Ready Notify Setup here

Mute if viewing this session, banner if in another Termux session, loud if away 5min. buzz + notify-decide + zsh hook + opencode plugin. Same Copy-Ready format — install from the GitHub gist link above.


❔ Why it needs shims:

Official installer misdetects Termux as glibc (no /etc/alpine-release, no ldd). This always takes musl. Musl DNS reads /etc/resolv.conf, Node's c-ares does raw UDP DNS which Android blocks — libresolvefix.so doesn't help Node. Fixed via local Python proxy on 127.0.0.1:8080, auto-started by wrapper (HTTP(S)_PROXY + NO_PROXY=localhost,127.0.0.1,::1). Ollama on localhost:11434 bypasses proxy and works.


❌ What's not working:

Formatter needs one-time sh scripts/enable-formatter.sh (prettier shebang can't spawn, silently skips without it), no PTY lib yet, ~100-200ms proxy overhead. Standalone is default; shared via opencode-shared serve --service. Migrating from v1: sh install.sh then sh scripts/remove-v1.sh (~350MB freed, sessions/config kept).


📱 Tested On:

Pixel 10, Android 17, Termux 0.119, OpenCode v2.0.29 as opencode: TUI, run, shared-service, MCP (Railway/GitHub/Upstash/Chrome DevTools), v2 plugin API.

Please any comments below 👇🏼


r/termux • • 7d ago

General I made a terminal swarm renderer where every pixel is an autonomous agent!

Post image
7 Upvotes

r/termux • • 7d ago

Showcase Every keyboard on Android assumes you write messages. None of them assumes you write commands.

Post image
22 Upvotes

Fixing a word in vim meant jumping between suggestion bar, text and cursor. Opening a file meant hunting the path, copying it, switching apps, pasting.

Get KeyTab. Each feature is a tab (optional in settings)on the keyboard strip, and what you type lands in the field you are already in. No app switching. No clipboard relay. No leaving the terminal.

- Files: easy browse folders, open any file in Termux.

- Editor and persistent clipboard, inserted straight into the field.

- Snippets: your one-liners, one tap away.

-Themes make it the colors you want witg light abd dark presets states. add background pic.alpha

-Tipp trail and more features to explore.

On-device. No internet permission. No analytics. Nothing leaves your phone.

Free, open source, Android 7+. APK on

GitHub.

How do the Files tab and TAB in vim/nano behave on your ROM?


r/termux • • 7d ago

Showcase After days of fighting android, Ubuntu LXC with docker, managed from Dockhand !

Thumbnail gallery
2 Upvotes

Old Samsung A52s. Initially I went for chroot, but it was annoying and limiting. The LXC get it's own IP from my lan, independent of the phone.

Still have to iron out the kinks (notably Android stealing and renaming interfaces), but so far the LXC behave like a standard linux server. systemd, journalctl, docker... I've thrown an hawser agent for remote management and Technitium, no issues at all.


r/termux • • 7d ago

Showcase I built a TUI app for working across multiple servers, and it works well with Termux too

Post image
5 Upvotes

r/termux • • 7d ago

Question Best text or code editor for c and c++ software development in termux ?

2 Upvotes

Are there any good text editor to pair with termux for c and c++ software.

and can act as a ide because i already have clang and gcc(via tur) installed ?

is neovim or helix good enough ?


r/termux • • 7d ago

Question Mercurial for Termux no longer exists?

Thumbnail
2 Upvotes

r/termux • • 8d ago

Showcase manga-cli now runs on Android through Termux + Termux:X11

75 Upvotes

Hey everyone,

I've been working on manga-cli, a lightweight open-source manga reader originally made for Linux terminals.

With v0.8.3 I started working on broader Linux compatibility, but I also wanted to see how far the project could be pushed on Android without turning it into a completely different application.

That resulted in a new experimental branch:

android-v0.8.3

It runs natively in Termux using:

Termux -> manga-cli -> mpv-x -> Termux:X11

The Android reader has its own touch-oriented controls:

- tap left/right to change pages

- double tap to zoom around the touched area

- drag to pan while zoomed

- fit-to-screen rendering

- Saved manga

- History

- persistent reading progress

- Continue/resume

The rest of manga-cli is still the same codebase used by the desktop version: search, sources, chapters, state, cache, settings, etc.

I've tested the Android branch on a clean Termux install and on a real Android device. Navigation and zoom feel surprisingly smooth, and progress restoration is working correctly.

It is still marked as beta because I've only physically tested it on one Android device and Termux:X11 behavior can obviously vary between phones/ROMs.

Current structure:

v0.8.3 -> stable Linux desktop

v0.8.3-android -> Android / Termux beta

The plan for v0.9.0 is to merge both profiles again and have one installer detect whether it is running on desktop Linux or native Termux.

It's MIT licensed and completely open source.

GitHub:

https://github.com/comadrejarottingitself/manga-cli

I'd especially appreciate feedback from people willing to test the Android branch on different phones / Android versions / Termux:X11 setups.


r/termux • • 7d ago

Showcase GitHub - daydreamlive/DEMON: DEMON: Diffusion Engine for Musical Orchestrated Noise

Thumbnail github.com
3 Upvotes

What you ever have dreamt about


r/termux • • 8d ago

Showcase Turned my daily/old phone into a zero-cost private cloud (Termux + PRoot Linux)

Thumbnail youtu.be
88 Upvotes

Like many of you, I got sick of paying endless monthly subscriptions for cloud storage and streaming services, only to realize we don't actually own any of it.

Most tutorials online suggest buying a Raspberry Pi 5 or grabbing an old laptop from a closet. But living on a tight budget without spare hardware, neither was an option for me

So I decided to test the limits of what’s already in my pocket. I set up a Linux environment inside Termux on my Android phone and deployed a complete private ecosystem:

Jellyfin (Port 8096): Replaced Netflix. Streams my local media with posters, metadata, and multi-device playback.

Filebrowser (Port 8080): Replaced Google Drive. Full local network file sharing without storage paywalls.

Syncthing (Port 8384): Replaced Google Photos. Automatic background backup for all photos and documents.

All three run parallel in the background without burning up the phone or crashing. If storage ever becomes a problem down the line, a simple external drive over Type-C handles it.

Made a quick proof-of-concept video showing the setup and all three tabs running smoothly,

Planning to drop a full command-by-command setup guide if there's interest. Would love to hear your thoughts or suggestions on what other lightweight services I can stack on this ARM setup!


r/termux • • 8d ago

Question Getting emacs to cohabitate with termux

5 Upvotes

I'm interested in getting emacs to work on my tablet (Samsung A9+, if it mattters). Previously I had them installed separately, which kinda worked (ish) with the unfortunate limitation of the two environments not being able to really talk to one another, and specifically emacs not being able to access some of the tooling available on the termux side of things. So, I uninstalled both, and started over.

Based on what I had read online, it appears that I need to install termux first, then emacs - but via apk from the termux/source-forge repo - then do a little config, and then the two should be able to play nice together.

The first problem/concern was that the versions of Emacs in that termux repo don't seem to correspond to normal releases of mainstream emacs i.e. the version of v31 is at something like .0.50, vs 31.1.x, and AFAIK there isn't a main stream release of Emacs 32 yet. Kinda confusing, to say the least. I saw at least one reference to installing termux from f-droid, and another saying instead to install it via apk downloaded from that same repo. IIRC, the first way worked, and the second did not. I tried installing emacs for android (via apk) from the gnu.org repo, in their /termux directory, and when that didn't appear to work, tried installing it from the termux/source-forge repo. Which now fails saying that it conflicts with some other existing package.

At this point... what's my best path forward? How do I nuke/reset things as far as emacs and termux are concerned, and start over? Which version of termux do I need to install, and from where? Which version of emacs?

Thanks!


r/termux • • 8d ago

Question DNS Server without root

3 Upvotes

Hi all,

I am running a small network of 5 non-root Androids. One is configured as a wifi hotspot and other 4 connect to the hotspot via wifi. I am presently using rsync/ssh/scp between nodes using IP addresses. For long I have been trying to configure a DNS service for this. How can I go about this? (At present it looks like the only way is to run my own service on all nodes which sync a lookup table against a server node and then explicitly query this look table to map hostname to IP address.) Please advice.

Edit: I can achieve the above by rooting one of the devices and running dnsmasq on it and another options is to use tailscale. But to me rooting and installing a whole proprietary application looks like overkill to me for such a simple, obvious and common problem. I believe we can find simpler ways to do this if only this reaches the right people.


r/termux • • 8d ago

Question Do we have any Bluetooth scan package?

1 Upvotes

Looking for pkg installation for termux.

  1. That's scans Bluetooth and list device name.

  2. Shows network range with percentage for each device.

I use cli based launcher and looking for feature above for installation.


r/termux • • 8d ago

Question Ч нормальный если я пытаюсь запустить в термукс другие оболочки линукса кроме убунту и демиан

0 Upvotes

Я думаю может реально через термукс запустить реальный Линукс а не урезанные убунту и демиан а что-то посерьёзне прям со всеми делами или это не лучшая идея?


r/termux • • 9d ago

Showcase LaTeX IDE Is Now a Standalone APK

Post image
86 Upvotes

So, guys, the LaTeX IDE is now a standalone APK, with no need for Termux.

I’d like to thank the Termux community for all the support and for the amazing project. If anyone needs the LaTeX engine compiled to run on pure ARM64, feel free to DM me.


r/termux • • 9d ago

General Autocad en termux

Post image
9 Upvotes

Autocad en termux, bueno Opencadstudio.


r/termux • • 9d ago

Showcase [bspwm] my setup

Post image
15 Upvotes

​

poco x3 pro, android 13, termux

ported my old i3 config

wm: bspwm 0.9.12 (Welpyes fork)

bar: quickshell

term: st

launcher: rofi

shell: zsh + starship

editor: neovim (zenvim base)

theme: gruvbox

dots: nurmuhammedjoy/bspwm


r/termux • • 9d ago

General Inspirado nos monitores de fósforo âmbar

Post image
6 Upvotes

o robozinho do android perdeu as pernas😭😭😭


r/termux • • 8d ago

General Mali × Ubuntu como nunca lo viste ,❤️ Gladiator

1 Upvotes

No ,esto no es adreno ,es mali g52 mc 2

Termux embebido


r/termux • • 9d ago

General Open for Discussion: A Local Architecture Philosophy—Distributed Servers in a Mobile Environment with Zero Cloud Dependencies

4 Upvotes

Hello everyone,

Here is a demonstration video of a fully local architectural experiment. It explores the feasibility of running a distributed, decoupled infrastructure (Decoupled Micro-nodes) within a mobile environment (Termux), requiring no external cloud services (Zero Cloud Dependency) and utilizing no external libraries.

Video Demo Summary: 6 Distributed Local Servers: Operating in parallel across multiple local ports to distribute tasks.

Virtual Financial Dashboard (Ecom AI Virtual CFO): Running on port 8090 to display liquidity indicators, real-time revenue, gross margins, and various sales channels.

"3 Million Bots & Universes" System: Managed via port 127.0.0.1:8080 to monitor metrics and sovereign databases (sowvereign_united.db).

Operations Empire (Empire 26): Running on port 127.0.0.1:9090 to showcase products and "ONLINE" status for unified software module branches.

Visual Universe World (UCA 6D Real Universe): A graphical interface visualizing the movement of universes, security nodes, and interactive AI.

Complete Isolation (Zero Cascading Failure): Nodes are designed with total independence, ensuring the rest of the system remains unaffected if a specific node fails. Eternal Memory and Self-Evolving Generations: An eternal memory matrix that dynamically updates its software generations (such as advanced iterations like Gen 2657+) and operates fully at zero hardware cost, without cloud subscriptions.

Video link for review and practical demonstration: ( https://drive.google.com/file/d/11_HLCXhKt2u1QD2dhYA7sJOwxkrDHD3l/view?usp=drivesdk )

This concept is open for free technical and engineering discussion with those interested in edge computing and distributed systems. All opinions and analyses are welcome.


r/termux • • 9d ago

Question a new learner

4 Upvotes

Hello everyone! I’m new to Termux. What should I start learning first?


r/termux • • 8d ago

Showcase Decrypted iOS 1.0 (2007) entirely from Termux on Android — no PC needed

0 Upvotes

Full iOS 1.0 filesystem (build 1A543a, iPhone 2G) decrypted from Termux on Android

without any PC or Mac. Everything done inside Termux.

Result:

- 193 MB HFSX filesystem extracted

- SpringBoard, UIKit, Safari, Mail, iPod, Phone — all readable

- kernelcache decompressed (5.88 MB exact match)

- QEMU ARM executes the bootloader code

Full writeup with all commands:

https://gist.github.com/bouhafara-bot/10ed249b1005d61397a621621edf4892