r/termux

Termux native Opencode
▲ 43 r/termux

Termux native Opencode

So I compiled a bionic build of opencode as far as I've tested every function (except for fff) works.

Repo: https://github.com/Astreele/opencode-android

You can use the install script from there and simply update your opencode using your package manager (pkg update && pkg upgrade) it builds the latest releases from the opencode repo daily

u/FarState1045 — 5 days ago
▲ 2 r/termux

Version compadible with A17?

When isntalling from F-Droid I get big purple warning that app is for older version of android and wont be updated automaticaly. Any plans for A17 version?

reddit.com
u/Trapunov — 5 days ago
▲ 0 r/termux

Any good Termux forks with a modern UI?

I like Termux, but its UI feels pretty outdated. The side menu doesn't even open on my phone!

I don't have any issues with the terminal itself or its packages. I just wish the Android side was better.

I've tried NyaMux and termux-kotlin. NyaMux is a little better, but I'm still not really satisfied with either of them.

I also came across a few other projects:

Termux forks:

NyaMux: Kotlin/Compose UI rewrite (archived).

https://github.com/kerneldroid/NyaMux

NewTermux: Modern UI, file and package managers.

https://github.com/The412Banner/NewTermux

termux-kotlin: NyaMux fork, no releases.

https://github.com/sankarru/termux-kotlin

Terminal EX: Material You improvements.

https://github.com/Graywizard888/Terminal_EX

ZeroTermux: Extensive customization and tools.

https://github.com/hanxinhao000/ZeroTermux

termux-kotlin-app: Kotlin UI, modern settings, split terminal.

https://github.com/reapercanuk39/termux-kotlin-app

Termux+: Experimental Material You and AI features.

https://github.com/thejaustin/termux-ai-app

Termux Monet: Older Material You fork.

https://github.com/Termux-Monet/termux-monet

Other related projects

Termix: Compose terminal with Linux environments.

https://github.com/jeffusion/Termix

ReTerminal: Material 3 terminal with Alpine Linux.

https://github.com/RohitKushvaha01/ReTerminal

Xed Editor: Code editor with Ubuntu terminal.

https://github.com/Xed-Editor/Xed-Editor

Squircle CE: Code editor with Termux integration.

https://github.com/massivemadness/Squircle-CE

None of the options I've seen have really convinced me so far. Some look better than the original, but I still haven't found one that feels like a polished, modern Android app.

I'm not looking for a completely different terminal or a bunch of extra features. I'd actually prefer something fairly simple: the same Termux underneath, just with a much better UI/UX, sensible defaults, smooth interactions, and proper Android integration.

Has anyone found something like that?

I'm also curious why the official Termux UI hasn't changed much over the years. Is there a technical reason, or is it just not a priority for the maintainers?

u/ORSTED9 — 4 days ago
▲ 4 r/termux

I built AKG - a fast, multi-threaded package manager for Termux written in Rust

Hi r/termux, For the past week, I have been working on a personal project to solve my biggest frustration with Termux: slow, single-threaded package downloads and tedious dependency cleanup. I wanted something lightweight, atomic, and blazing fast. So I built AKG from scratch in Rust. It is fully compatible with the standard apt and dpkg package format and Termux repository layouts. Key Features: 1. Parallel Downloads: Downloads multiple .deb files simultaneously. It easily maxes out your network bandwidth (for example, downloading a 70MB full Godot Engine setup with 14 dependencies takes just 6 seconds). 2. Smart Dependency Resolution: Handles Depends, Pre-Depends, Conflicts, Breaks, Provides, and Replaces. 3. Aggressive Cleanup: The uninstall command automatically cascades to purge unused dependencies and config files, keeping your phone storage perfectly clean. 4. Flexibility: Supports installing local .deb files directly via file path or URL, and custom mirrors via the -r or --repo flag. 5. Safety: Atomic updates to the status database, dry-run modes, and signature verification via gpgv. How to install it from source: Since I just released the first stable version today, you can easily build it via the Rust toolchain: pkg update && pkg install git rust make-guile gpgv -y git clone https://github.com/lev73748/akg.git cd akg cargo build --release cp target/release/akg $PREFIX/bin/ Quick Examples: akg update akg -j 4 install neovim htop akg -r packages.termux.dev/apt/termux-main upgrade akg uninstall nodejs The project is fully open-source under the MIT license. Check it out on GitHub: https://github.com/lev73748/akg I would love to hear your feedback, thoughts, or feature suggestions. What do you think?

