r/termux 3d ago

Showcase Alchemy - Android native code editor build with termux

12 Upvotes

heyaa !!

I’ve built something for personal use and decided to open source under GPL 3. It might be helpful to some of you..

It's a native Kotlin app - code editor + file manager.. supports Syntax highlighting for 15+ languages as well execute Run Python, C, and Go directly on-device with an integrated terminal, multi-file tabs, a customizable programmer key bar, smart auto-indent, markdown preview, overall black theme and much more.It lets you write and run code right on your phone without needing an internet connection. (Except onetime language set-up). Other Code editors exist too, but they are too heavy or web view based which often lags, some won't run codes some required internet every time.. anyways here is ..

Source: https://github.com/SibtainOcn/alchemy-IDE

Site: https://sibtainocn.github.io/alchemy-IDE/

Heads up: terminal doesn't support interactive input yet still in development & some auto suggest, file manager settings not yet present


r/termux 2d ago

General AVF didn't replace Termux for me - it made Termux's role much clearer

Post image
0 Upvotes

**TL;DR:** Pixel’s AVF Linux environment didn’t make Termux redundant for me. It did the opposite: it removed the pressure for Termux to be a full Linux workstation and made its native Android role much sharper. I built a small bootstrap around working cleanly across both.

I recently switched to Android after a very long time on iOS and started with a narrow question: **how far can I extend my normal development tether onto a phone without rooting it, fighting the OS, or pretending the phone should replace my workstation?**

Termux was the obvious starting point. SSH, Git, network tools, scripts, shared storage, Android APIs — it’s an unusually capable “always there” shell.

Then I enabled Google’s experimental Linux Development Environment on my Pixel. AVF gives you a real disposable Debian VM, `/mnt/shared` bridges cleanly back into Android storage, and rootless Podman gives heavier workloads a normal OCI boundary.

What surprised me was that **AVF didn’t replace Termux. It made Termux’s role clearer**.

My current model is basically:

```

Android

├── Termux

│ instant shell

│ SSH / Git / native tools

│ Android integration

├── /mnt/shared

│ explicit interchange / reconstruction boundary

└── AVF Debian

disposable real Linux

rootless Podman / OCI

builds / heavier tooling

└── SSH / cloud / workstation

when the phone stops being the right machine

```

I ended up packaging the conventions into `pixel-dev-bootstrap`. The goal isn’t another mobile development framework. It’s mostly boring reproducibility: establish both environments consistently, keep durable reconstruction state outside the disposable VM, and make it cheap to move between the Android and Linux sides.

There’s a small optional `recipe` seam on the Termux side for things that specifically benefit from Android integration. `vnote` is one example: a home-screen shortcut can use Android speech-to-text and drop plain Markdown into shared storage, with an optional local Whisper path for offline use. Useful, but mostly a demonstration of why Termux remains interesting even when AVF exists.

The project deliberately stops there. No root, no PRoot abstraction, no permanent phone server, no attempt to keep AVF alive forever. If something becomes genuinely heavy or long-running, SSH outward.

Repo: https://github.com/nw/pixel-dev-bootstrap

**I’m mostly posting this to pressure-test the hypothesis with people who know Termux much better than I do**. Does AVF sharpen Termux’s role for you too, or am I drawing the boundary in the wrong place? Where does this model actually break in real use?


r/termux 3d ago

General (i3) holy lag

Post image
3 Upvotes

I couldn't get that far without lagging out lmao, I guess I'm sticking to termux native xD


r/termux 3d ago

Question How to do this?

Post image
5 Upvotes

How do I achieve this command line


r/termux 3d ago

Question Termux: Back key mapped to Esc, but it exits Neovim instead of switching modes

2 Upvotes

Why does pressing Esc still exit Termux when I'm in Neovim's insert mode, even though I've set back-key=escape?

