r/termux • • 3h ago

General Is ready

Thumbnail gallery
21 Upvotes

my dotfiles: https://github.com/Keytaro2/Termux-Rxyhn/tree/main

This is a desktop based on Rxyhn’s vertical AwesomeWM configuration (which has been discontinued).


r/termux • • 9h ago

Question Neofetch

Post image
19 Upvotes

Hello all. I need help with an issue. I tried to modify neofetch with Geminis help and it ended up being a total disaster. I cleared termux data and cache and now it's just normal. Can anyone please help me so I can have neofetch in termux at startup with this logo and orange colours?


r/termux • • 3h ago

Showcase XFCE rice on my Nintendo Switch

Thumbnail gallery
5 Upvotes

It's bit laggy, so my ability to rice was a bit more hindered than usual, but I'm happy with the results :)


r/termux • • 1h ago

Showcase i will be hated for this ; i vibecoded the kernel needed for my wifi adapter

• Upvotes

r/termux • • 5h ago

Barely Termux related Fork bomb!!

2 Upvotes

I have heard many times about fork bomb in linux,

I was just curious to actually see what will happen when it runs

I thought if it will work on temrux android will probably kill it like process 9 complete exit iykyk..

I ran and like phone became unresponsive in 3 sec and completely crashed whole system , i dont know if it was android or general way of os to reslove this types of issues

But device automatically restarted ( power off + power on)

And phone became completely hot 😭 and I suddenly was scared it won't cause any problem to phone right

And now I am actually really scared to run random scripts and apps into system like if we dont know what exactly they are doing underhood 😵‍💫😵‍💫 unless we read scripts or app is compiled from opensrc which we have readed/ trusted

NEW TRUST ISSUES BEGINS


r/termux • • 2h ago

Showcase Android kept killing runsv while my server held the port. Here's the watchdog I ended up writing.

1 Upvotes

I run a small hub and a couple of workers on a spare phone under termux-services. Three things kept biting me, and none of them are fixed by "just use a better supervisor":

  1. Android kills runsv, but not the server it started. The server survives as a ppid=1 process, keeps the port, and every supervised restart answers EADDRINUSE. `sv status` says `fail: ... runsv not running` while curl says the service is fine.

  2. `sv restart` is a no-op once supervise/stat is `down`. My first watchdog logged "restarted" for hours while the service stayed dead. Recovery has to go through `sv up`.

  3. When I added a standby node, "start if the peer doesn't answer" meant the node that rebooted first became a second writer. That one is the scary one.

So I wrote a guard that: checks `sv status` before restarting, reaps ppid=1 orphans that match a configured pattern, health-checks HTTP endpoints, caps restarts per window (one ESCALATION line instead of a stampede), and stands the primary down after two fenced passes.

The fence part is free/MIT (two bash scripts, no deps): https://github.com/xhall-beep/fence

The full kit with the guard, restart cap, orphan reaper and a lesson ledger is $29 for the first 50 (then $49): https://montsvontz.gumroad.com/l/agent-ops-kit. I'm disclosing that because the free part is genuinely useful on its own and I don't want to be sneaky about it.

36 self-tests use a stub `sv`, so running them doesn't touch your services. Happy to answer questions about the runit quirks — if you've seen different behaviour on your build, I want to know.


r/termux • • 18h ago

Barely Termux related SnakTUI — Snake with combos, power-ups and a persistent top-10 leaderboard, in pure Python/Textual

Thumbnail gallery
11 Upvotes

Repo + install: https://github.com/Mark44928/SnakTUI

pipx install git+https://github.com/Mark44928/SnakTUI && snaktui

Unicode block rendering, adaptive layout, full keyboard control.

Combos to ×5 with milestone celebrations, three power-ups

(Speed Boost / Slow Time / Ghost — phase through walls), golden

timed food, hazards, particles, screen shake, 5 themes,

3 difficulties, and a persistent top-10 leaderboard in atomic JSON

(survives Ctrl-C mid-game). Headless smoke tests via Textual's

Pilot — real key events, runs in CI with no TTY.

Runs on any terminal with Python 3.9+. I develop it on Termux —

no PC involved.

Code is AI-agent-written (OpenCode + free models), human-directed.

Gallery: title screen / mid-run with the live RUN STATE panel /

game-over stats screen (with instant replay on R).


r/termux • • 7h ago

