<?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: Junior Jamine</title>
    <description>The latest articles on DEV Community by Junior Jamine (@junior_jamine_b8344e812c1).</description>
    <link>https://dev.to/junior_jamine_b8344e812c1</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3939256%2F666cf1f0-4947-4b0f-b768-61419bea57f7.png</url>
      <title>DEV Community: Junior Jamine</title>
      <link>https://dev.to/junior_jamine_b8344e812c1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/junior_jamine_b8344e812c1"/>
    <language>en</language>
    <item>
      <title>"I built a code intelligence tool that runs on a Samsung A04 in Termux — and it works offline"</title>
      <dc:creator>Junior Jamine</dc:creator>
      <pubDate>Tue, 19 May 2026 04:03:32 +0000</pubDate>
      <link>https://dev.to/junior_jamine_b8344e812c1/i-built-a-code-intelligence-tool-that-runs-on-a-samsung-a04-in-termux-and-it-works-offline-2ko3</link>
      <guid>https://dev.to/junior_jamine_b8344e812c1/i-built-a-code-intelligence-tool-that-runs-on-a-samsung-a04-in-termux-and-it-works-offline-2ko3</guid>
      <description>&lt;p&gt;I'm not coding on a MacBook Pro. I'm not on a powerful Linux desktop. I'm coding on a &lt;strong&gt;Samsung A04&lt;/strong&gt; using &lt;strong&gt;Termux&lt;/strong&gt; — and I got tired of having no real developer tooling.&lt;/p&gt;

&lt;p&gt;So I built my own.&lt;/p&gt;

&lt;p&gt;It's called &lt;strong&gt;NIL&lt;/strong&gt; — a code intelligence engine written in C that runs as a single binary, completely offline, with no cloud dependency, no Node.js, no heavy runtime. Just SQLite, PCRE2, OpenSSL and raw C.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The problem I was solving&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every time I started a new coding session I had to re-explain everything to my AI assistant. What files I was working on. What errors I hit last time. What I already tried. It was exhausting.&lt;/p&gt;

&lt;p&gt;And forget about code search tools — they all assume you have a proper Linux machine or an internet connection.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What NIL does&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Indexes your entire codebase locally into SQLite&lt;/li&gt;
&lt;li&gt;Semantic search using text embeddings and cosine similarity&lt;/li&gt;
&lt;li&gt;Parses gcc and Python error output automatically — logs exactly what broke and where&lt;/li&gt;
&lt;li&gt;Watches your files for changes as you code&lt;/li&gt;
&lt;li&gt;Works on &lt;strong&gt;Linux with inotify&lt;/strong&gt; for instant detection, and &lt;strong&gt;Android/Termux with polling&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The feature I'm most proud of — SID resume strings&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is what makes NIL different from everything else.&lt;/p&gt;

&lt;p&gt;NIL can serialize your entire coding session — your decisions, your errors, your file states, your assumptions — into a single base64 string.&lt;/p&gt;

&lt;p&gt;You paste that string into any AI chat and your context is instantly restored. The AI knows exactly where you left off. No re-explaining. No lost context.&lt;/p&gt;

&lt;p&gt;I haven't seen this anywhere else.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The struggle to build it&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Building this on a Samsung A04 was not easy.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No &lt;code&gt;inotify&lt;/code&gt; on Android — had to build a polling watcher from scratch&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;json-c&lt;/code&gt; doesn't exist as a Termux package — had to build it from source&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;gcc&lt;/code&gt; isn't available in Termux — clang only&lt;/li&gt;
&lt;li&gt;Function name conflicts with libcurl headers&lt;/li&gt;
&lt;li&gt;The linker couldn't find pcre2 without explicit paths&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every single one of those problems got solved. And now it compiles and runs cleanly on Android.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It's open source&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We're working toward making NIL an official Termux package. Right now you can install it with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/jaminejunior0-a11y/Nil.git
&lt;span class="nb"&gt;cd &lt;/span&gt;Nil
bash setup_termux.sh
make
nil init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Looking for contributors&lt;/strong&gt; — especially anyone who knows C, wants to add Groq/OpenAI support, write more language templates, or help package it for the official Termux repo.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/jaminejunior0-a11y/Nil.git" rel="noopener noreferrer"&gt;https://github.com/jaminejunior0-a11y/Nil.git&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you're a mobile developer working in Termux, or just someone who believes powerful tools shouldn't require powerful hardware — come build with us.&lt;/p&gt;

&lt;p&gt;Drop a comment, I read everything.&lt;/p&gt;

&lt;h1&gt;
  
  
  termux #linux #android #opensource #c #programming #showdev #beginners
&lt;/h1&gt;

&lt;p&gt;-&lt;/p&gt;

</description>
      <category>ai</category>
      <category>android</category>
      <category>showdev</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
