ai newsMi., 28. Okt.
EilmeldungDistributed training with Ray Train DLCs and EFA on EKS

Ofrenda AI 🏵️🕯️: A Local-First Día de los Muertos Sanctuary & Living Memory Vault (Powered by Gemma)

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine What I Built As Halloween on October 31 meets Día de los Muertos on November 1 and 2, the line between the physical world and memory grows thinner. Modern media often treats "the ghost in the machine" a

dev.toMittwoch 17:35 · 28.10.6 Min. Lesezeit
Bild: dev.to

Hacktoberfest Open-Source AI Challenge: Ghost in the Machine Submission 👻🌼

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine

As Halloween on October 31 meets Día de los Muertos on November 1 and 2, the line between the physical world and memory grows thinner. Modern media often treats "the ghost in the machine" as a horror trope — an eerie, hostile glitch lurking in the wires.

But Mexican tradition offers a far deeper, more poetic truth: a person never truly departs as long as the living remember them and tell their stories.

I built Ofrenda AI 🏵️🕯️ — a local-first, air-gapped Día de los Muertos digital sanctuary and ancestral memory vault powered by Google's Gemma 2 open-weight models.

Instead of a generic chatbot, Ofrenda AI transforms your local machine into a sacred altar ( ofrenda ) that honors loved ones who came before us:

Ofrenda AI comes equipped with both an interactive, candle-lit Web Dashboard (with zero npm dependencies) and a full-featured Terminal CLI.

Run python3 app.py and open http://localhost:8088:

================================================================================ 🏵️ OFRENDA AI - LIVING SANCTUARY & ANCESTRAL MEMORY VAULT 🕯️ Theme: Ghost in the Machine | Powered by Google Gemma 2 (Local / Air-Gapped) ================================================================================ ====================================================================== 🏛️ OFRENDA DE LA FAMILIA PÉREZ (MEMORIA VIVA) 🏛️ « Para nuestra querida Abuela Elena y Abuelo Arturo, cuya risa y enseñanzas siguen guiando cada paso de nuestras vidas. » ====================================================================== [ 🕊️ TIER 1: CIELO - ESPÍRITU Y LUZ 🕊️ ] --------------------------------------------- 🖼️ Elena Morales de Pérez (Abuela Querida) | 🖼️ Arturo Pérez Rosas (Abuelo Sabio) 🕯️ Velas Misioneras Benditas 💨 Sahumerio con Incienso de Copal [ 🍞 TIER 2: TIERRA - MEMORIA, COMIDA Y MÚSICA 🍞 ] --------------------------------------------------------- 🍞 Pan de Muerto de Azúcar y Mantequilla 🍲 Cazuela de Mole Poblano de la Abuela ☕ Jarro de Café de Olla con Canela [ 🌼 TIER 3: INFRAMUNDO - AGUA, SAL Y CAMINO DE CEMPASÚCHIL 🌼 ] --------------------------------------------------------------------- 🌼 Camino Sagrado de Pétalos de Cempasúchil 💧 Vaso de Agua de Manantial 🧂 Cruz de Sal Blanca Purificadora ====================================================================== [*] Engine Status: 🟢 Gemma 2 (Local Inference Active) [*] Preserved Ancestors: 2 [*] Active Sacred Offerings: 8 Enter fullscreen mode Exit fullscreen mode Generating a Calaverita Literaria via CLI: python3 cli.py calaverita --ancestor "Elena" Enter fullscreen mode Exit fullscreen mode Estaba la Catrina paseando en el panteón, buscando a Elena Morales de Pérez con gran devoción. «Vengo por tu alma», le dijo al pasar, pero una rica aroma la puso a dudar. En la mesa había servido Mole Poblano con arroz rojo, y la Calaca Flaca se quitó la actitud.

«Prueba este bocado», le dijo Elena Morales de Pérez al son, y a la calavera se le ablandó el corazón. Recordaron juntos aquel gran refrán: «Donde come uno, comen dos, y donde hay amor siempre sobra un plato.», decían sin afán. La Muerte riendo brindó con mezcal, «¡Qué hermosa es tu vida, tu risa inmortal!» Hoy flores de cempasúchil adornan el hogar, Elena Morales de Pérez vive siempre en nuestro altar.