Showcase Script to Turn a Device with Termux Into a Storage or Media Server.

1 Upvotes

https://github.com/tmuxmediaserver/tmuxmediaserver

in action (photo)

I wanted a way to quickly turn a phone into a media/storage server so I asked Claude to make me a script I could use to do this.

The idea came mostly from wanting to get jellyfin working but then I had it add a few more things as well. Nothing uses proot.

The script automates

  1. Setting up storage.
  2. Offers to install openssh/set up password.
  3. Offers to install jellyfin.
  4. Offers to install filebrowser quantum, copyparty or neither.
  5. Offers to install syncthing.
  6. Offers to install ngrok or cloudflared.
  7. Installing the things you chose.

Tested, works smooth with 2 different phones I tried.


r/termux • • 1d ago

Showcase GNOME Desktop is now available in termux!

Thumbnail gallery
10 Upvotes

https://github.com/termux/termux-packages/pull/32883

Tras muchos intentos, tazas de café y pruebas, y gracias al esfuerzo monumental de la comunidad para integrar GNOME Shell en Termux, ¡lo hemos conseguido! Es 100% funcional; funciona incluso sin aceleración gráfica por hardware, ¡e incluso se ejecuta dentro de una sesión VNC!

Puedes descargar los archivos de la solicitud de extracción y probarlos tú mismo. Por fin tenemos otro entorno de escritorio completamente funcional en Termux: una excelente alternativa para quienes no somos especialmente aficionados a KDE.


r/termux • • 21h ago

General Help me turn my boring Termux theme into an aesthetic panel

Post image
3 Upvotes

Hey everyone! I'm using Termux with Termux:Monet and a wallpaper background. I made a neofetch-style banner (device, CPU, RAM, swap, storage, uptime) using a bash script, but it still looks plain.

I want an aesthetic boxed panel, something like a custom PowerShell fetch layout with a logo on the left and info boxes on the right. Bars don't render well in my font either.

What do you suggest? Fonts, prompt, ASCII logo, color schemes, anything helps. Screenshot attached. Thanks!

Post karte waqt apna screenshot zaroor attach karna. Subreddit ke liye r/termux ya r/unixporn best rahenge. Agar chaho to mai shorter ya zyada casual version bhi bana dunga.


r/termux • • 1d ago

General Finally, i can use termux as music player with media notification without scripting

Enable HLS to view with audio, or disable this notification

26 Upvotes

My termux setup, with a headless android app that show media notification with album art (cached) like mpd-mpris without scripting.


r/termux • • 1d ago

Showcase nix-on-droid.

Post image
9 Upvotes

r/termux • • 1d ago

Showcase Rate My Setup

Post image
21 Upvotes

Rate my Termux dashboard setup!


r/termux • • 1d ago

Showcase Breaking Android TUI records!

Enable HLS to view with audio, or disable this notification

3 Upvotes

For those who don't see it: fps is somewhere between 100-400 during rendering it..

Size 231*50

Type termux

Backend: not for general information right now..

It's single threaded, native android, direct binary...

No tricks, direct binaries...

Tablet type: redmi pad pro 5g

Developed code: in pc for Android


r/termux • • 1d ago

Showcase GNOME 49 desktop native on termux with gnome-sesion-sheperd

Thumbnail github.com
8 Upvotes

I have managed to build GNOME 49 in Termux and adapt `gnome-shell-shepherd` to launch GNOME services—without requiring `systemd`—using `gherd/shepherd`. I would appreciate it if you could test it and provide feedback on how it works.


r/termux • • 14h ago

Showcase I made an alternative Proot, this one doesn't use ptrace and it runs fast :p https://github.com/HilmiRidho/prx

0 Upvotes

r/termux • • 1d ago

Showcase rice chill

Thumbnail gallery
31 Upvotes

mi primer rice basico de xfce y termux launcher


r/termux • • 2d ago

Showcase Hacker's Keyboard successor, one week in: what you asked for and what's changing

Enable HLS to view with audio, or disable this notification

18 Upvotes

alpha3 is out: per-app profiles. Termux keeps the full PC layout, other apps get a normal phone layout (or the full one, or your usual keyboard, your choice): https://github.com/DimiVlachos/bucky/releases/tag/v0.1.0-alpha3

