<?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: vimla</title>
    <description>The latest articles on DEV Community by vimla (@vimla01).</description>
    <link>https://dev.to/vimla01</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%2F4169569%2F9bb4bc2f-099f-4a02-8437-e91493269095.jpg</url>
      <title>DEV Community: vimla</title>
      <link>https://dev.to/vimla01</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vimla01"/>
    <language>en</language>
    <item>
      <title>MannDaan (मन दान): an offering from the heart.</title>
      <dc:creator>vimla</dc:creator>
      <pubDate>Fri, 20 Nov 2026 09:47:44 +0000</pubDate>
      <link>https://dev.to/vimla01/manndaan-mn-daan-an-offering-from-the-heart-2ah2</link>
      <guid>https://dev.to/vimla01/manndaan-mn-daan-an-offering-from-the-heart-2ah2</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/presage-2026-11-04"&gt;Presage SmartSpectra SDK Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;MannDaan (मन दान): an offering from the heart. A digital &lt;em&gt;deepdaan&lt;/em&gt; for 2 AM&lt;br&gt;
worries, because you can't float a diya from a hostel room.&lt;/p&gt;
&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Last year, I stood on the steps of a ghat in Varanasi as the evening aarti began.&lt;br&gt;
The bells rang, the fire rose, and all around me people knelt at the edge of the&lt;br&gt;
Ganga to set small leaf-boat diyas on the water. It's called &lt;em&gt;deepdaan&lt;/em&gt;, the&lt;br&gt;
offering of a lamp. I floated one too, with a wish I've never said out loud to&lt;br&gt;
anyone. I watched it drift until I couldn't tell which flame was mine. Nobody&lt;br&gt;
around me tried to pull theirs back.&lt;/p&gt;

&lt;p&gt;They say the Ganga takes whatever you're ready to release, and nothing you're&lt;br&gt;
still holding.&lt;/p&gt;

&lt;p&gt;But the ghat is far. Some nights you're awake at 2 AM with something heavy: a&lt;br&gt;
goodbye you never got to say, someone you miss, words you can't tell anyone.&lt;br&gt;
There's no river. There's just a laptop and a webcam.&lt;/p&gt;

&lt;p&gt;MannDaan (मन दान, "an offering from the heart") brings the river to your desk. It&lt;br&gt;
isn't a replacement for deepdaan or the Ganga. It's a small personal ritual,&lt;br&gt;
inspired by what I felt on those steps, for the nights you can't get there. It:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Asks for consent before anything.&lt;/strong&gt; The camera stays off until you say yes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Writes your worry onto a diya&lt;/strong&gt; sitting at the edge of a ghat at night.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Listens to your breath through the camera.&lt;/strong&gt; Breathing live from the Presage
SmartSpectra SDK drives the flame: rush it and the flame flickers and nearly
dies, slow down and it stands tall and still. Your pulse sets the shimmer of
the water and the tempo of the distant bells.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Refuses if you're still holding on.&lt;/strong&gt; Breathe too fast and the current pushes
your diya back to the ghat: &lt;em&gt;"Ganga doesn't take what you're still holding."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lets go after seven calm breaths.&lt;/strong&gt; The diya drifts downstream and your words
dissolve into the water like ink.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keeps nothing.&lt;/strong&gt; Your words are never written to disk, and no video is
recorded. Nothing was saved. That was the point.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The ritual &lt;strong&gt;is&lt;/strong&gt; the product. Without calm breathing, the diya does not float.&lt;br&gt;
The SDK isn't decoration on top of an animation; it's the thing the animation&lt;br&gt;
obeys.&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/GWVaqbMG6ws" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;What to watch for: the live breath/min and bpm readout in the corner carries the&lt;br&gt;
SDK's own &lt;code&gt;stable&lt;/code&gt; flag, a filled dot when the SDK considers the reading&lt;br&gt;
reliable, a hollow one while it's still settling. The flame answers the chest&lt;br&gt;
trace immediately; the seven flames light only on breaths the gate counts as&lt;br&gt;
calm.&lt;/p&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/vimla01" rel="noopener noreferrer"&gt;
        vimla01
      &lt;/a&gt; / &lt;a href="https://github.com/vimla01/manndaan" rel="noopener noreferrer"&gt;
        manndaan
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Write a worry on a diya. Breathe slowly for seven breaths, and the river takes it. Live breathing from your webcam.
    &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;MannDaan (मन दान)&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;em&gt;An offering from the heart. Offer what weighs on your mann. Seven breaths. One diya.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Every evening at the ghats of Varanasi, people float a lit diya on the Ganga with
