<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: CR4CODE</title>
    <description>The latest articles on DEV Community by CR4CODE (@cr4code).</description>
    <link>https://dev.to/cr4code</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4168006%2Fa710bc90-5ee4-4093-9ef6-e91034645ef7.png</url>
      <title>DEV Community: CR4CODE</title>
      <link>https://dev.to/cr4code</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cr4code"/>
    <language>en</language>
    <item>
      <title>Termux Assistant AI v3.7 — что нового</title>
      <dc:creator>CR4CODE</dc:creator>
      <pubDate>Fri, 16 Oct 2026 08:42:27 +0000</pubDate>
      <link>https://dev.to/cr4code/termux-assistant-ai-v37-chto-novogho-4k7f</link>
      <guid>https://dev.to/cr4code/termux-assistant-ai-v37-chto-novogho-4k7f</guid>
      <description>&lt;h2&gt;
  
  
  Что нового
&lt;/h2&gt;

&lt;h3&gt;
  
  
  v3.7 — Форум сообщества + мульти-движки
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Termux Assistant AI v3.7 — это не просто обновление. Это шаг к экосистеме, где ИИ-ассистент на Android перестаёт быть «чатом» и становится полноценным инструментом для жизни, работы и творчества.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  💬 Форум сообщества — теперь у проекта есть дом
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Открыт форум: обсуждения, баг-репорты, идеи, голосование за функции, раздел «Сценарии и промпты». Вход по e-mail, тёмная тема, уведомления, вложения. Больше не нужно писать в личку — всё открыто и структурировано.&lt;/li&gt;
&lt;li&gt;Форум: termux-assistant-ai.ru/forum&lt;/li&gt;
&lt;li&gt;Категории: Новости, Установка, Ошибки, Идеи, Сценарии, Разработка&lt;/li&gt;
&lt;li&gt;Регистрация за 30 секунд, вход через e-mail&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🧠 Мульти-движки: DeepSeek, Claude, Perplexity, Gemini, Mistral
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Раньше ассистент работал только с DeepSeek. Теперь — реестр движков: каждый сайт адаптируется своим JS-адаптером. Управляй несколькими ИИ одновременно: один отвечает в чате, другой ищет, третий пишет код.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🏠 Пример: умный дом без специалиста и без затрат
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Купил одноплатник или мини-ПК для умного дома? Обычно нужен айтишник, чтобы всё настроить: Home Assistant, MQTT, автоматизации, скрипты. Теперь это делает ассистент — прямо с телефона, голосом или текстом. Бесплатно. Без облаков и подписок.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🎨 Плитка «Форум» в приложении
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Хаб пополнился плиткой «Форум» — доступ к сообществу в один тап. Плюс кнопка «Скачать APK» и переход на сайт с форума.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🛡️ Усиленная безопасность
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Подтверждение опасных команд (git push, установка пакетов) — всплывающее окно поверх любого приложения. Allowlist + audit-журнал всех действий ИИ.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Возможности — безграничны, если есть фантазия
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Наш ассистент — это не «ещё один чат с ИИ». Это руки для нейросети внутри твоего Android. Идеи:&lt;/li&gt;
&lt;li&gt;Автоматизация рутины: бэкапы, парсинг, отчёты&lt;/li&gt;
&lt;li&gt;Домашний сервер и умный дом без специалиста&lt;/li&gt;
&lt;li&gt;Вайб-кодинг: собрать APK, игру, скрипт — прямо с телефона&lt;/li&gt;
&lt;li&gt;Личный DevOps: деплой, мониторинг, уведомления&lt;/li&gt;
&lt;li&gt;Творчество: генерация и обработка контента, озвучка&lt;/li&gt;
&lt;li&gt;Работа: прототипы, автоматизация процессов, интеграции&lt;/li&gt;
&lt;li&gt;Единственный лимит — твоё воображение.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  📦 Что внутри
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Форум сообщества (полный стек: PostgreSQL + FastAPI + Jinja2)&lt;/li&gt;
&lt;li&gt;Мульти-движки ИИ (Claude, Perplexity, Gemini, Mistral)&lt;/li&gt;
&lt;li&gt;Плитка «Форум» в Hub&lt;/li&gt;
&lt;li&gt;Подтверждение опасных команд + audit&lt;/li&gt;
&lt;li&gt;Реальный APK для Android 7+&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🔗 Ссылки
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Скачать APK: termux-assistant-ai.ru&lt;/li&gt;
&lt;li&gt;Форум: termux-assistant-ai.ru/forum&lt;/li&gt;
&lt;li&gt;GitHub: github.com/CR4CODE/termux-assistant-ai-releases&lt;/li&gt;
&lt;li&gt;Telegram: t.me/termux_assistant_ai&lt;/li&gt;
&lt;li&gt;ВКонтакте: vk.com/termuxai&lt;/li&gt;
&lt;li&gt;#Termux #AI #Android #DeepSeek #OpenSource #умныйдом #автоматизация #вайбкодинг&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Ссылки
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🌐 Сайт: &lt;a href="https://termux-assistant-ai.ru" rel="noopener noreferrer"&gt;https://termux-assistant-ai.ru&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📦 GitHub: &lt;a href="https://github.com/CR4CODE/Termux-Assistant-AI/releases" rel="noopener noreferrer"&gt;https://github.com/CR4CODE/Termux-Assistant-AI/releases&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;💬 Telegram: &lt;a href="https://t.me/termux_assistant_ai" rel="noopener noreferrer"&gt;https://t.me/termux_assistant_ai&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Termux Assistant AI — Android-приложение, которое умеет не только говорить, но и делать: собирает APK, постит в соцсети, чинит себя.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>android</category>
      <category>ai</category>
      <category>termux</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Termux Assistant AI v3.5.0 — AI with hands inside Android</title>
      <dc:creator>CR4CODE</dc:creator>
      <pubDate>Sat, 10 Oct 2026 12:40:41 +0000</pubDate>
      <link>https://dev.to/cr4code/termux-assistant-ai-v350-ai-with-hands-inside-android-1fik</link>
      <guid>https://dev.to/cr4code/termux-assistant-ai-v350-ai-with-hands-inside-android-1fik</guid>
      <description>&lt;p&gt;Most AI assistants can only talk. They write code, explain concepts, give advice — but they can't do anything in the real world. You copy their answer and paste it somewhere yourself.&lt;/p&gt;