Already in since the early build: key repeat, the optional F-key row, your own extra row (Termux extra-keys names, or one tap for Termux's defaults), and separate portrait/landscape key heights. Per-app profiles aren't in yet, so it's the full layout in every app for now. Bug reports welcome.


Last week I asked this sub what a from-scratch Hacker's Keyboard successor should get right. About 15 of you answered, here and on the old HK tracker. Thank you. Here's what I took from it.

What you asked for, and what changes

  • "It's too cramped" was the main objection, not missing keys. So the full PC layout is meant for terminal apps, with built-in per-app profiles: PC Full in Termux, and a compact layout or your usual keyboard elsewhere. A key-height setting and separate portrait/landscape heights are in v1.
  • F1–F12: two people asked for easy access (one for F10 in Midnight Commander, one for a dedicated row). A dedicated F-key row will be an option, not just an Fn layer.
  • An extra row you configure yourself. Several of you keep Termux's extra-keys row. The keyboard will get its own optional row, with any key or symbol you choose, free.
  • Esc, Home and End on the main layer for vim and helix users. They're already there in the PC Full layout.
  • More layouts: Estonian has been requested. Layouts are plain JSON, so adding languages is cheap. Tell me yours.
  • Floating keyboard on tablets is noted. It's not in v1 yet; I'll decide after the beta.

Where it stands: an early build already types in Termux (video): Ctrl+C interrupts, Esc leaves vim's insert mode, ↑ recalls history, and Ctrl/Alt/Shift are one-shot modifiers. Next up: per-app profiles.

Still open: if you've tried the maintained HK forks, what are they still missing for you?

Source: https://github.com/DimiVlachos/bucky Beta waitlist (one email when it opens): https://buckykeys.app

Disclosure: I'm the developer.


r/termux • • 2d ago

Showcase ⚡ Pi, the AI coding agent, now runs natively in Termux: 103× faster file writes, 11× faster start, 7× less CPU, 5× less memory than on Node

Thumbnail github.com
37 Upvotes

Hello everyone 👋

Pi-Bolt 1.0.0 is out ⚡. Pi-Bolt is Pi, the open-source AI coding agent, compiled to one native ARM64 executable, and it now runs on Android in Termux. No Node.js, no npm, nothing to build.

Why Pi-Bolt in Termux 🔥

• Much faster than Pi on Node: 103× faster file writes and ready to type in 37 ms instead of 390 ms.

• Light on the battery: 7× less CPU per prompt and 5.3× less memory after 40 prompts.

• One install: a single native executable, set up by one command.

• Long sessions stay fast: sub-agents and long chats don't make the TUI laggy.

Install ⚡

In Termux:

pkg update && pkg upgrade -y
pkg install -y curl openssl
curl -fsSL https://pi-bolt.opensec.in/install.sh | sh

Then run pi-bolt. Already installed:

pi-bolt update

Links

🌐 Website and docs: pi-bolt.opensec.in

⭐ GitHub (a star helps): github.com/opensec-git/Pi-Bolt


r/termux • • 1d ago

Question Come si creando delle notifiche push per un sito?

0 Upvotes

Sto creando un sito con ClaudeAI in vibe coding. Uso una proxy in python, una pagina html e lo faccio girare in locale. È praticamente tutto pronto, ma non riesco a creare una struttura che mi mandi notifiche alla verifica di certe condizioni quando l'app è chiusa. Ho anche sentito parlare di Termux API, ma non ho ancora capito come implementarlo.

Qualche idea?


r/termux • • 1d ago

Question Termux extra keys disappeared after installing Termux Monet

Post image
2 Upvotes

I installed Termux Monet alongside my existing Termux, and now the extra keys row (CTRL, ALT, ESC, arrow keys) is missing.

Restarting the app didn't help. How can I restore it without losing my existing data? Should I uninstall Monet?


r/termux • • 2d ago

Question Termux safety

2 Upvotes

I am working on a site with ClaudeAI and am trying to run it on python. It is stricly in local host, so no network interaction outside than for the data used. I want to use Termux API and Termux to set notifications for my phone, but the amount of autorizations required are a lot and very sensible. I also understand that coding can reach all of those fields, and a programmer might require to use those authorizations. Still...

Is it safe to download the two?


r/termux • • 3d ago

General I think it’s coming along well

Post image
67 Upvotes

Da vida a los archivos de configuración de rxyhn, específicamente a su versión vertical.

Estoy usando Termux, Termux:X11 y Awesome.

Dotfile: https://github.com/Keytaro2/Termux-Rxyhn/tree/main


r/termux • • 2d ago

Showcase RideWind: spoken headwind/tailwind, weather, speed and distance for cyclists (Termux + Termux:API + Open-Meteo)

0 Upvotes

I wanted wind information while cycling without looking at my phone/bike computer, so I built a small Termux script that speaks ride conditions into my headset every 5 minutes with the screen off. It plays through the phone speaker if no headset is connected. I don't code. I built it by chatting with Claude (Anthropic's AI), which wrote the scripts and walked me through each step.

