<?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: K.S. Karan Reddy</title>
    <description>The latest articles on DEV Community by K.S. Karan Reddy (@karanreddyks).</description>
    <link>https://dev.to/karanreddyks</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%2F4213863%2F668b54bd-dd32-4aa5-b760-a9f38f334606.jpg</url>
      <title>DEV Community: K.S. Karan Reddy</title>
      <link>https://dev.to/karanreddyks</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/karanreddyks"/>
    <language>en</language>
    <item>
      <title>Ofrenda: a remembrance that never leaves your machine</title>
      <dc:creator>K.S. Karan Reddy</dc:creator>
      <pubDate>Fri, 30 Oct 2026 13:09:21 +0000</pubDate>
      <link>https://dev.to/karanreddyks/ofrenda-a-remembrance-that-never-leaves-your-machine-4po0</link>
      <guid>https://dev.to/karanreddyks/ofrenda-a-remembrance-that-never-leaves-your-machine-4po0</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;Ofrenda is a small web page that helps you write a remembrance for someone who has died, then sets it on a little altar. You give it a name, who they were to you, the foods and songs they loved, and one memory in your own words. A language model running on your computer turns that into a short piece of writing in your voice, and the altar lights a candle while it writes.&lt;/p&gt;

&lt;p&gt;I read "Ghost in the Machine" as the people we carry around, not the monsters. The version I wanted was the one where the machine helps you say something about a person who is gone, and then gets out of the way.&lt;/p&gt;

&lt;p&gt;The rule that shaped everything: the model may only use what you typed. It is told never to invent a name, a place, a date or a quote. If you give it three details, you get three details back. A remembrance with a made-up fact in it is worse than none.&lt;/p&gt;

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

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/Xg_n1MgmMC0" width="710" height="399"&gt;
  &lt;/iframe&gt;
&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/kskaranreddy" rel="noopener noreferrer"&gt;
        kskaranreddy
      &lt;/a&gt; / &lt;a href="https://github.com/kskaranreddy/Ofrenda" rel="noopener noreferrer"&gt;
        Ofrenda
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Write a remembrance for someone you miss using a local Gemma model via Ollama. Runs offline in one HTML file; nothing leaves your computer. Hacktoberfest 2026: Ghost in the Machine.
    &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;Ofrenda&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Write a remembrance for someone you miss, with a model that runs on your own computer.&lt;/p&gt;
&lt;p&gt;You give it a name, who they were to you, the foods and songs they loved, and one memory. A local Gemma model, served by Ollama, writes a short piece in your voice using only those details. A small altar lights a candle while it writes. Nothing is uploaded: the page talks to &lt;code&gt;localhost&lt;/code&gt; and nowhere else, so it works with the internet off.&lt;/p&gt;
&lt;p&gt;Built for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26" rel="nofollow"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Run it&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;You need &lt;a href="https://ollama.com" rel="nofollow noopener noreferrer"&gt;Ollama&lt;/a&gt; and Python (only to serve the page locally).&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Pull a model:&lt;/p&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;ollama pull gemma3
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;On a machine with 8 GB of RAM or less, use &lt;code&gt;gemma3:1b&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start Ollama and allow the page to call it.&lt;/p&gt;
&lt;p&gt;Windows (PowerShell):&lt;/p&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;$env:OLLAMA_ORIGINS="*"; ollama serve
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Mac / Linux:&lt;/p&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;OLLAMA_ORIGINS="*" ollama serve
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;If the Ollama…&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/kskaranreddy/Ofrenda" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;The whole app is one &lt;code&gt;index.html&lt;/code&gt;. No build step, no dependencies, no backend.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; Gemma (&lt;code&gt;gemma3&lt;/code&gt;), served by &lt;a href="https://ollama.com" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt; on &lt;code&gt;localhost:11434&lt;/code&gt;. Any model you have pulled shows up in the dropdown, and the page prefers a Gemma if it finds one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Page:&lt;/strong&gt; plain HTML, CSS and JavaScript. It calls Ollama's &lt;code&gt;/api/tags&lt;/code&gt; to list your models and &lt;code&gt;/api/chat&lt;/code&gt; with streaming on, and reads the newline-delimited JSON as it arrives so the text appears word by word.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Altar:&lt;/strong&gt; three CSS tiers and a paper-cut banner. The candle's flame fades in when generation starts, and the animation turns off if your system asks for reduced motion.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hardware:&lt;/strong&gt; my laptop has no usable GPU for Ollama, so everything ran on CPU. A short remembrance takes about a minute, which suits the subject.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To run it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ollama pull gemma3
&lt;span class="nv"&gt;$env&lt;/span&gt;:OLLAMA_ORIGINS&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"*"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; ollama serve    &lt;span class="c"&gt;# PowerShell&lt;/span&gt;
python &lt;span class="nt"&gt;-m&lt;/span&gt; http.server 8000 &lt;span class="nt"&gt;--bind&lt;/span&gt; 127.0.0.1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;The input to this tool is grief: a person's name, a story about their family, the song that was playing. I did not want that text to pass through anyone else's server, be logged, or sit in a database that outlives a startup's runway.&lt;/p&gt;

&lt;p&gt;With an open-weight model the privacy is structural rather than promised. The page cannot send your memory anywhere because there is no remote to send it to. A closed API can offer a privacy policy. It cannot offer that.&lt;/p&gt;

&lt;p&gt;It also means the tool keeps working. An ofrenda is something you come back to every year. A hosted model gets deprecated, repriced or shut down. A model file on your own disk keeps working, and when a better one comes out you swap it in with a dropdown.&lt;/p&gt;

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

&lt;p&gt;Ofrenda is built around a simple belief: people never truly leave us as long as their stories live on.&lt;/p&gt;

&lt;p&gt;It's about preserving the little things — their words, traditions, favorite memories, and the moments that made them who they were.&lt;/p&gt;

&lt;p&gt;Not recreating those we've lost, but creating a space to remember them, celebrate their lives, and keep their stories alive.&lt;/p&gt;

&lt;p&gt;Because sometimes, remembering is the closest thing we have to holding on.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Best Use of Gemma&lt;/li&gt;
&lt;/ul&gt;

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