a wish or a worry, &lt;em&gt;deepdaan&lt;/em&gt;. You cannot do that from a hostel room at 2 AM
before an exam.&lt;/p&gt;
&lt;p&gt;MannDaan brings the ritual to your desk. You write down the one thing weighing on
your &lt;em&gt;mann&lt;/em&gt;, it appears on a diya at the edge of a night ghat, and then &lt;strong&gt;your
breathing decides whether the river accepts it&lt;/strong&gt;. Your breath is read from your
webcam, live, by the &lt;a href="https://github.com/Presage-Security/SmartSpectra" rel="noopener noreferrer"&gt;Presage SmartSpectra SDK&lt;/a&gt;
Rush, and the current pushes the diya back: &lt;em&gt;"Ganga doesn't take what you're still
holding."&lt;/em&gt; Breathe slowly for seven breaths, and it floats away downstream while
your words dissolve into the water like ink.&lt;/p&gt;
&lt;p&gt;Then it tells you the truth…&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/vimla01/manndaan" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Setup is in the README: &lt;code&gt;npm install&lt;/code&gt;, drop a Presage API key into &lt;code&gt;.env&lt;/code&gt;, then&lt;br&gt;
&lt;code&gt;npm start&lt;/code&gt;. Without a key, &lt;code&gt;npm run dev&lt;/code&gt; runs the entire ritual on a simulated&lt;br&gt;
breath, so the piece can be explored with no camera and no credits.&lt;/p&gt;

&lt;p&gt;Three files carry the integration:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;main.js&lt;/code&gt;, binds the SDK to the window and refuses every camera request until
consent is given.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;src/renderer/js/signals/live.js&lt;/code&gt;, starts the camera, decodes metrics, turns
validation codes into human guidance, restores the camera afterwards.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;src/renderer/js/breathgate.js&lt;/code&gt;, the mechanic: detects breath cycles from the
chest trace and decides calm, rushed, or in between.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  How It Responds to Human Signals
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Two live signals, both from the SmartSpectra SDK.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;metrics.breathing.upperTrace&lt;/code&gt;, the raw chest trace, is the controller. It moves&lt;br&gt;
with every breath, so the flame answers immediately: it stands tall and still&lt;br&gt;
when you slow down, and gutters when you rush. Each exhale sends a ring of light&lt;br&gt;
out across the water. The same trace feeds the gate that counts seven calm&lt;br&gt;
breaths.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;metrics.breathing.rate&lt;/code&gt; and &lt;code&gt;metrics.cardio.pulseRate&lt;/code&gt; are the readout, shown&lt;br&gt;
live in the corner with the SDK's own &lt;code&gt;stable&lt;/code&gt; flag, a filled dot once the SDK&lt;br&gt;
considers the reading reliable. Pulse also sets the shimmer on the water and the&lt;br&gt;
tempo of the distant temple bells, one strike every eight heartbeats.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What you do&lt;/th&gt;
&lt;th&gt;What the river does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;breathe in and out&lt;/td&gt;
&lt;td&gt;the flame rises and falls with the chest trace&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;exhale&lt;/td&gt;
&lt;td&gt;a ring spreads from the diya&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;a full breath of 5 s or longer&lt;/td&gt;
&lt;td&gt;one of seven flames lights&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;three rushed breaths in a row&lt;/td&gt;
&lt;td&gt;the diya drifts out, then the current pushes it back&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;your heart beats faster&lt;/td&gt;
&lt;td&gt;the water shimmers more, the bells quicken&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;the SDK cannot see you properly&lt;/td&gt;
&lt;td&gt;the ritual says why, in its own voice&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;The integration.&lt;/strong&gt; &lt;code&gt;bindSmartSpectraIpc&lt;/code&gt; in the main process, the SDK's preload&lt;br&gt;
on the window, and the renderer SDK constructed with &lt;code&gt;enableTelemetry: false&lt;/code&gt;.&lt;br&gt;
MannDaan opens the camera itself at 640x480 and hands the stream to the SDK with&lt;br&gt;
&lt;code&gt;useMediaStream()&lt;/code&gt;, then decodes each &lt;code&gt;metrics&lt;/code&gt; packet with &lt;code&gt;decodeMetrics&lt;/code&gt;.&lt;br&gt;
Camera permission is refused by the main process until the consent screen says&lt;br&gt;
otherwise.&lt;/p&gt;

