<?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: Nikita Dankov</title>
    <description>The latest articles on DEV Community by Nikita Dankov (@dan99nik).</description>
    <link>https://dev.to/dan99nik</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%2F3820468%2F0b20daf5-3418-4557-b83f-637bdf55056d.jpg</url>
      <title>DEV Community: Nikita Dankov</title>
      <link>https://dev.to/dan99nik</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dan99nik"/>
    <language>en</language>
    <item>
      <title>I built a privacy-first AI search that runs completely locally</title>
      <dc:creator>Nikita Dankov</dc:creator>
      <pubDate>Thu, 12 Mar 2026 13:40:20 +0000</pubDate>
      <link>https://dev.to/dan99nik/i-built-a-privacy-first-ai-search-that-runs-completely-locally-498m</link>
      <guid>https://dev.to/dan99nik/i-built-a-privacy-first-ai-search-that-runs-completely-locally-498m</guid>
      <description>&lt;p&gt;I built a privacy-first AI search that runs completely locally&lt;/p&gt;

&lt;p&gt;Modern computers contain thousands of files: code, photos, documents, screenshots.&lt;br&gt;
But finding the right file is still surprisingly difficult.&lt;/p&gt;

&lt;p&gt;Most search tools rely on keywords.&lt;/p&gt;

&lt;p&gt;So if you don’t remember the exact file name or text inside it, you're often stuck.&lt;/p&gt;

&lt;p&gt;I wanted something different.&lt;/p&gt;

&lt;p&gt;Something that works more like human memory.&lt;/p&gt;

&lt;p&gt;So I built an open-source tool called Smart Local Search.&lt;/p&gt;

&lt;p&gt;GitHub:&lt;br&gt;
&lt;a href="https://github.com/dan99nik/smart-locale-search" rel="noopener noreferrer"&gt;https://github.com/dan99nik/smart-locale-search&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The problem&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Traditional file search works like this:&lt;/p&gt;

&lt;p&gt;You type a keyword:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;invoice&lt;/li&gt;
&lt;li&gt;report&lt;/li&gt;
&lt;li&gt;photo_2023&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But what if you want to search like this?&lt;/p&gt;

&lt;p&gt;photo with mountains and a lake&lt;br&gt;
jwt authentication middleware&lt;br&gt;
diagram of system architecture&lt;/p&gt;

&lt;p&gt;Standard search engines can't understand meaning.&lt;/p&gt;

&lt;p&gt;They only match text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The idea&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I wanted to build a semantic local search engine.&lt;/p&gt;

&lt;p&gt;Something that allows you to search your computer the way you think.&lt;/p&gt;

&lt;p&gt;Example queries:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;photo with mountains at sunset&lt;/li&gt;
&lt;li&gt;python jwt authentication&lt;/li&gt;
&lt;li&gt;database schema diagram&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of keywords, it understands descriptions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key principles&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The project follows three simple principles.&lt;/p&gt;

&lt;p&gt;1️⃣ Everything runs locally&lt;/p&gt;

&lt;p&gt;No cloud.&lt;br&gt;
No external APIs.&lt;br&gt;
No data leaves your computer.&lt;/p&gt;

&lt;p&gt;2️⃣ Privacy first&lt;/p&gt;

&lt;p&gt;Your files stay on your machine.&lt;br&gt;
No telemetry.&lt;br&gt;
No analytics.&lt;/p&gt;

&lt;p&gt;3️⃣ Open source&lt;/p&gt;

&lt;p&gt;You can inspect the code, modify it, and build on top of it.&lt;/p&gt;

&lt;p&gt;GitHub:&lt;br&gt;
&lt;a href="https://github.com/dan99nik/smart-locale-search" rel="noopener noreferrer"&gt;https://github.com/dan99nik/smart-locale-search&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it can search&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Currently the project can search:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;files&lt;/li&gt;
&lt;li&gt;photos&lt;/li&gt;
&lt;li&gt;code&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Using natural language queries.&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;photo of mountains and lake&lt;/li&gt;
&lt;li&gt;authentication middleware&lt;/li&gt;
&lt;li&gt;api routing logic&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why I built it&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I realized something:&lt;/p&gt;

&lt;p&gt;Our computers contain massive knowledge bases.&lt;/p&gt;

&lt;p&gt;But we still search them like it’s 2005.&lt;/p&gt;

&lt;p&gt;Keyword search doesn't scale with modern workflows.&lt;/p&gt;

&lt;p&gt;Especially when working with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;large codebases&lt;/li&gt;
&lt;li&gt;photo libraries&lt;/li&gt;
&lt;li&gt;research folders&lt;/li&gt;
&lt;li&gt;documentation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Semantic search makes this much easier.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Demo idea&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Example workflow:&lt;/p&gt;

&lt;p&gt;Search query:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;jwt authentication middleware&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Result:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;src/auth/jwt_middleware.py&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Or:&lt;/p&gt;

&lt;p&gt;Search query:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;photo with mountains and lake&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Result:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;IMG_2023_08_mountains.jpg&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Future plans&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Some ideas for the roadmap:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;VSCode extension&lt;/li&gt;
&lt;li&gt;better indexing&lt;/li&gt;
&lt;li&gt;faster search&lt;/li&gt;
&lt;li&gt;plugin system&lt;/li&gt;
&lt;li&gt;UI&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Looking for feedback&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is an early version and I’d love feedback from developers.&lt;/p&gt;

&lt;p&gt;Questions I'm curious about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Would you use semantic local search?&lt;/li&gt;
&lt;li&gt;What would you search for?&lt;/li&gt;
&lt;li&gt;What features would be useful?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;GitHub:&lt;br&gt;
&lt;a href="https://github.com/dan99nik/smart-locale-search" rel="noopener noreferrer"&gt;https://github.com/dan99nik/smart-locale-search&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final thought&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We spend years building knowledge on our computers.&lt;/p&gt;

&lt;p&gt;Maybe it’s time we had better ways to search it.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>security</category>
    </item>
  </channel>
</rss>