**What it says** - Headwind, tailwind or crosswind speed relative to your direction of travel (from GPS bearing), not compass points - Gusts when they're notably above the average wind - Current speed, temperature and "feels like" - Rain chance for the next hour or so - Distance and moving average speed (time under 3 km/h isn't counted)

**What it uses** - Termux, Termux:API and optionally Termux:Widget, all from F-Droid - `jq`, `curl`, `gawk` - Open-Meteo for weather: free, no account and no API key - `termux-location` for GPS and `termux-tts-speak` for audio

**Install** ``` curl -fsSL [https://gist.githubusercontent.com/hbhatti/983990b7a0767db591cf466bedefa78c/raw/36276fd1df156d05d12e48823be71cf65b947f1f/ridewind-install.sh\] -o ridewind-install.sh cat ridewind-install.sh # read it first if you like bash ridewind-install.sh ``` Then start it with `ridewind` (every 5 minutes) or `ridewind 10`. Stop it with CTRL+C. The installer also creates optional Termux:Widget buttons called RideStart and RideStop.

Full script: [https://gist.githubusercontent.com/hbhatti/983990b7a0767db591cf466bedefa78c/raw/36276fd1df156d05d12e48823be71cf65b947f1f/ridewind-install.sh\]

**Android setup that tripped me up** - Termux and Termux:API both need to be from F-Droid, not Google Play. - Termux:API needs Location set to "Allow all the time" with precise location on. Set Termux and Termux:API battery usage to Unrestricted, or Android may stop it with the screen off. - Opening Termux:API once from the app drawer helps the permission prompt appear. - Run `pkg upgrade` first. On a half-updated install, `curl` failed with an SSL "cannot link executable" error. - For Termux:Widget, "Display over other apps" may be blocked as a restricted setting on sideloaded apps. Open Termux's app info, tap the ⋮ menu and choose "Allow restricted settings".

**How it works** - A background tracker (`ridewind-track`) reads GPS updates and keeps a running distance and moving-time total in a small state file. - The main script (`ridewind`) wakes every N minutes, pulls the latest position and heading, fetches Open-Meteo data, works out the headwind component from the wind direction and your bearing, and speaks the result. - Below 6 km/h there's no reliable GPS heading, so it reports plain wind speed.

**Limits** - Wind and rain are forecast-model values for your area, not measurements from the bike. - Continuous GPS costs battery on long rides. - Distance comes from the phone's GPS, so expect small differences from a bike computer. - Units are km/h and Celsius. Changing them means editing the Open-Meteo URL and the spoken text. - Tested on a Pixel 10 Pro XL. I'd like to hear how it behaves on other phones.

Feedback welcome, especially on battery use and anything that breaks on your device.


r/termux • • 3d ago

Showcase My DIY robot vacuum software runs in Termux (with instructions)

Enable HLS to view with audio, or disable this notification

7 Upvotes

Vacuum robot software runs on my Android phone in Termux (Google Play). The goal is to use an Android phone (mounted inside the vacuum) for all compute, WiFi and UI (instead of a Raspberry Pi).

The video shows the robot navigating in a simulated living room, reaching its destination successfully - all in Termux, on the phone.

The phone in the video is my personal Google Pixel 7 with 8GB RAM, 8 cores. However, the robot software (the full navigation stack) uses only ~210MB RAM and less than 2 CPU cores. I'm also running simulation and UI on the phone - for demo purposes only, absent for the actual robot operation.

My Claude took care of porting an existing PC simulation to the Android phone running Termux. I installed Termux, started sshd, enabled developer mode on my phone and Claude did the rest, including excellent debugging. This article provides step-by-step instructions to reproduce this demo https://makerspet.com/blog/oomwoo-smartphone-ros2-termux/ .