{"slug": "ofrenda-exe-a-candle-for-the-ghost-in-the-machine", "title": "Ofrenda.exe: A Candle for the Ghost in the Machine", "summary": "A developer built Ofrenda.exe, a single-file Python command-line tool that turns a name and a single memory into a short remembrance card, using the open-weight Gemma model run locally through Ollama. The tool keeps memories on the user's machine, requires no account or internet connection, and falls back to a deterministic offline mode when the local Ollama server is unavailable.", "body_md": "*This is a submission for the [Hacktoberfest Open Source AI Challenge Week 4: Ghost in the Machine](https://dev.to/challenges/hacktoberfest-week4-2026-10-26)*\n\nOfrenda.exe is a small local AI memory keeper inspired by Día de los Muertos.\n\nYou give it a name and one memory. It creates a short remembrance card that feels like a digital candle placed on an ofrenda.\n\nI interpreted the theme as a meeting point between old memories and new technology. The ghost is not a person trapped inside a machine. It is the feeling that a story can disappear unless we choose to keep it alive.\n\nThe project runs from the terminal and keeps personal memories on the user's machine.\n\nInstall Ollama and download the small Gemma model:\n\n```\nollama pull gemma3:1b\nollama serve\n```\n\nThen run:\n\n```\npython3 ofrenda.py \"Abuela Rosa\" \"She taught me to make sweet bread on rainy Sundays.\"\n```\n\nExample output:\n\n```\n🕯️ OFRENDA FOR ABUELA ROSA\n\nA short remembrance card appears here, written by the local model.\n```\n\nThe project also has a deterministic offline mode:\n\n```\npython3 ofrenda.py \"My first open source project\" \"It taught me that unfinished things can still help someone.\" --offline\n```\n\nThe complete source code is available here:\n\nOfrenda.exe is a single file Python CLI with no third party Python dependencies.\n\nIt calls the local Ollama HTTP API with Python's standard library. The prompt asks the model to write a short remembrance without inventing facts or mentioning the prompt.\n\nThe project uses the open weight Gemma model locally through Ollama. If the local server is unavailable, the program falls back to a deterministic candlelight mode so the basic experience remains usable.\n\nThe main flow is:\n\nMemories are private by default.\n\nA closed hosted model could require uploading a person's name, family story, or personal history to a service we do not control. Ofrenda.exe uses local inference instead, so the story can stay on the user's laptop and work without an account or an internet connection.\n\nOpen models also make the project replaceable. Users can choose a smaller model for an older laptop, a multilingual model for their family, or a fine tuned model with a different cultural voice.\n\nThe application does not depend on one provider's pricing, availability, or personality. A remembrance tool should be able to outlive the service that created it.\n\nI wanted the result to feel gentle instead of frightening.\n\nA terminal window is usually associated with commands, logs, and errors. Ofrenda.exe gives it a quieter job. It lets a small memory sit in the light for a moment.\n\nTechnology can help us remember without taking the memory away from us.", "url": "https://wpnews.pro/news/ofrenda-exe-a-candle-for-the-ghost-in-the-machine", "canonical_source": "https://dev.to/apiipp_com_516795e563f8ac/ofrendaexe-a-candle-for-the-ghost-in-the-machine-4pk2", "published_at": "2026-10-30 21:03:30+00:00", "updated_at": "2026-10-30 21:20:43.955346+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "ai-tools", "generative-ai"], "entities": ["Ollama", "Gemma", "Ofrenda.exe", "Hacktoberfest", "Python"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/ofrenda-exe-a-candle-for-the-ghost-in-the-machine", "markdown": "https://wpnews.pro/news/ofrenda-exe-a-candle-for-the-ghost-in-the-machine.md", "text": "https://wpnews.pro/news/ofrenda-exe-a-candle-for-the-ghost-in-the-machine.txt", "jsonld": "https://wpnews.pro/news/ofrenda-exe-a-candle-for-the-ghost-in-the-machine.jsonld"}}