reddit.com
u/Lev384501 — 5 days ago
▲ 3 r/termux

new to the clan

i just installed termux and it's emptey any sugisions.

i want to learn ricing configring scripting as a first step to learn programing

reddit.com
u/Otherwise_Value_390 — 5 days ago
▲ 32 r/termux

Built a 1-click script to turn old Android phones into a headless NAS & Media Server (Jellyfin, FileBrowser, Syncthing) via Termux

Got tired of old phones sitting in drawers while cloud storage subscriptions keep getting more expensive. Android phones have decent multi-core ARM64 silicon, built-in battery backup (UPS), and low idle power consumption, so I automated the whole self-hosted stack deployment into a single bash routine.

Repo: https://github.com/huzefdev/pocket-cloud

  1. FileBrowser (:8080) - Lightweight web UI to upload, stream, and manage internal phone storage directly like Google Drive.

  2. Syncthing (:8384) - Background continuous folder syncing between PC/phone nodes.

  3. Jellyfin (:8096) - Media streaming server running inside an isolated Ubuntu PRoot environment with FFmpeg codecs configured for hardware playback.

Running Jellyfin natively on Termux hits nasty dependency walls and broken shared library links (especially with curl/ffmpeg codecs). Instead of fighting Android bionic libc quirks for hours, the installer spins up an isolated Ubuntu container inside PRoot for the media engine, while keeping FileBrowser and Syncthing running directly on Termux bare-metal for maximum IO throughput.

Also handles Android wake-locks so the OS scheduler doesn't kill the server daemons 5 minutes after locking the screen.

curl -sL https://raw.githubusercontent.com/huzefdev/pocket-cloud/main/install.sh | bash

The script is non-destructive, checks existing mount points before binding storage, and lets you choose which modules you want to deploy interactively.

Code is completely open-source. Looking for feedback on process management and memory footprint on low-RAM devices

u/Qodequeststudio — 5 days ago
▲ 4 r/termux+1 crossposts

Getting emacs to cohabitate with termux

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!

reddit.com
u/memilanuk — 9 days ago
▲ 83 r/termux+1 crossposts

LaTeX IDE Is Now a Standalone APK

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.

u/Warm_Ad1115 — 10 days ago
▲ 9 r/termux+1 crossposts

My Fully Local LaTeX IDE — GitHub Release & Feedback

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

reddit.com
u/Warm_Ad1115 — 8 days ago
▲ 17 r/termux

SELinux in permissive mode but without root

I used a process to root the phone but ended up getting stuck halfway through, though I was left with SELinux in permissive mode. What can I do in Termux with SELinux in permissive mode?

u/YitzakAF — 14 days ago
▲ 11 r/termux+1 crossposts

Linux on moto g31 ?

I have an old moto g31 (6/128 variant) with some damaged screen (but fully usable), I bought a new phone and its lying there unused. I want to install a lightweight linux on it so that I can connect a usb-c hub like portronics mport 52 and connect external hard drive via usb to use it as a lightweight NAS for personal storage and some docker containers like home assistant, immich etc. Any suggestion and guidance is appreciated.

u/-striking-dot- — 14 days ago
▲ 7 r/termux

Can Termux run as root using ADB root?

I’m running LineageOS with rooted debugging enabled. I can use adb root to get a root shell without installing any root solutions. I can even get a root shell inside termux using wireless debugging.

Can Termux use this somehow to run as root? Like some sort of alias that wrap around all this and use adb root to run termux commands as root.

reddit.com
u/Rare_Ad_8882 — 14 days ago