&lt;p&gt;Electron, Canvas 2D, no frameworks, no art assets, the ghat, the water, the&lt;br&gt;
moon and the diya are all drawn in code. The interesting part isn't the drawing&lt;br&gt;
though. It's everything that went wrong between "the SDK is installed" and "the&lt;br&gt;
diya moved because I breathed."&lt;/p&gt;
&lt;h3&gt;
  
  
  The numbers
&lt;/h3&gt;

&lt;p&gt;Measured on a Dell laptop webcam, Ubuntu, &lt;code&gt;@smartspectra/node-sdk&lt;/code&gt; 3.5.0, indoors&lt;br&gt;
in daylight:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;sdk.start()&lt;/code&gt; resolves&lt;/td&gt;
&lt;td&gt;2.6 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Metrics event cadence&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;27-29 events/s&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;First reading once framing is right&lt;/td&gt;
&lt;td&gt;~10 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;First &lt;strong&gt;stable&lt;/strong&gt; breathing rate&lt;/td&gt;
&lt;td&gt;53 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;First &lt;strong&gt;stable&lt;/strong&gt; pulse&lt;/td&gt;
&lt;td&gt;82 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Real calm breath cycles&lt;/td&gt;
&lt;td&gt;5.6-6.9 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CPU, vitals pipeline&lt;/td&gt;
&lt;td&gt;~47% of a core&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Renderer FPS during measurement&lt;/td&gt;
&lt;td&gt;24 median&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The cadence figure is worth writing down because the SDK docs don't state it&lt;br&gt;
anywhere: &lt;strong&gt;breathing and pulse metrics arrive at roughly 28 Hz.&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Why the flame follows the trace, not the rate
&lt;/h3&gt;

&lt;p&gt;The first design drove the flame from &lt;code&gt;breathing.rate&lt;/code&gt;. It felt broken: you'd&lt;br&gt;
breathe, and nothing happened for half a minute. That's because the rate is a&lt;br&gt;
long rolling average: it took &lt;strong&gt;53 seconds&lt;/strong&gt; before the SDK marked it stable.&lt;/p&gt;

&lt;p&gt;The fix was to drive the flame from &lt;code&gt;breathing.upperTrace&lt;/code&gt;, the raw chest trace,&lt;br&gt;
which moves with every breath. The rate and the &lt;code&gt;stable&lt;/code&gt; flag stayed on screen as&lt;br&gt;
the honest readout, and the mechanic became immediate. If I'd kept the rate as&lt;br&gt;
the input, the piece would not work at all.&lt;/p&gt;

