<?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: Priyanshi Sharma</title>
    <description>The latest articles on DEV Community by Priyanshi Sharma (@priyanshi_sharma_0f54b6fd).</description>
    <link>https://dev.to/priyanshi_sharma_0f54b6fd</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%2F4212851%2F9501d607-cf7b-4f8e-81d0-1ce5728330e8.png</url>
      <title>DEV Community: Priyanshi Sharma</title>
      <link>https://dev.to/priyanshi_sharma_0f54b6fd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/priyanshi_sharma_0f54b6fd"/>
    <language>en</language>
    <item>
      <title>Digital Ofrenda</title>
      <dc:creator>Priyanshi Sharma</dc:creator>
      <pubDate>Thu, 29 Oct 2026 04:11:40 +0000</pubDate>
      <link>https://dev.to/priyanshi_sharma_0f54b6fd/digital-ofrenda-3fi</link>
      <guid>https://dev.to/priyanshi_sharma_0f54b6fd/digital-ofrenda-3fi</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;Digital Ofrenda&lt;/strong&gt; is a private, offline web app for Día de los Muertos. In Mexican tradition, families build an &lt;em&gt;ofrenda&lt;/em&gt;, an altar with candles, marigolds, photos and the favorite foods of people they have lost. I wanted a digital version where the writing is done by a local AI model, so the stories never leave the family's computer.&lt;/p&gt;

&lt;p&gt;You fill in a short form: their name, who they were to you, their favorite food and song, one memory you cherish, an optional photo, and the language (English or Español). Then you click &lt;strong&gt;Light the candles&lt;/strong&gt;. The altar's candles flicker on, the food and song appear as offerings, and a remembrance is written word by word on a card. Each remembrance is saved as a text file on your computer, so you can print it or share it with family.&lt;/p&gt;

&lt;p&gt;I read "Ghost in the Machine" as the people who live on in stories, not as something scary. The machine is a local model, and the ghost is the memory you give it.&lt;/p&gt;

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

&lt;p&gt;Live preview (sample only, no AI runs on this page): &lt;a href="https://2k24cs1r2510045-gif.github.io/digital-ofrenda/" rel="noopener noreferrer"&gt;https://2k24cs1r2510045-gif.github.io/digital-ofrenda/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Full demo with the local model running through Ollama:&lt;/p&gt;

&lt;p&gt;[DRAG YOUR SCREENSHOT OR SCREEN RECORDING HERE]&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/2k24cs1r2510045-gif" rel="noopener noreferrer"&gt;
        2k24cs1r2510045-gif
      &lt;/a&gt; / &lt;a href="https://github.com/2k24cs1r2510045-gif/Digital-Ofrenda" rel="noopener noreferrer"&gt;
        Digital-Ofrenda
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Offline digital ofrenda that writes a remembrance with a local open-source LLM. Private, free, no API keys.  Día de los Muertos remembrance writer powered by Ollama. Runs fully on your laptop.
    &lt;/h3&gt;
  &lt;/div&gt;
&lt;/div&gt;


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

&lt;p&gt;&lt;strong&gt;Stack:&lt;/strong&gt; Python (standard library only), one HTML file with CSS and JavaScript, and &lt;a href="https://ollama.com" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt; running an open-weight model (&lt;code&gt;llama3.2&lt;/code&gt;). Nothing else needs to be installed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How it works&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The browser sends the form data to a small Python server on &lt;code&gt;localhost:8000&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The server builds a prompt that tells the model to write in the chosen language and to use only the facts provided, so it doesn't invent details about someone's loved one.&lt;/li&gt;
&lt;li&gt;It calls Ollama's local API with streaming turned on and passes each piece of text to the browser as it arrives.&lt;/li&gt;
&lt;li&gt;The page shows the text on the card as it streams in, and the server saves the finished remembrance to an &lt;code&gt;ofrendas/&lt;/code&gt; folder.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Features&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;English and Spanish output&lt;/li&gt;
&lt;li&gt;A dropdown that lists every model installed in Ollama, so you can switch to Qwen, Gemma or Mistral&lt;/li&gt;
&lt;li&gt;An altar with animated candles, marigolds and papel picado, built in plain CSS&lt;/li&gt;
&lt;li&gt;Photo shown in the altar frame (displayed in the browser only, never uploaded)&lt;/li&gt;
&lt;li&gt;Clear error messages if Ollama isn't running or the model isn't installed&lt;/li&gt;
&lt;li&gt;No external fonts, scripts or images, so it works with the internet off&lt;/li&gt;
&lt;li&gt;A demo mode, used on the hosted preview, that shows a sample without any AI model&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Run it yourself&lt;/strong&gt;&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 llama3.2
python app.py
&lt;span class="c"&gt;# open http://localhost:8000&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;A remembrance is some of the most personal writing a person does. Sending a grandmother's name and a private memory to a cloud API felt wrong, so open models were the point of this project, not just a convenience.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privacy:&lt;/strong&gt; names, photos and stories never leave the laptop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Works with the lights off:&lt;/strong&gt; after the one-time model download, it needs no internet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free:&lt;/strong&gt; no API key, no usage fees, no account.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not locked into a service:&lt;/strong&gt; a closed API can change, get expensive or shut down. A text file on my disk and a model I can download again will still work next year, when the altar goes up again.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Swappable:&lt;/strong&gt; changing the model is one dropdown, so I can use a smaller model on a slow laptop or a better one as new open models appear.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;[WRITE 1-2 REAL SENTENCES ABOUT A FAMILY MEMBER'S OR FRIEND'S REACTION, OR DELETE THIS WHOLE SECTION]&lt;/p&gt;

&lt;p&gt;Steps&lt;/p&gt;

&lt;p&gt;Paste the text above into the body.&lt;br&gt;
Replace [DRAG YOUR SCREENSHOT OR SCREEN RECORDING HERE] by dragging in your image or video.&lt;br&gt;
Fix or delete the last section, “The Spirit of It”. Don’t leave the brackets in.&lt;br&gt;
Click Preview and check that the GitHub embed and the images show up.&lt;br&gt;
Click Publish.&lt;/p&gt;

&lt;p&gt;Before publishing, make sure of three things:&lt;/p&gt;

&lt;p&gt;Your repo digital-ofrenda is public and has app.py, index.html and README.md.&lt;br&gt;
GitHub Pages is turned on, so the live link works. If you haven’t done it yet, delete the “Live preview” line.&lt;br&gt;
The two tags devchallenge and hf26challenge are still at the top.&lt;/p&gt;

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