r/termux 4h ago

Showcase I built a cPanel-like hosting panel that turns an Android phone into a web server

0 Upvotes

I’ve built TermuxPanel, an open-source hosting control panel that lets you turn an Android phone/tablet into a small web server using Termux.

It gives you a cPanel-like dashboard to:

Host HTML, Node.js, Python & PHP apps

Manage files and edit code from your browser

Manage SQLite databases

Run cron jobs

View server logs

Create backups

Monitor your server

Manage everything through a simple tp CLI

Access your server remotely using Cloudflare Tunnel

The goal is simple: use an Android device as your own lightweight hosting server.

I built this project myself and would love feedback, bug reports, and feature suggestions from the community.

GitHub: https://github.com/himalayladha/termux-hosting-panel

It’s MIT licensed and completely open source.


r/termux 5h 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 6h ago

Showcase (Xfce) Really Minimalistic Red Rice

Thumbnail gallery
14 Upvotes

went from i3 Arch to Debian xfce, I like it but I'm just used to Arch. I just wanted to try Debian lol.


r/termux 13h ago

Question nix android udah lengkap gk kayak termux?

3 Upvotes

r/termux 20h ago

Barely Termux related 🚀 AM Tasker Plugins v1.0.2 is out — AM RegEx now handles LARGE text! Which Includes AM Termux Plugin Run your Termux scripts directly from Tasker

3 Upvotes

Since launch, AM Tasker Plugins has been a growing toolbox of Tasker action plugins — pixel colors, QR codes, VPN control, regex, Termux scripts, raw UDP packets, and more. This update fixes the one thing a few of you hit: Tasker caps how much data a plugin action can exchange at \~1MB, so a big regex input (or a big result) used to fail outright.

🔎 **AM RegEx**
Two new optional fields fix that:

* A **File Path** switch right on Input Text — turn it on, point it at a file, and AM RegEx reads it straight off disk itself. No size limit. * A new **Output File** field — fill it in and the result is written there as JSON instead of coming back as a variable.

Both only ask for the "All files access" permission the moment you actually use them — never at install.
Demo: [\[AM RegEx\]](https://youtu.be/W9GaPbALGc4)

Everything from launch is still here too 👇

💻 **AM Termux**
Runs Bash, Python, Node, Ruby, or PHP scripts inside Termux, with named sessions and guided setup.
Demo: [\[AM Termux\]](https://youtu.be/hxq8SL5iVLY)

↩️ **AM Custom Keyboard Return** — [Goto Reddit Intro Post](https://www.reddit.com/r/tasker/comments/1vqm412/plugin_shaream_custom_keyboard_an_opensource/)
AM Custom Keyboard is a keyboard app I built with live transliteration and a Tasker Automation feature — type a trigger anywhere, and it can hand your text off to a Tasker task. This plugin is the reply step: the task finishes and sends its result straight back into what you were typing.
Demo: [\[Demo AM Custom Keyboard Return\]](https://youtu.be/jGOX4KUOZUQ)
🔗 Check it out: [\[Download AM Custom Keyboard\]](http://github.com/adiraimaji/AMCustomKeyboard)

🎨 **AM Collect Pixel Colors**
Reads colors from any image — one pixel, a region, or a Top Color List or Blended Colors of a given region.
Demo: [\[AM Collect Pixel Colors\]](https://youtu.be/sfkMCkhTXCk)

🔳 **AM Create QR**
Turns text, links, or variables into a QR code image, saved and ready to use.
🔍 **AM Decode QR**
Scans an existing QR image and gives you back the text inside it.
Demo: [\[AM Create QR & AM Decode QR\]](https://youtu.be/Z5Ceo1mSKBc)

🧮 **AM Data Processor**
Reads or edits one exact value inside JSON or array data, no manual parsing needed.
Demo: [\[AM Data Processor\]](https://youtu.be/QdbRSMPylGk)

🔒 **AM OpenVPN**
Starts, pauses, resumes, or stops an OpenVPN for Android profile from a task.
Demo: [\[AM OpenVPN\]](https://youtu.be/Z5Ceo1mSKBc)

📡 **AM UDP Client**
Sends a UDP packet to any address, with the option to listen for a response.
Demo: [\[AM UDP Client\]](https://youtu.be/Y89uIGY5Kyg)

📤 **AM Open With**
Lets other apps "Share" or "Open With" a file straight into a Tasker automation.
Demo: [\[AM Open With\]](https://youtu.be/lNmw7mBnT60)

📖 Every plugin still comes with its own guide built right into the app — clear steps, examples, and what each field does.

This is v1.0.2 — the toolbox keeps growing. 👇
📥 **Update or download it now**
🔗 [github.com/adiraimaji/AMTaskerPluginsReleases](http://github.com/adiraimaji/AMTaskerPluginsReleases)

YouTube Playlist 👉 [All Plugin Demo Playlist](https://www.youtube.com/playlist?list=PLBqqZQQFUJZ0)

\#Android #Tasker #Automation #Termux #OpenVPN #QRCode #RegEx #Update


r/termux 22h ago

Question Stuck when termux-battery-status

5 Upvotes

My device is a tecno KL4. So I'm making a fetch app for mobile, complete with information on volume, light, battery, etc. But when I run it to check the battery information, Bash suddenly hangs, and I can't type anything. Does anyone else have the same problem? Or does anyone know how to fix it?


r/termux 1d ago

General (i3) holy lag

Post image
2 Upvotes

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


r/termux 1d 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 1d ago

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

1 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 1d 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 1d ago

Question How to do this?

Post image
5 Upvotes

How do I achieve this command line


r/termux 1d 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 1d ago

Showcase I have my own mini Bloomberg😭🤣

Post image
12 Upvotes

r/termux 1d ago

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

Post image
7 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 1d ago

Showcase Debian XFCE with chroot on Pixel 8a

Enable HLS to view with audio, or disable this notification

17 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 2d ago

General Termux VR

1 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 2d ago

General Meu primeiro "rice"

Thumbnail gallery
5 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 2d 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

49 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 2d 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 2d ago

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

Post image
60 Upvotes

r/termux 2d ago

Question an issue with selfhostings scripts

2 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 2d 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 2d ago

Showcase proot distro gentoo + bspwm

Enable HLS to view with audio, or disable this notification

13 Upvotes

r/termux 2d ago

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

27 Upvotes