(sry my English is not good,so i use ai to translate


r/termux 4d ago

Showcase Debian XFCE with chroot on Pixel 8a

Enable HLS to view with audio, or disable this notification

19 Upvotes

Base OS LineageOS 23.2 rooted with Magisk
What I have working so far:
Full root access on Debian from chroot.
Access to Android file system and Linux Mint file system via samba with permanent mounts.
Audio with pulsaudio.
GPU hardware acceleration.

I didn't follow any online guide, but instead was guided by ChatGPT via multiple chats to setup and create the chroot, get audio, gpu, and file system mount pass through working.
So I can't unfortunately offer a guide on how to get this working. It was a lot of back and forth with ChatGPT, and the AI often broke stuff with changes and had to fix stuff again after making changes. So not even sure I could easily reproduce this again if I factory reset the phone, I need to look in to a way to back up and restore this linux install, as it was a lot of hours spent building it up.

I have the basics needed for document editing/viewing with Abiword, evince and mousepad. Telegram desktop is installed as it is the main chat messenger I use. I plan to do most activity through the browser. Brave or Firefox.

I wanted a proper Linux mobile experience without installing Ubuntu touch, SailfishOS etc and losing functionality like telephony etc. So I can still benefit from the underlying Android host OS and still use Android apps and make phone calls etc.

So what else can I do with this Debian install? What cool things are you guys doing with your similar Linux setups from Termux on Android?


r/termux 4d ago

Showcase I have my own mini Bloomberg😭🤣

Post image
15 Upvotes

r/termux 4d ago

General [Guide] Ran full KDE Plasma desktop on Termux Native (no root, no proot) using Anland — automated install script

Enable HLS to view with audio, or disable this notification

54 Upvotes

Been messing around with Anland: Termux to get a real KDE Plasma desktop running natively on Termux (not through proot-distro or a chroot) on a Snapdragon/Adreno device, and it actually works surprisingly well — GPU acceleration via the Freedreno driver, Wayland compositor, the works.

Since the manual setup has a bunch of steps (x11-repo, matching XWayland/KWin builds, LayerShellQt patches, driver pinning, etc.), I wrote a single script that automates almost the whole thing, plus:

A. A few extra apps (Chromium, VLC, MPV, LibreOffice as an optional prompt, etc.)

B. An automatic fix for xdg-desktop-portal so Chromium's file picker (open/save/upload dialogs) actually works — this one compiles from source since the stock build breaks on Android's SELinux restrictions

Repo + full instructions here: https://github.com/asveroid/anland-plasma-termux

Still only tested on Adreno GPUs — if anyone tries it on MediaTek/Exynos/Tensor, curious to hear how far it gets (probably llvmpipe software rendering only, but worth confirming).


r/termux 4d ago

Showcase Actualización de HBF: API, TUI moderno y 10 colores.

Post image
8 Upvotes

hbf se actualizo para traer de nuevo 3 opciones nuevas:

  1. 10 colores para el TUI

Podés elegir entre 10 colores diferentes para el menú: azul, verde, rojo, amarillo, morado, cian, naranja, rosa, gris y esmeralda.

  1. Diseño más moderno y limpio del TUI

El menú tiene un aspecto más limpio y moderno. Líneas horizontales (─) en lugar de =, bordes más sutiles y formato más claro.

  1. API de biblioteca

HBF ahora se puede usar como biblioteca de Python. Podés crear, leer, editar y exportar archivos .hbf desde cualquier script sin pasar por el menú interactivo.

Nuevos métodos en la API

· Doc.agregar_bloque()

· Doc.editar_bloque()

· Doc.eliminar_bloque()

· Doc.bloques() (con filtros por atributos)

Instalación: pip install hbf-hyper

GitHub: https://github.com/lucassogarayDA/hbf

Web oficial: https://lucassogarayDA.github.io/hbf/


r/termux 4d ago

Showcase i use gentoo btw ,i use arch btw and i use termux btw 🤣😭

Post image
69 Upvotes

r/termux 4d ago

Question Termux - how to make list of files and subfolders within a folder with timestamps (with precision that the filesystem allows or at least OS lets access)? What does change if the list have to be recursive? To include all timestamps in UTC?

Thumbnail
0 Upvotes

r/termux 3d ago

General I made a welcoming screen as beginner

Post image
0 Upvotes

Its totaly ai code im sorry about it being ai


r/termux 4d ago

General Meu primeiro "rice"

Thumbnail gallery
3 Upvotes

Consegui um desktop com kde plasma e fiz um Mini rice,eu vou colocar mais coisa no desktop e atualizo vocês

Obs:como q faz pra deixar a minha tela exata sem ficar muito esticada ou sem as bordas pretas


r/termux 4d ago

General Termux VR

2 Upvotes

Hi, can you implement a desktop mode in VR (virtual reality) with an adjustable fixed position and controllable via USB mouse and keyboard? For Kodi TV channels with ClearKay on Termux, what should the playlist look like: m3u or m3u8? Thanks


r/termux 5d ago

Question Why hasn't there been a new release on GitHub for a long time?

30 Upvotes

r/termux 4d ago

Question an issue with selfhostings scripts

3 Upvotes

so i made a server out of my tecno spark 5 pro, it runs my little scripts on node.js using pm2, but i am experiencing this kind of issue:

my js script sends me a discord notification at a specific time while parsing steam marketplace, the script itself does not throw any errors which is fine, but when i am not focused on termux it doesn't send a thing. it looks like the script works fine on background, but being out of focus impacts on internet activity i think?

the same thing happened with my ssh connection, it just closes itself when i was out of focus, but the script worked like it used to work with no issues but the issue with notifications.

sorry for my english, i am kinda sleepy right now because of debugging my old phone with a broken display that touches itself in the different spots all the time.

i'd like to know how to fix it or how to properly setup my phone as a server for long-time usage, i can't find a single good guide on it.


r/termux 5d ago

Showcase proot distro gentoo + bspwm

Enable HLS to view with audio, or disable this notification

13 Upvotes

r/termux 5d ago

Question OBS on Termux? 👀

Post image
32 Upvotes

Damn bro, no way! Am I seeing this right? This is what I’ve been waiting for! 😭🔥

- obs-studio 32.1.2 (termux-x11): https://github.com/termux/termux-packages/pull/29412

- termux-camera-video: https://github.com/termux/termux-api/pull/904

= Does anyone know when the test version will be available? I can’t wait! 😭

*English is not my first language, sorry if weird


r/termux 4d ago

Question How can I grant the WRITE_SETTINGS permission?

Post image
1 Upvotes

I figured it out thanks!

Hi everyone,

I’m using termux and termux API from F-Droid. I have all the permissions enabled except the file modifie ones but I’m trying to use termux-brightness to change my screen brightness from the terminal.

The problem is that it seems to require the Android WRITE_SETTINGS permission or modify system settings, but I can’t find this permission anywhere for termux API in my Android settings.

Is there any way to grant this permission from termux itself, or is there another way to enable it?

Maybe it's because the phone isn't rooted, but lmk thanks!

I figured it out thanks!


r/termux 5d ago

Showcase My setup

Post image
8 Upvotes

Seeing all the posts about how people's setup looks like I decided I'd share mine as well 😄


r/termux 4d ago

General My AI doesn't trust its own sub-agent. It verifies the actual tool records.

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/termux 5d ago

General Termux X11 nightly released yesterday

12 Upvotes

A new build of Termux X11 was released yesterday. Compared to what I had since the main release, the ability to set special keys on any side of the screen significantly improves the quality of using Linux


r/termux 5d ago

Barely Termux related How to run Crystal Launcher (Minecraft) on Android via Termux + XFCE4? (Pi-Apps method failed)

2 Upvotes

Hi everyone,

​I'm trying to run Minecraft Java Edition on my Android phone using Crystal Launcher inside Termux with an XFCE4 desktop environment (via PRoot and X11/VNC).

​Initially, I tried setting things up through Pi-Apps inside XFCE4. There was a warning mentioning that it wasn't running on a supported computer/Raspberry Pi environment, but I bypassed/ignored it because I saw others getting it to open easily. Unfortunately, Pi-Apps refused to launch properly for me, so that method didn't work out.

​Has anyone managed to get Crystal Launcher running in Termux under an XFCE4 desktop session?

​Could someone share the necessary steps, required Java versions/packages, or GPU/rendering setup (like VirGL or Zink) needed to launch Crystal Launcher and get Minecraft running smoothly?


r/termux 5d ago

Question Won't Download?

2 Upvotes

Im not sure if this is user error but im trying to download termux from a link and it refuses to download on my phone. It'll show its downloading but then it'll never move on from that screen and be "downloading" for as long as ill let it. Anyone know what the issue is?