&lt;p&gt;Termux Assistant AI breaks this paradigm. It's an AI assistant that lives inside Android through Termux and has a real shell on your phone. Not a sandbox. Not an emulator. The actual Linux environment with real filesystem access.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's new in 3.5.0
&lt;/h2&gt;

&lt;h3&gt;
  
  
  📤 DeepSeek chat export
&lt;/h3&gt;

&lt;p&gt;A new screen in the app: paste a public share link, get the full conversation as Markdown. It uses Playwright with a stealth browser to bypass the AWS WAF protection, then extracts every message with proper roles.&lt;/p&gt;

&lt;p&gt;The result is saved to &lt;code&gt;/sdcard/ai-tasker/chats/&lt;/code&gt; — visible in any file manager.&lt;/p&gt;

&lt;h3&gt;
  
  
  🧑🏫 Mentor mode
&lt;/h3&gt;

&lt;p&gt;Step-by-step tutorials inside other apps. A scenario engine with element highlighting, powered by Accessibility API. Voice guidance included.&lt;/p&gt;

&lt;h3&gt;
  
  
  🔗 Smart social accounts
&lt;/h3&gt;

&lt;p&gt;The "Social" section now shows connection status for VK and Telegram. If a token is missing, it offers to configure it. A "Check" button validates the token through the API — &lt;code&gt;groups.getById&lt;/code&gt; for VK, &lt;code&gt;getMe&lt;/code&gt; for Telegram.&lt;/p&gt;

&lt;h3&gt;
  
  
  🎨 Unified UI
&lt;/h3&gt;

&lt;p&gt;60+ SVG icons from Bootstrap Icons replaced every emoji in the interface. Consistent style across all screens, colored toasts with context, animations and neon glow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Critical fix: auto-cycle
&lt;/h2&gt;

&lt;p&gt;Long bash blocks (heredoc with Cyrillic text) were getting truncated in the middle. The root cause: DeepSeek renders a long code block as multiple TextView nodes in the WebView, and the app was only grabbing the first one. Now all parts are collected and joined.&lt;/p&gt;

&lt;p&gt;This bug affected any multi-line Python script submitted through the auto-cycle.&lt;/p&gt;

&lt;h2&gt;
  
  
  Auto-increment versionCode
&lt;/h2&gt;

&lt;p&gt;The build script now reads the maximum versionCode from the installed APK and the Download folder, then bumps it by 1. The classic "app won't install" problem (downgrade refused) is solved permanently.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it can do
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Build APKs directly on the phone (aapt2 + javac + d8 + apksigner)&lt;/li&gt;
&lt;li&gt;Install them via the app&lt;/li&gt;
&lt;li&gt;Post to VK, Telegram, Dev.to&lt;/li&gt;
&lt;li&gt;Work with git, GitHub, gh CLI&lt;/li&gt;
&lt;li&gt;Read logs, restart services, patch itself&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Website: &lt;a href="https://termux-assistant-ai.ru/" rel="noopener noreferrer"&gt;https://termux-assistant-ai.ru/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Releases: &lt;a href="https://github.com/CR4CODE/termux-assistant-ai-releases" rel="noopener noreferrer"&gt;https://github.com/CR4CODE/termux-assistant-ai-releases&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The idea is simple: give a language model hands. Not metaphorical tools — a real shell on a real device.&lt;/p&gt;

