DEV Community

Cover image for Ofrenda 🌼 β€” The Offline Memory Keeper | #DEVChallenges #HF26
008_Vanshika Mishra
008_Vanshika Mishra

Posted on

Ofrenda 🌼 β€” The Offline Memory Keeper | #DEVChallenges #HF26

Hacktoberfest Open-Source AI Challenge: Ghost in the Machine Submission πŸ‘»πŸŒΌ

🌼 Ofrenda β€” The Offline Memory Keeper

A local-first AI memory keeper for preserving family stories, cherished recipes, personal memories, and wisdom.

πŸ”— GitHub Repository: https://github.com/vanshikamishra1909-cmd/OFRENDA-THE-MEMORY-KEEPER

πŸ’€ The Idea

Some memories are too precious to lose.

Inspired by the tradition of ofrendasβ€”altars honoring and remembering loved onesβ€”Ofrenda brings that spirit into a small, local-first AI application. It helps people preserve meaningful stories, family recipes, and personal wisdom in a searchable digital memory vault.

The goal is simple: make it easier to keep memories close while reducing reliance on hosted AI services.

✨ What It Can Do

  • πŸ“ Memory Vault: Add, browse, and delete saved memories.
  • πŸ”Ž Memory Search: Retrieve relevant records using lightweight keyword matching.
  • πŸ’¬ Ask the Archive: Ask questions grounded in retrieved memories using a locally running Ollama model.
  • πŸ•―οΈ Calaveritas Studio: Generate remembrance poems inspired by selected memories.
  • πŸ“¦ JSON Export: Export memory records for safekeeping.
  • πŸ’» Local-First Storage: Store records in a local SQLite database and use Ollama for AI generation.

πŸ› οΈ Tech Stack

  • Python
  • Streamlit
  • SQLite
  • Ollama
  • Qwen 2.5 3B (default local model)

πŸš€ Run It Locally

Requirements: Python 3.10+, Ollama, and a locally downloaded model.

Clone the repository:

git clone https://github.com/vanshikamishra1909-cmd/OFRENDA-THE-MEMORY-KEEPER.git
cd OFRENDA-THE-MEMORY-KEEPER
Enter fullscreen mode Exit fullscreen mode

Create and activate a virtual environment on Windows:

py -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
ollama pull qwen2.5:3b
Enter fullscreen mode Exit fullscreen mode

Make sure Ollama is running, then launch the application:

streamlit run app.py
Enter fullscreen mode Exit fullscreen mode

Open the local URL shown in your terminal, usually http://localhost:8501.

πŸ” Privacy Matters

Ofrenda is designed as a local-first prototype. Its default configuration stores memories in SQLite and sends prompts to the local Ollama API at 127.0.0.1, rather than intentionally calling a hosted AI API.

However, this is an early prototypeβ€”not a security-audited product. The database is not encrypted, and there is no login or multi-user access control. Please review the privacy limitations in the repository before importing sensitive information.

πŸ§ͺ Project Status

Ofrenda is an early MVP. It currently supports text memories, keyword-based retrieval, local-model question answering, remembrance poem generation, and JSON export. Semantic search, image gallery support, and audio transcription are not implemented.

🌼 Why I Built It

Memories aren't just data. They're stories, voices, recipes, lessons, and little pieces of the people we love.

Ofrenda explores how AI can help preserve those pieces without making a cloud service the center of the experience.

A small digital altar for the things we don't want to forget.


πŸ’» Explore the code and contribute:

https://github.com/vanshikamishra1909-cmd/OFRENDA-THE-MEMORY-KEEPER

devchallenges #hf26challenge #python #opensource






Top comments (0)