<?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: Ekansh Patil</title>
    <description>The latest articles on DEV Community by Ekansh Patil (@ekansh_patil_565e7a080154).</description>
    <link>https://dev.to/ekansh_patil_565e7a080154</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%2F3890992%2F92c3fa2a-bf64-4e9d-822f-bdf74e18bf8c.jpg</url>
      <title>DEV Community: Ekansh Patil</title>
      <link>https://dev.to/ekansh_patil_565e7a080154</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ekansh_patil_565e7a080154"/>
    <language>en</language>
    <item>
      <title>ResillO: Building an Offline AI Triage Engine for Disaster Response</title>
      <dc:creator>Ekansh Patil</dc:creator>
      <pubDate>Mon, 05 Oct 2026 06:51:55 +0000</pubDate>
      <link>https://dev.to/ekansh_patil_565e7a080154/resillo-building-an-offline-ai-triage-engine-for-disaster-response-4d4k</link>
      <guid>https://dev.to/ekansh_patil_565e7a080154/resillo-building-an-offline-ai-triage-engine-for-disaster-response-4d4k</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Resilio&lt;/strong&gt; is an offline-first, decentralized field notes triage engine designed for disaster relief workers, emergency responders, and operators working in connectivity-dead zones. &lt;/p&gt;

&lt;p&gt;When power grids fail or cellular networks go down during extreme weather or infrastructure collapse, cloud-hosted AI models like GPT-4 or Claude become completely unreachable. &lt;strong&gt;Resilio&lt;/strong&gt; solves this single point of failure by running local open-weight AI (&lt;strong&gt;Gemma 2B via Ollama&lt;/strong&gt;) directly on edge hardware. &lt;/p&gt;

&lt;p&gt;It ingests raw, unstructured voice logs and text reports (e.g., &lt;em&gt;"Bridge near Sector 4 washed out, two medical teams stranded, need clean water immediately"&lt;/em&gt;), parses them in real time using local inference, extracts structured JSON triage telemetry (Priority, Category, Location, Actionable Needs), and indexes them into MongoDB Atlas with an automatic in-memory offline fallback.&lt;/p&gt;




&lt;h2&gt;
  
  
  Who I Built It For
&lt;/h2&gt;

&lt;p&gt;I built &lt;strong&gt;Resilio&lt;/strong&gt; for a friend working in field logistics and emergency response management. During major storm deployments, their primary bottleneck isn't gathering information—it's processing chaotic, raw reports when cloud APIs and internet access drop to zero. They needed a zero-latency, private, and 100% offline-capable companion that turns messy text logs into actionable emergency dashboards on a local laptop without sending a single byte to an external server.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Deployment:&lt;/strong&gt; &lt;a href="https://emergencynotestriage.vercel.app/" rel="noopener noreferrer"&gt;Resilio Web App&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/coderForLife-A1" rel="noopener noreferrer"&gt;
        coderForLife-A1
      &lt;/a&gt; / &lt;a href="https://github.com/coderForLife-A1/ResillO" rel="noopener noreferrer"&gt;
        ResillO
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Offline-first disaster triage powered by edge AI.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🛡️ ResillO: Offline Emergency Notes Triage&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;An offline-first tool for field operators in connectivity-dead zones. It turns messy field notes into structured triage data (priority, category, location, summary, needs) using a &lt;strong&gt;local&lt;/strong&gt; open-weight model (Gemma 2B via Ollama), so nothing leaves the device. Reports are stored in MongoDB Atlas, or in memory when the database is unreachable.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Quickstart (about 5 minutes)&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1. Install and start the local model&lt;/h3&gt;
&lt;/div&gt;
&lt;p&gt;Install &lt;a href="https://ollama.com" rel="nofollow noopener noreferrer"&gt;Ollama&lt;/a&gt;, then:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;ollama pull gemma:2b      &lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; one-time download (~1.7 GB)&lt;/span&gt;
ollama run gemma:2b       &lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; starts/loads the model; type /bye to exit the chat&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Ollama serves its API at &lt;code&gt;http://localhost:11434&lt;/code&gt;. If it isn't running, start it with &lt;code&gt;ollama serve&lt;/code&gt;.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;2. Install dependencies&lt;/h3&gt;

&lt;/div&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;python -m venv .venv
&lt;span class="pl-c1"&gt;source&lt;/span&gt; .venv/bin/activate        &lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Windows: .venv\Scripts\activate&lt;/span&gt;
pip install -r requirements.txt&lt;/pre&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;3. (Optional) Connect MongoDB Atlas&lt;/h3&gt;

&lt;/div&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-k"&gt;export&lt;/span&gt; MONGO_URI=&lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;mongodb+srv://&amp;lt;user&amp;gt;:&amp;lt;password&amp;gt;@&amp;lt;cluster&amp;gt;.mongodb.net/?retryWrites=true&amp;amp;w=majority&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;/span&gt;
&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Windows PowerShell: $env:MONGO_URI="..."&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Data goes to database &lt;code&gt;field_notes&lt;/code&gt;, collection &lt;code&gt;triaged_reports&lt;/code&gt;
If …&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/coderForLife-A1/ResillO" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local Inference Engine:&lt;/strong&gt; &lt;strong&gt;Ollama&lt;/strong&gt; running locally on edge hardware to achieve zero-latency, offline execution without cloud connectivity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Weight Model:&lt;/strong&gt; &lt;strong&gt;Gemma 2B&lt;/strong&gt;, selected for its low memory footprint and high efficiency in extracting structured JSON telemetry (Priority, Category, Location, Actionable Needs) from messy text logs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Architecture Design:&lt;/strong&gt; Resilio is built entirely around local execution—Ollama acts as the central intelligence engine powering the FastAPI triage pipeline, storing structured telemetry in MongoDB Atlas with an automatic in-memory offline queue.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;In mission-critical infrastructure and emergency field operations, relying on proprietary, closed-source cloud APIs is a structural vulnerability. &lt;strong&gt;Resilio&lt;/strong&gt; was explicitly built around open-weight models and open-source tooling because closed APIs fail completely in low-resource and disaster environments.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Primary Track:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Build for a Friend:&lt;/strong&gt; Built specifically for a friend in emergency field logistics who faces complete cloud outages in disaster-hit zones.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Partner Categories (Opt-In):
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma ($200):&lt;/strong&gt; Resilio is driven by &lt;strong&gt;Gemma 2B&lt;/strong&gt; running locally via Ollama to execute zero-latency, structured JSON triage and emergency status extraction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of MongoDB Atlas ($100):&lt;/strong&gt; Uses &lt;strong&gt;MongoDB Atlas&lt;/strong&gt; as the central datastore for multi-operator field report sync, paired with an automatic in-memory queue to gracefully handle offline network drops.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
