DEV Community

Cover image for GiftMind: Turning Memories Into Meaningful Gifts
Arun Yadav
Arun Yadav

Posted on

GiftMind: Turning Memories Into Meaningful Gifts

Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle Submission 💸

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle.

I Built GiftMind: An AI Side Hustle That Turns Memories Into Meaningful Gifts

What if the most meaningful gift isn't something you buy, but a memory you turn into something unforgettable?

We've all struggled to find the perfect gift.

You open an online store, search for "best birthday gifts," browse hundreds of products, and eventually pick something generic.

The problem isn't a lack of choices.

It's a lack of personalization.

That's why I built GiftMind — an AI-powered gifting platform that transforms someone's interests, personality, and shared memories into personalized gift ideas and story keepsakes.

Built with Google's open-weight Gemma 4 model and deployed on Render, GiftMind explores how AI could power a practical, affordable digital gifting side hustle.

What I Built

GiftMind combines two experiences: AI Gift Discovery and AI Story Keepsakes.

1. AI Gift Discovery

GiftMind begins by asking about the person receiving the gift.

Users create a recipient profile containing:

  • Their relationship with the recipient.
  • Interests, hobbies, and preferences.
  • Personal quirks and meaningful memories.
  • The occasion and available budget.

Instead of generating generic shopping recommendations, Gemma 4 uses this context to propose three personalized gift concepts.

Each recommendation includes a title, description, estimated budget, personalization reasoning, and a creative presentation idea.

For example, imagine a friend who loves photography, coffee, vintage aesthetics, and exploring Jaipur.

Rather than suggesting a generic perfume or gift card, GiftMind can propose a themed photography experience or a personalized memory collection connected to those interests.

The AI is not just answering, "What should I buy?"

It's answering, "Why would this particular person love this gift?"

2. AI Story Keepsakes

This is my favorite part of GiftMind.

Sometimes, the most valuable gift is a shared story.

GiftMind includes a guided memory interview that asks users about how they met someone, their favorite moments, important milestones, and what makes that person special.

Gemma 4 transforms those answers into a personalized story.

The user can then:

  • Read and review the AI-generated story.
  • Edit its title and content.
  • Save the revised keepsake.
  • Download a formatted PDF to share or print.

The experience follows a simple journey:

Share your memories → Generate a personal story → Edit it → Create a keepsake.

One of my most important engineering decisions was to ground stories in the memories actually provided by the user.

The goal is not to manufacture emotional experiences. It's to help people express real ones more beautifully.

Who Would Pay for GiftMind?

The Week 2 theme is Side Hustle, so I designed GiftMind around a business idea with a plausible paying audience.

Potential customers include:

  • Couples preparing anniversary surprises.
  • Friends creating memorable birthday gifts.
  • Families celebrating parents and grandparents.
  • People creating personalized graduation or farewell keepsakes.
  • Small gifting businesses offering customized digital products.

A potential business model could include free basic gift recommendations and paid premium keepsakes.

For example:

Product Proposed Price
Basic gift discovery Free
Personalized digital keepsake ₹99
Premium printable keepsake ₹249
Customized gift bundles Future offering

These are proposed prices, not actual sales or launched payment plans.

The current MVP focuses on validating the experience before implementing payments.

For an independent developer, this type of product offers an interesting opportunity: a digital gift can be generated and delivered without holding physical inventory.

Of course, real profitability would depend on inference costs, hosting expenses, conversion rates, and customer demand.

Demo

GiftMind is deployed on Render.

Live Application: https://giftmind-web.onrender.com

Backend API: https://giftmind-api.onrender.com

API Health Endpoint: https://giftmind-api.onrender.com/health

Try the Experience

  1. Open the GiftMind application.
  2. Create an account or log in.
  3. Add a recipient and describe their interests.
  4. Create a gift project with an occasion and budget.
  5. Generate three personalized gift ideas using Gemma 4.
  6. Complete the memory interview.
  7. Generate, edit, and export a story keepsake as a PDF.

The frontend and backend services are deployed successfully. The database migrations have also run on the production database.

Note: The complete browser journey should be tested before treating every interaction above as verified in production.

Screenshots

Code

The entire GiftMind project is available on GitHub:

GitHub — itsdevcode/giftmind

The repository includes the backend, frontend, AI integration, database migrations, and automated tests.

GiftMind was built as a full-stack application, not just a prompt wrapped in a simple interface.

How I Built It

Technology Stack

Layer Technology
Open-weight AI Google Gemma 4 26B A4B
AI SDK Google Gen AI Python SDK
Backend Python, FastAPI
Database PostgreSQL 16
ORM Async SQLAlchemy
Migrations Alembic
Frontend Next.js 15, React, TypeScript
Styling Tailwind CSS
PDF generation ReportLab
Infrastructure Render
CI and testing GitHub Actions, Pytest, Ruff

Building Around Gemma 4

GiftMind uses the instruction-tuned model:

gemma-4-26b-a4b-it

I chose Gemma because I wanted an open-weight AI model at the heart of the product rather than relying entirely on a closed-model ecosystem.

For this challenge, I used Google-hosted inference through the google-genai SDK.

That removed the immediate need to run GPU infrastructure, while keeping the application's AI layer designed around an open-weight model.

The model powers two core workflows:

Gift recommendations: It interprets recipient interests, relationships, occasions, and budgets to create thoughtful suggestions.

Memory-based storytelling: It transforms structured user-provided memories into a personal keepsake.

AI Architecture

The backend separates the AI provider from the application's business logic.