</description>
      <category>android</category>
      <category>ai</category>
      <category>termux</category>
      <category>opensource</category>
    </item>
    <item>
      <title>I gave a language model hands inside Android — and it built me an app factory</title>
      <dc:creator>CR4CODE</dc:creator>
      <pubDate>Wed, 07 Oct 2026 06:34:44 +0000</pubDate>
      <link>https://dev.to/cr4code/i-gave-a-language-model-hands-inside-android-and-it-built-me-an-app-factory-1390</link>
      <guid>https://dev.to/cr4code/i-gave-a-language-model-hands-inside-android-and-it-built-me-an-app-factory-1390</guid>
      <description>&lt;p&gt;Most LLM assistants are "brains in a jar." They can reason, write code, explain concepts — but they can't do anything in the real world. Everything they produce is text that a human copies and pastes somewhere.&lt;/p&gt;

&lt;p&gt;I decided to fix that. &lt;strong&gt;Termux Assistant AI&lt;/strong&gt; is an Android app that bridges a WebView with DeepSeek Chat and simultaneously gives the assistant direct shell access inside Termux via local HTTP servers. In effect — the language model gets hands.&lt;/p&gt;

&lt;p&gt;The project is fully open source (MIT): &lt;a href="https://github.com/CR4CODE/termux-assistant-ai-releases" rel="noopener noreferrer"&gt;github.com/CR4CODE/Termux-Assistant-AI&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Termux is, and why it's the key
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://termux.dev" rel="noopener noreferrer"&gt;Termux&lt;/a&gt; is a terminal emulator for Android with a full Linux environment — no root required. Bash, Python, git, ssh, package manager — all working. Essentially a regular Linux distro in your pocket.&lt;/p&gt;

&lt;p&gt;The key insight: if I have Termux, I have a shell. And if a language model has a shell, it can run arbitrary commands, work with files, compile code, publish releases.&lt;/p&gt;

&lt;p&gt;Two questions remained:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How to bridge the WebView app with Termux?&lt;/li&gt;
&lt;li&gt;How to safely pass commands from the model to the shell?&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Architecture: three layers
&lt;/h2&gt;

&lt;p&gt;The system consists of three isolated layers.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 1: WebView + DeepSeek
&lt;/h3&gt;

&lt;p&gt;The main app is an Android WebView that loads &lt;code&gt;chat.deepseek.com&lt;/code&gt;. The user chats with the model as usual. But the app intercepts the "Send" button and can insert prompts into the input field and read responses from the DOM.&lt;/p&gt;

&lt;p&gt;Implemented via a JavaScript bridge &lt;code&gt;VibeWebBridge&lt;/code&gt;: methods &lt;code&gt;sendMessage&lt;/code&gt;, &lt;code&gt;readLastAnswer&lt;/code&gt;, &lt;code&gt;lastAnswerHash&lt;/code&gt;, &lt;code&gt;isThinking&lt;/code&gt;, &lt;code&gt;isStopped&lt;/code&gt; execute JS in the WebView and return results through callbacks.&lt;/p&gt;

&lt;p&gt;Response reading works by finding &lt;code&gt;[class*=markdown]&lt;/code&gt; elements and hashing the last block to distinguish a new response from an old one.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 2: HTTP server in Termux (port 8767)
&lt;/h3&gt;

&lt;p&gt;Inside Termux runs a Python server &lt;code&gt;ai-tasker-server&lt;/code&gt;. It listens on &lt;code&gt;127.0.0.1:8767&lt;/code&gt; and accepts tasks from the app:&lt;br&gt;
 the app accepts tasks:&lt;/p&gt;

&lt;p&gt;POST /task&lt;br&gt;
Body: {"task": "auto:uptime"}&lt;br&gt;
Response: {"status":"success","output":"...","exit_code":0}&lt;/p&gt;

&lt;p&gt;Routes are grouped by prefix:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;auto: — direct bash via bash -c&lt;/li&gt;
&lt;li&gt;project_* — read/write/build Android projects&lt;/li&gt;
&lt;li&gt;vk_&lt;em&gt;, tg_&lt;/em&gt; — posting to VK and Telegram&lt;/li&gt;
&lt;li&gt;release_* — release pipeline: CHANGELOG, tag, GitHub Release&lt;/li&gt;
&lt;li&gt;bot_* — PiarBot management&lt;/li&gt;
&lt;li&gt;apply_patches: — apply patches to source files&lt;/li&gt;
&lt;li&gt;log: — read logs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A key design decision: auto: commands go straight to bash, without LLM-based classification. The first version tried to guess the command type, which caused hangs on non-existent routes. Now it's just subprocess.run(["bash","-c", code], timeout=120).&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 3: VibeService (port 8768)
&lt;/h3&gt;