&lt;p&gt;One catch: the trace has no documented units. Mine ranged from &lt;strong&gt;-58 to +94&lt;/strong&gt;,&lt;br&gt;
and would differ per person and per camera. So it is normalised adaptively, with&lt;br&gt;
a running mean and amplitude envelope, before it drives anything.&lt;/p&gt;
&lt;h3&gt;
  
  
  Four failures that all looked like "the camera is broken"
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;1. A metric I never used killed every session.&lt;/strong&gt; Eleven seconds in, the SDK&lt;br&gt;
went terminal and dropped every frame. I reproduced it without a camera, feeding&lt;br&gt;
synthetic grey frames, and it ran clean: no error, but no metrics either,&lt;br&gt;
because grey frames contain no face. That mismatch was the clue. The failure&lt;br&gt;
needs a face, so it only happens once physiology inference runs, and the SDK's&lt;br&gt;
source explains why: &lt;code&gt;ARTERIAL_PRESSURE_TRACE&lt;/code&gt; needs an encrypted model that was&lt;br&gt;
never delivered. I was asking for it without knowing, because &lt;code&gt;cardioMetrics&lt;/code&gt; is&lt;br&gt;
not just pulse. Requesting the two metrics I did not need was breaking the one&lt;br&gt;
I did.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// before: convenient, and fatal&lt;/span&gt;
&lt;span class="n"&gt;requestedMetrics&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;breathingMetrics&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cardioMetrics&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="c1"&gt;// after&lt;/span&gt;
&lt;span class="n"&gt;requestedMetrics&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;breathingMetrics&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;MetricType&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;PULSE_RATE&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. My own artwork was starving the measurement.&lt;/strong&gt; &lt;code&gt;frame rate stayed too low&lt;br&gt;
to measure reliably&lt;/code&gt;, while the camera was confirmed at 640x480 and 30 fps. The&lt;br&gt;
camera was fine. My scene was rendering at 100+ fps and winning the fight for&lt;br&gt;
CPU. It now caps at 30, sheds its expensive water effects under load, and drops&lt;br&gt;
to 15 whenever the SDK reports it is short of frames.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Nobody's chest is in frame.&lt;/strong&gt; 25 rejections in one session and 40 seconds&lt;br&gt;
before a single reading. Breathing is measured from chest movement, and at&lt;br&gt;
laptop distance a webcam sees a face and shoulders. There is now a framing step&lt;br&gt;
that waits until the SDK is satisfied.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. The one I am least proud of: I left the webcam broken.&lt;/strong&gt; The SDK locks&lt;br&gt;
auto-exposure while measuring, and on Linux that is a device-level setting which&lt;br&gt;
outlives the process. I released the camera without restoring it, so every other&lt;br&gt;
app on the machine, video calls included, inherited a dark fixed exposure. My&lt;br&gt;
first fix only ran when the ritual completed, so quitting or crashing still left&lt;br&gt;
it locked; the app now holds its own shutdown open until the camera is restored,&lt;br&gt;
and handles &lt;code&gt;SIGTERM&lt;/code&gt; so even &lt;code&gt;pkill&lt;/code&gt; routes through it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If an SDK changes hardware state, you own putting it back.&lt;/strong&gt; That is the lesson&lt;br&gt;
I would hand to anyone else building on a vitals SDK.&lt;/p&gt;
&lt;h3&gt;
  
  
  What the SDK gets right
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;validationStatus&lt;/code&gt; tells you precisely why it isn't measuring, and it is specific&lt;br&gt;
enough to turn straight into guidance. I mapped every code to a line in the&lt;br&gt;
ritual's voice:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;SDK says&lt;/th&gt;
&lt;th&gt;MannDaan says&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kChestNotVisible&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Sit back, the river reads your breath from your chest.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kTooDark&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Too dark for the lamp. Turn on a light, or face a window.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kExcessiveMotion&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Be still, like the water.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kFrameRateTooLow&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;More light would help, the lamp is seeing you in slow motion.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That last translation matters. The SDK's own text is "Use a camera mode that&lt;br&gt;
provides at least 25 frames per second", which is meaningless to someone sitting&lt;br&gt;
in the dark trying to breathe. A slow camera almost always means a dim room.&lt;/p&gt;

&lt;p&gt;So when the SDK reports the frame is too dark, &lt;strong&gt;the diya's glow swells and&lt;br&gt;
lights your face&lt;/strong&gt;. The screen becomes the lamp. It is the oldest trick in the&lt;br&gt;
selfie-camera book, except here it is thematically honest: the lamp you are&lt;br&gt;
holding lights you.&lt;/p&gt;

&lt;p&gt;The pulse drives the sound as well. There are no audio files in this project;&lt;br&gt;
the river is filtered noise and the temple bells are inharmonic partials through&lt;br&gt;
a generated reverb, struck once every eight heartbeats:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;beat&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pulse&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;          &lt;span class="c1"&gt;// from metrics.cardio.pulseRate&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;next&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;14&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;beat&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;&lt;strong&gt;Best Thoughtful Real-World Use.&lt;/strong&gt; The real-world use isn't a dashboard of&lt;br&gt;
vitals: it's a ritual that millions of people already perform, made available to&lt;br&gt;
someone who can't reach a river at 2 AM. Breathing is the one physiological&lt;br&gt;
signal you can consciously change, which makes it the only honest choice for a&lt;br&gt;
mechanic that asks you to &lt;em&gt;do&lt;/em&gt; something rather than be measured. And the&lt;br&gt;
thoughtfulness is in the restraint: the app refuses to keep anything, says so,&lt;br&gt;
and proves it by showing you the live numbers and then throwing them away.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Most Creative or Delightful Use.&lt;/strong&gt; The delight is that the river argues with&lt;br&gt;
you. The diya drifts out, and if you were rushing, the current brings it back&lt;br&gt;
with a line that lands harder than any error message: &lt;em&gt;"Ganga doesn't take what&lt;br&gt;
you're still holding."&lt;/em&gt; Your breath is the controller, the flame is the feedback,&lt;br&gt;
and seven small lights fill up while you slow down. The closing line,&lt;br&gt;
&lt;em&gt;"Nothing was saved. That was the point."&lt;/em&gt;, is the only ending a piece about&lt;br&gt;
letting go could have.&lt;/p&gt;