This allows different parts of the system to remain independently testable:

  • API routes handle validation and access control.
  • Services manage gift and story workflows.
  • The AI provider handles Gemma inference.
  • Structured response validation checks model output.
  • PostgreSQL stores the resulting data.
  • ReportLab creates the downloadable keepsake.

AI responses are validated before persistence instead of assuming every generated response is correctly formatted.

The application also handles provider errors and timeouts so failed generations don't have to corrupt saved project data.

Making AI Output More Reliable

A personalized gifting product needs stronger guarantees than a basic chatbot demo.

I implemented safeguards around:

Grounding: Story generation uses user-provided memories as its factual foundation and prompts discourage invented experiences.

Validation: AI-generated recommendations and stories must match expected application structures.

Ownership: Authentication and project-level authorization restrict access to each user's data.

Concurrency: PostgreSQL constraints help prevent conflicting active generation requests for the same project.

Editing: Users can review and modify generated keepsakes before exporting them.

The user remains the final editor of the personal story.

Automated Tests and Real AI Testing

At the completion of the keepsake implementation phase, GiftMind had 74 passing PostgreSQL-backed backend tests.

The test suite covers important application behavior, including authentication, ownership, generation workflows, persistence, and PDF export.

I also tested the hosted Gemma integration directly.

One real recommendation smoke test generated three validated personalized gift ideas in approximately 30 seconds.

This was a useful lesson: mocked AI responses are excellent for automated tests, but real provider behavior still needs separate verification.

Deploying GiftMind on Render

For the deployment, I created three separate Render resources:

1. Next.js Web Service

Hosts the public frontend and provides the user interface for gift discovery and keepsake creation.

2. FastAPI Web Service

Handles authentication, recipient profiles, projects, Gemma 4 integration, story generation, and PDF export.

3. PostgreSQL Database

Stores users, recipient profiles, gift projects, generated recommendations, memories, and saved keepsakes.

The application uses secure environment variables for database access, signing secrets, and the Google API key.

The frontend also uses a server-side API proxy to keep browser API calls on the same origin.

During the first deployment, I encountered an interesting production issue: the backend rejected an insecure JWT signing-secret placeholder.

Rather than bypassing the validation, I corrected the environment configuration with a secure random secret.

After redeployment, the PostgreSQL migrations completed, FastAPI started successfully, and Render marked both web services live.

It's a small detail, but one that matters: production safety checks should remain enabled, even during hackathons.

Why Does Open Innovation Matter?

For a side hustle, choosing the AI foundation is also a business decision.

A promising product needs room to evolve as its audience, infrastructure costs, and requirements change.

Open-weight AI offers meaningful flexibility.

Freedom Beyond One Hosted Endpoint

GiftMind currently uses hosted Gemma inference.

However, Gemma's available model weights create a path toward future self-hosted deployments or customized infrastructure, subject to the model's license.

That matters because a product shouldn't need to be redesigned every time its inference strategy changes.

More Opportunities for Specialization

Personal gifting is a specialized use case.

Future versions could experiment with evaluations and adaptation focused on culturally relevant gift ideas, grounded personal storytelling, and different gifting occasions.

An open-weight foundation makes it possible to explore techniques beyond prompt engineering alone.

Better Business Flexibility

A ₹99 digital product cannot support unlimited infrastructure costs.

As demand grows, having the ability to compare hosted model inference against self-hosting becomes valuable.

Open-weight models aren't free to operate: compute, storage, hosting, maintenance, and model evaluation still have costs.

But additional deployment choices help small developers explore sustainable economics.

An Open-Source Application Others Can Build On

GiftMind's application code is publicly available.

Developers can inspect the AI integration, contribute improvements, experiment with prompt strategies, or extend the gifting workflows.

I believe open innovation matters most when it helps more people build practical products, not just research prototypes.

A note about privacy: The current application uses Google-hosted inference, so relevant recipient information and memories are sent to that provider for processing. GiftMind is not an offline or fully local AI application.

What I Learned

Building GiftMind reinforced an important distinction:

Making an AI API call is easy. Building a usable AI product is harder.

The difficult work includes deciding what the user needs to provide, validating generated output, handling failures, saving progress, protecting user data, and making sure the final result is genuinely useful.

Another lesson was the importance of narrowing the scope.

I could have added shopping integrations, payment gateways, image generation, and dozens of gift templates.

Instead, I focused on two connected experiences: finding a thoughtful gift and turning personal memories into a keepsake.

For a side hustle, I believe proving that people value the core experience is more important than shipping every feature immediately.

What's Next?

My next milestone is real customer validation.

I want to test GiftMind with potential users, observe how they interact with the memory interview, learn whether they would actually gift the resulting PDF, and measure willingness to pay.

If the response is promising, the next features would be premium printable templates, additional personalization options, and a payment workflow.

For now, GiftMind is a deployed, open-source MVP exploring a simple idea:

Technology should help us make gifts more human, not less.

Prize Categories

Best Use of Gemma

GiftMind uses Google's open-weight Gemma 4 26B A4B as the core AI model for personalized gift discovery and memory-based story generation.

Gemma is central to the product's value rather than an optional add-on.

Best Use of Render

GiftMind runs its public Next.js frontend, FastAPI backend, and PostgreSQL database on Render.

Render provides the application's deployment infrastructure, public service endpoints, environment configuration, and managed database hosting.

It enabled me to take the project from a local prototype to a publicly hosted MVP without building an infrastructure platform from scratch.


GiftMind — Turn Memories Into Meaningful Gifts.

Sometimes the best gift isn't another product.

It's proof that you remember what matters.

Top comments (0)