&lt;p&gt;A separate Android service that manages the WebView and exposes an HTTP API:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;POST /send — insert text into input field and press "Send"&lt;/li&gt;
&lt;li&gt;GET /read — read last DeepSeek response&lt;/li&gt;
&lt;li&gt;GET /hash — hash of last response (for change detection)&lt;/li&gt;
&lt;li&gt;GET /thinking — is the model generating right now?&lt;/li&gt;
&lt;li&gt;GET /stopped — is the model stuck in "Stopped" state?&lt;/li&gt;
&lt;li&gt;POST /install-apk — install APK from path&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This service is how the assistant talks to DeepSeek and runs autonomous loops.&lt;/p&gt;

&lt;h2&gt;
  
  
  Full development cycle: from prompt to APK
&lt;/h2&gt;

&lt;p&gt;This is the most interesting part — &lt;strong&gt;Vibe mode&lt;/strong&gt;. You write one task, and the system does the rest.&lt;/p&gt;

&lt;p&gt;Workflow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;User runs &lt;code&gt;vibe-run &amp;lt;project&amp;gt; "&amp;lt;task&amp;gt;"&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Script collects project tree and content of all &lt;code&gt;.java&lt;/code&gt;/&lt;code&gt;.xml&lt;/code&gt; files&lt;/li&gt;
&lt;li&gt;Builds a prompt requiring files back in format &lt;code&gt;=== FILE: path === ... === END FILE ===&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Sends to DeepSeek via VibeService (&lt;code&gt;/send&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Waits for response stabilization: hash unchanged for N seconds in a row&lt;/li&gt;
&lt;li&gt;Parses response, applies files to project&lt;/li&gt;
&lt;li&gt;Builds APK via &lt;code&gt;aapt2 → javac → d8 → apksigner&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;If build fails — sends error log back to the model and retries (up to 5 iterations)&lt;/li&gt;
&lt;li&gt;On success — APK is handed over for installation via &lt;code&gt;/install-apk&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The key trick is &lt;strong&gt;self-healing&lt;/strong&gt;. If the model stops in "Stopped" state (e.g., token limit), the background watchdog &lt;code&gt;vibe-auto-resume&lt;/code&gt; checks &lt;code&gt;/stopped&lt;/code&gt; every 5 seconds and automatically sends "continue". Without this, the autonomous run just hangs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Real use cases
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Fast prototypes&lt;/strong&gt; — idea → working APK in minutes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Phone automation&lt;/strong&gt; — scheduled tasks, parsing, data dispatch&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Content publishing&lt;/strong&gt; — scheduled VK/Telegram posts with LLM-generated text&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Release management&lt;/strong&gt; — build, CHANGELOG, tag, GitHub Release, social announcement&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Honest limitations
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Phone resources.&lt;/strong&gt; Heavy projects (Gradle, Kotlin, Compose) won't fit — the pipeline is tuned for lightweight Java+XML&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fragility of autonomous runs.&lt;/strong&gt; One typo in a patch can crash the server, so all changes are backed up&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dependency on an external LLM.&lt;/strong&gt; DeepSeek Chat is not local. A local option via &lt;code&gt;llama.cpp&lt;/code&gt; in Termux is the next step&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No vision.&lt;/strong&gt; The assistant "sees" only the WebView DOM, not the whole screen&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Voice control&lt;/strong&gt; via Termux API (TTS/STT)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local LLM&lt;/strong&gt; via &lt;code&gt;llama.cpp&lt;/code&gt; for full autonomy&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vision&lt;/strong&gt; — OCR + &lt;code&gt;uiautomator&lt;/code&gt; to control any app&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;APK marketplace&lt;/strong&gt; — build → sign → publish to own channel&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Termux Assistant AI is an experiment: what happens if you give a language model hands? It turns out — a lot. The model builds apps, ships releases, fixes its own bugs, runs social media. All inside a single Android phone, without a PC or cloud infrastructure.&lt;/p&gt;

&lt;p&gt;The project is fully open source:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/CR4CODE/termux-assistant-ai-releases" rel="noopener noreferrer"&gt;github.com/CR4CODE/Termux-Assistant-AI&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Landing:&lt;/strong&gt; &lt;a href="https://termux-assistant-ai.ru" rel="noopener noreferrer"&gt;cr4code.github.io/Termux-Assistant-AI&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License:&lt;/strong&gt; MIT&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'm not a programmer. I don't know a single line of code. Everything you see was built by one person and one AI that became my hands.&lt;/p&gt;

&lt;p&gt;Questions and criticism are welcome in the comments.&lt;/p&gt;

</description>
      <category>android</category>
      <category>ai</category>
      <category>termux</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