&lt;h2&gt;
  
  
  Consent and Data Handling
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The camera is off until you consent.&lt;/strong&gt; The main process denies every camera
request until the consent screen reports that you pressed "Light the diya", and
locks it again when the ritual ends.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What you write is never stored.&lt;/strong&gt; The worry lives in one string in memory. It
is never written to disk, logs, &lt;code&gt;localStorage&lt;/code&gt; or any server, and is overwritten
and cleared when the diya is released.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No video is recorded.&lt;/strong&gt; Frames go to the SDK and are discarded. No images, no
uploads, no session history, not even the breathing numbers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No accounts, no analytics, no AI services.&lt;/strong&gt; There is no backend.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SDK telemetry is disabled&lt;/strong&gt; (&lt;code&gt;enableTelemetry: false&lt;/code&gt;). Presage's docs state
that with it off the SDK "starts no telemetry session and transmits nothing".
Enabled, it would send session summaries and device diagnostics.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Measurement happens on your device.&lt;/strong&gt; Presage's documentation states
"On-device processing for iOS, Android, C++ and Node.js". The SDK contacts
Presage only to validate the API key and report usage against your credits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The camera is handed back&lt;/strong&gt; with automatic exposure restored, before the app
finishes quitting.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No diagnosis, no treatment, no health claims. The thresholds are game mechanics,&lt;br&gt;
"calm enough for the river", not judgements about anyone.&lt;/p&gt;

&lt;h2&gt;
  
  
  Agent Session
&lt;/h2&gt;

</description>
      <category>devchallenge</category>
      <category>presagechallenge</category>
    </item>
    <item>
      <title>v</title>
      <dc:creator>vimla</dc:creator>
      <pubDate>Sat, 31 Oct 2026 17:01:19 +0000</pubDate>
      <link>https://dev.to/vimla01/v-3i94</link>
      <guid>https://dev.to/vimla01/v-3i94</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

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

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

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

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

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;h2&gt;
  
  
  My First User
&lt;/h2&gt;

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

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>"Namak Andaaz Se": Saving Unwritten Family Recipes with Gemma, Offline</title>
      <dc:creator>vimla</dc:creator>
      <pubDate>Fri, 30 Oct 2026 20:22:08 +0000</pubDate>
      <link>https://dev.to/vimla01/namak-andaaz-se-saving-unwritten-family-recipes-with-gemma-offline-335c</link>
      <guid>https://dev.to/vimla01/namak-andaaz-se-saving-unwritten-family-recipes-with-gemma-offline-335c</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Haath ka Swaad&lt;/strong&gt; (हाथ का स्वाद, "the taste of her hands"): record someone cooking, get back a recipe card in &lt;strong&gt;their words&lt;/strong&gt;, with &lt;strong&gt;their voice&lt;/strong&gt; on every step.&lt;/p&gt;

&lt;h3&gt;
  
  
  The problem
&lt;/h3&gt;

&lt;p&gt;The best food in Indian families was never written down. It lives in &lt;em&gt;andaaz&lt;/em&gt;: "ek mutthi atta" (a fistful of flour), "namak andaaz se" (salt, by feel). Ask for the recipe and you hear "bas, dekh ke seekh lo" (just watch and learn). One day there's no one left to watch.&lt;/p&gt;

&lt;p&gt;A 40-minute video isn't a recipe. A typed-up recipe loses her voice. Cloud apps want an account and your grandmother's voice on their servers.&lt;/p&gt;

&lt;h3&gt;
  
  
  The solution
&lt;/h3&gt;