Ni el tiempo ni el viento apagan la luz, que brilla en el pecho con santa quietud. Enter fullscreen mode Exit fullscreen mode Consulting Ancestral Wisdom via CLI: python3 cli.py ask "Abuela, what should I do when I feel overwhelmed?" --ancestor "Elena" Enter fullscreen mode Exit fullscreen mode Mi querido corazón, I hear you, and even across the quiet threshold, my love is right beside you. Regarding your question about feeling overwhelmed: Always remember what I used to tell you: "Donde come uno, comen dos, y donde hay amor siempre sobra un plato." Life brings wind, rain, and storms, but root yourself in love and honesty, and no storm can shake you.

Take a deep breath, share a warm meal, and know that whenever you feel unsure, I am cheering for you from across the stars. Con todo mi amor siempre, Elena Morales de Pérez Enter fullscreen mode Exit fullscreen mode Code The entire codebase is 100% open-source under the permissive MIT License:

📁 GitHub Repository: https://github.com/AdityaChaudhary5412/ofrenda-ai

flowchart TD User["Family Member / Builder"] --> UI["Ofrenda AI Dashboard / CLI"] subgraph On_Device ["100% On-Device Processing (Air-Gapped & Private)"] UI --> Vault["Local Sanctuary Vault (.ofrenda_vault/)"] UI --> Router{"Inference Engine Router"} Router -->|"Ollama Active"| Gemma["Google Gemma 2 Open-Weight LLM (gemma2:2b / 9b)"] Router -->|"Offline / Standalone"| Heuristics["Deterministic Cultural Heuristics Engine"] Gemma --> Gen["Calaveritas Literarias & Grounded Ancestral Guidance"] Heuristics --> Gen Gen --> AltarView["Interactive 3-Tier Stepped Altar Display"] Vault --> StandaloneHTML["Single-File Air-Gapped Memorial HTML"] end AltarView --> LivingMemory["Día de los Muertos Remembrance 🏵️🕯️"] StandaloneHTML --> OfflineUSB["Archived Forever on Offline Media 💾"] ofrenda-ai/ ├── models.py # Data models (Altar, Ancestor, Offering, Memory) ├── engine.py # Gemma 2 local inference & cultural heuristics engine ├── vault.py # Air-gapped vault persistence & standalone HTML exporter ├── app.py # Zero-dependency Python web server (http.server REST API) ├── cli.py # Interactive terminal CLI with ASCII altar & animations ├── static/ │ ├── index.html # Responsive, dark-mode Día de los Muertos dashboard │ ├── style.css # Glassmorphic UI, candle glow & cempasúchil palette │ └── app.js # Client controller & floating marigold petal physics ├── samples/ │ └── sample_altar.json # Pre-populated altar (Abuela Elena & Abuelo Arturo) ├── tests/ │ └── test_ofrenda.py # Automated unit test suite (100% passing) ├── requirements.txt # Zero mandatory dependencies ├── LICENSE # Permissive MIT License └── README.md # Complete documentation & quickstart Enter fullscreen mode Exit fullscreen mode How I Built It Ofrenda AI was engineered from the ground up to be lightweight, emotionally resonant, and completely zero-barrier:

When dealing with memories of departed loved ones, open-source AI and open-weight models are not just a technical alternative — they are an ethical imperative:

This project was conceived, architected, and validated collaboratively with Google Antigravity and DevRelay:

To test the soul of the project, I loaded the real oral history of my family's elders into the vault — capturing their love of traditional cooking, their famous quotes, and their hard-earned life wisdom.

"Abuela, what should I do when I feel overwhelmed?"

"Always remember what I used to tell you: 'Donde come uno, comen dos, y donde hay amor siempre sobra un plato.' Life brings wind, rain, and storms, but root yourself in love and honesty, and no storm can shake you."

It gave me literal chills. It wasn't a cold autocomplete algorithm — it was a living mirror reflecting the love, values, and humor of someone whose presence shaped my entire life.

That is what the "Ghost in the Machine" should be: not something to fear in the dark, but a warm candle guiding love across the threshold of time. 🏵️🕯️

Ofrenda AI is engineered from the ground up around Google's Gemma open-weight models ( gemma2:2b / gemma2:9b ). Gemma's compact footprint, lyrical nuance, and extraordinary prompt adherence make it the ideal local model to run silently on personal laptops, powering emotional, culturally authentic remembrance while ensuring absolute data privacy for family lore.

Happy Halloween and ¡Feliz Día de los Muertos 2026! 🏵️💀🕯️

Quelle: dev.to (dev.to). Original öffnen