惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Jina AI
Jina AI
大猫的无限游戏
大猫的无限游戏
Microsoft Security Blog
Microsoft Security Blog
C
Check Point Blog
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
阮一峰的网络日志
阮一峰的网络日志
MongoDB | Blog
MongoDB | Blog
Engineering at Meta
Engineering at Meta
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
宝玉的分享
宝玉的分享
H
Hackread – Cybersecurity News, Data Breaches, AI and More
腾讯CDC
A
About on SuperTechFans
酷 壳 – CoolShell
酷 壳 – CoolShell
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
B
Blog RSS Feed

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
"I built a code intelligence tool that runs on a Samsung ...
Junior Jamin · 2026-05-19 · via DEV Community

Junior Jamine

I'm not coding on a MacBook Pro. I'm not on a powerful Linux desktop. I'm coding on a Samsung A04 using Termux — and I got tired of having no real developer tooling.

So I built my own.

It's called NIL — 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.

The problem I was solving

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.

And forget about code search tools — they all assume you have a proper Linux machine or an internet connection.

What NIL does

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

The feature I'm most proud of — SID resume strings

This is what makes NIL different from everything else.

NIL can serialize your entire coding session — your decisions, your errors, your file states, your assumptions — into a single base64 string.

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.

I haven't seen this anywhere else.

The struggle to build it

Building this on a Samsung A04 was not easy.

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

Every single one of those problems got solved. And now it compiles and runs cleanly on Android.

It's open source

We're working toward making NIL an official Termux package. Right now you can install it with:

git clone https://github.com/jaminejunior0-a11y/Nil.git
cd Nil
bash setup_termux.sh
make
nil init

Enter fullscreen mode Exit fullscreen mode

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

https://github.com/jaminejunior0-a11y/Nil.git

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.

Drop a comment, I read everything.

termux #linux #android #opensource #c #programming #showdev #beginners

-