&lt;p&gt;Record Mummy, Nani or Dadi cooking while she talks in Hindi, Marathi, Gujarati or Hinglish. You get a card with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;her exact words&lt;/strong&gt;, in her script, with an English meaning underneath&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;approximate measures&lt;/strong&gt; beside them (&lt;code&gt;~1 tsp&lt;/code&gt;), marked as estimates&lt;/li&gt;
&lt;li&gt;a &lt;strong&gt;▶ on every step&lt;/strong&gt; that plays &lt;em&gt;her voice&lt;/em&gt; from the moment she said it&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Ask next time"&lt;/strong&gt; questions for what she skipped&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All of it runs on a laptop, offline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The ghost in the machine:&lt;/strong&gt; long after she's gone, you press ▶ and hear &lt;em&gt;"thoda sa haldi, jab tak khushboo na aaye"&lt;/em&gt; ("a little turmeric, until you can smell it") in the voice that taught you.&lt;/p&gt;

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

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/hkva7vYwUgw" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm29fyfo0qrnqs6t2htvb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm29fyfo0qrnqs6t2htvb.png" alt="Recipe card: her words, English meaning, approximate measures" width="800" height="866"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To try it without downloading any models, run &lt;code&gt;haath ui --mock&lt;/code&gt;. It loads a sample Dal Baati recipe.&lt;/p&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/vimla01" rel="noopener noreferrer"&gt;
        vimla01
      &lt;/a&gt; / &lt;a href="https://github.com/vimla01/recipe-ghost" rel="noopener noreferrer"&gt;
        recipe-ghost
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Record a family elder cooking and explaining in Hindi, Marathi, Gujarati or Hinglish, and get a recipe card.
    &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;हाथ का स्वाद · Haath ka Swaad&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Haath ka Swaad: every family recipe, in the cook's own words and the cook's own voice&lt;/p&gt;
&lt;p&gt;&lt;b&gt;▶ &lt;a href="https://drive.google.com/file/d/1kej16GXMZ21pgoFzAF3P6nI_RkDgHIh0/view?usp=sharing" rel="nofollow noopener noreferrer"&gt;Watch the demo video&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;For every recipe that only exists in her hands.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Record Mummy, Nani or Dadi cooking while she explains in Hindi, Marathi, Gujarati or Hinglish
(&lt;em&gt;"thoda sa haldi, jab tak khushboo na aaye"&lt;/em&gt;), and get back a recipe card that keeps &lt;strong&gt;her words&lt;/strong&gt;
adds &lt;strong&gt;approximate measures&lt;/strong&gt; beside them, and lets you press ▶ on any step to &lt;strong&gt;hear her voice&lt;/strong&gt;
explain it. Everything runs on your laptop. Nothing leaves it.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;The problem&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;The best food in most Indian families was never written down. It lives in &lt;em&gt;andaaz&lt;/em&gt;: "ek mutthi atta"
"namak andaaz se", "jab tak tel chhod de". When you ask for the recipe you get a shrug and
"bas, dekh ke seekh lo" (just watch and learn). And…&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/vimla01/recipe-ghost" 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;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;her voice ──► faster-whisper ──► Gemma 4 via Ollama ──► guard ──► recipe card ▶
              transcript +        her words +             drops anything
              timestamps          ~estimates (JSON)       she never said
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;faster-whisper&lt;/strong&gt; (&lt;code&gt;large-v3-turbo&lt;/code&gt;) transcribes on the laptop with timestamps and detects the language.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemma 4 (&lt;code&gt;gemma4:e4b&lt;/code&gt;) via Ollama&lt;/strong&gt; turns the messy, code-switched transcript into a recipe. Ollama's &lt;code&gt;format&lt;/code&gt; field forces the output to match my &lt;code&gt;Recipe&lt;/code&gt; JSON schema.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guard:&lt;/strong&gt; every quote, ingredient phrase and cue Gemma returns must appear in the transcript (Devanagari and Hinglish normalised), or it gets removed. Each step is snapped to its timestamp, so ▶ plays the right moment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review:&lt;/strong&gt; you tick each line together with the cook. Editing a line removes its tick.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Why Gemma
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It runs on an ordinary laptop.&lt;/strong&gt; &lt;code&gt;e4b&lt;/code&gt; runs on a CPU-only i5 with 16 GB of RAM, and &lt;code&gt;e2b&lt;/code&gt; on slower machines. Families don't have GPUs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It understands Hindi, Marathi and Gujarati.&lt;/strong&gt; Kitchen talk switches between Devanagari and Hinglish mid-sentence. Gemma keeps her phrasing instead of flattening it into English.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reliable structured output.&lt;/strong&gt; With a JSON schema through Ollama, every reply parses into a card, which the guard can then check line by line.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I can tune it.&lt;/strong&gt; I turned thinking mode off for speed, chunk long recordings, and switch sizes with &lt;code&gt;--model&lt;/code&gt;. A closed API doesn't let you do that.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open weights, so it stays local.&lt;/strong&gt; That's what makes the rest of this possible (next section).&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;These are recordings of mothers and grandmothers in their own kitchens.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Private:&lt;/strong&gt; no server ever hears her voice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline:&lt;/strong&gt; after a one-time download, it works with the Wi-Fi off.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Permanent:&lt;/strong&gt; recipes are plain JSON and audio files, plus a &lt;code&gt;book.html&lt;/code&gt; that plays offline. No app that can shut down or account that can be deleted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free:&lt;/strong&gt; no subscription to set up for your parents.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;If someone's food only lives in their hands, record them this week, while you still can.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt;: Gemma 4 runs locally and turns multilingual kitchen talk into a schema-checked recipe that keeps the cook's own words.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>🦥 SnapSloth: For Every Screenshot You Said "Baad Mai" To</title>
      <dc:creator>vimla</dc:creator>
      <pubDate>Sun, 25 Oct 2026 23:28:12 +0000</pubDate>
      <link>https://dev.to/vimla01/snapsloth-for-every-screenshot-you-said-baad-mai-to-1im9</link>
      <guid>https://dev.to/vimla01/snapsloth-for-every-screenshot-you-said-baad-mai-to-1im9</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;SnapSloth 🦥: for every screenshot you said "baad mai" to.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📴 &lt;strong&gt;100% offline.&lt;/strong&gt; Runs on my laptop with Wi-Fi off. No cloud, no API key, no screenshot ever leaves the machine.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I had &lt;strong&gt;367 screenshots&lt;/strong&gt; named &lt;code&gt;Screenshot from 2026-08-30 23-51-07.png&lt;/code&gt;. Fee notices, UPI&lt;br&gt;
requests, notes to myself, an Aadhaar photo. Unsearchable, forgotten, and some of them risky.&lt;/p&gt;

&lt;p&gt;SnapSloth fixes that &lt;strong&gt;while I sleep&lt;/strong&gt;. A local open-weight model reads every screenshot, then:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🗂️ &lt;strong&gt;sorts and renames&lt;/strong&gt; them (&lt;code&gt;sorted/notes_or_study/2026-08-30_mqtt-vs-http-for-iot.png&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;🔎 makes them &lt;strong&gt;searchable by what's inside&lt;/strong&gt;, text &lt;em&gt;and&lt;/em&gt; picture&lt;/li&gt;
&lt;li&gt;✅ pulls out &lt;strong&gt;what I still have to do&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;⚠️ &lt;strong&gt;flags risky ones&lt;/strong&gt; (OTPs, UPI, Aadhaar/PAN, passwords), values masked&lt;/li&gt;
&lt;li&gt;☕ leaves a &lt;strong&gt;morning report&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fttkec853s1e8kz6k975t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fttkec853s1e8kz6k975t.png" alt="SnapSloth" width="800" height="719"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;🎥 &lt;strong&gt;&lt;a href="https://drive.google.com/file/d/1CJxGJh5Il-MWysdkDQXCpUQOvMOhRJoM/view?usp=sharing" rel="noopener noreferrer"&gt;Watch the demo video&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My favourite moment: at 1:22 AM I sent myself &lt;em&gt;"tomo ca and need to take concession for railway"&lt;/em&gt;&lt;br&gt;
and forgot about it. Next morning, the report said:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;→ Take concession for railway tomorrow&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&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/vimla01" rel="noopener noreferrer"&gt;
        vimla01
      &lt;/a&gt; / &lt;a href="https://github.com/vimla01/snapsloth" rel="noopener noreferrer"&gt;
        snapsloth
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      For every screenshot you said “baad mai” to.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🦥 SnapSloth&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;For every screenshot you said "baad mai" to.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Sorts, searches and safety-checks your screenshots with a local AI model, while you sleep.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://go.dev" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c48076c56e01974119148066eca094cadde3658540d05deb270c415b5cc80382/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f476f2d312e32372d3030414444383f6c6f676f3d676f266c6f676f436f6c6f723d7768697465" alt="Go"&gt;&lt;/a&gt;
&lt;a href="https://ollama.com" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/5c491befbadca5caae47a90682c9e6acfa63b72d091dc9b8dfc99059f998cda4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6f64656c2d47656d6d61253230342532307669612532304f6c6c616d612d346637613561" alt="Model"&gt;&lt;/a&gt;
&lt;a href="https://github.com/vimla01/snapsloth#privacy" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/290442523bf675d34f147e61bc98d38acc927b29fa40915e0a63fe7f57f235bf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72756e732d3130302532352532306f66666c696e652d336636623466" alt="Offline"&gt;&lt;/a&gt;
&lt;a href="https://github.com/vimla01/snapsloth/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/be07a68b57a673af622198c336264f89d82bf4cd5d87bc0cb3f7b6ae47cc43ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d6c6967687467726579" alt="License: MIT"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/vimla01/snapsloth#setup-one-command" rel="noopener noreferrer"&gt;Setup&lt;/a&gt; · &lt;a href="https://github.com/vimla01/snapsloth#using-the-app" rel="noopener noreferrer"&gt;Using the app&lt;/a&gt; · &lt;a href="https://github.com/vimla01/snapsloth#lazy-mode-every-night-at-2-am-" rel="noopener noreferrer"&gt;Lazy mode&lt;/a&gt; · &lt;a href="https://github.com/vimla01/snapsloth#privacy" rel="noopener noreferrer"&gt;Privacy&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;😩 The problem&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;You take a screenshot because you'll deal with it "baad mai". A fee notice, a UPI payment, a train
ticket, an error to fix, a note to yourself. Two months later there are 367 of them, all named
&lt;code&gt;Screenshot from 2026-08-30 23-51-07.png&lt;/code&gt;, and:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You can't find anything.&lt;/strong&gt; Your file manager searches names, and every name is a timestamp.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You forget what mattered.&lt;/strong&gt; The railway concession, the money request, the hostel fee deadline
buried under memes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Some of them are a risk.&lt;/strong&gt; OTPs, UPI IDs, Aadhaar and bank details, sitting in a folder that syncs
and gets shared.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud AI isn't the fix.&lt;/strong&gt; Uploading your Aadhaar to someone's server to organise it is…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/vimla01/snapsloth" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;One-line install for Linux, macOS and Windows is in the README. Then &lt;code&gt;snapsloth ui&lt;/code&gt;.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gemma 4 E4B&lt;/strong&gt; (open-weight, vision) running locally through &lt;strong&gt;Ollama&lt;/strong&gt;, on a laptop with &lt;strong&gt;no GPU&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Go, standard library only&lt;/strong&gt;: one binary with a CLI and a local web UI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Always-valid JSON&lt;/strong&gt;: Ollama's &lt;code&gt;format&lt;/code&gt; takes a JSON schema, so every answer has a category, title, key text, to-do and risk flags.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crash-proof&lt;/strong&gt;: files are tracked by SHA-256 and saved after every image. Stop anytime, it resumes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safety net&lt;/strong&gt;: regex with Luhn/Verhoeff checksums double-checks the model, and every sensitive value is masked &lt;em&gt;before&lt;/em&gt; it's saved.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never destructive&lt;/strong&gt;: sorting only renames, never overwrites, and &lt;em&gt;Undo&lt;/em&gt; puts everything back.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Making a CPU laptop fast enough:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;trick&lt;/th&gt;
&lt;th&gt;result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;shrink screenshots to 1024 px&lt;/td&gt;
&lt;td&gt;932 → 264 image tokens per screenshot&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;instructions in the system prompt&lt;/td&gt;
&lt;td&gt;cached by Ollama instead of re-read every time&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ask for key words, not every word&lt;/td&gt;
&lt;td&gt;less to generate&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;4+ minutes → ~1.5 minutes per screenshot.&lt;/strong&gt;&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;My data stays mine.&lt;/strong&gt; OTPs and an Aadhaar card don't belong on someone else's server. It works with Wi-Fi off.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free every night.&lt;/strong&gt; No API key, no per-image bill.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I could tune it.&lt;/strong&gt; Open weights let me measure image tokens, pick the size and compare model sizes.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;by hand&lt;/th&gt;
&lt;th&gt;SnapSloth&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;sort 367 screenshots&lt;/td&gt;
&lt;td&gt;~1.5 hours&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;0 min&lt;/strong&gt; (overnight)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;find one screenshot&lt;/td&gt;
&lt;td&gt;minutes of scrolling&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;seconds&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;spot risky ones&lt;/td&gt;
&lt;td&gt;open all 367&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;automatic&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;remember to-dos&lt;/td&gt;
&lt;td&gt;I didn't 😅&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;in the morning report&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Slow on a CPU, but it runs at 2 AM. My part: zero minutes. 🦥&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Best Use of Gemma&lt;/strong&gt;: Gemma 4 E4B does all the seeing and reading, locally, tuned for a CPU laptop.&lt;/p&gt;

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