Inspiration

A family can have decades of stories and still have no reliable way to pass them on.

Imagine a grandmother telling her grandson how their family came to be, sharing an experience from her childhood, or explaining a Yoruba proverb that carries a lesson. He wants to preserve it, so she records her voice. But a recording alone does not solve the problem. Years later, the audio may be difficult to search, younger relatives may struggle to understand parts of the original language, and a literal translation may fail to capture the meaning behind an expression.

The story still exists, but the connection to it becomes weaker.

This is a problem that ordinary recording apps and basic translation tools do not fully address. Recording preserves sound; translation converts words. Neither necessarily preserves the context, cultural meaning, or opportunity for the storyteller and the next generation to understand the story together.

We saw an opportunity to make technology serve a more human purpose: helping families preserve not just what was said, but what was meant.

That is why we built Roots. It brings younger and older generations into the same storytelling process: one person records, AI helps make the story accessible across languages, and the storyteller remains the authority on whether the transcript and meaning are correct.

For us, preservation should not be a one-way act of storing the past. It should create a reason for generations to listen, learn from one another, and stay connected.

What it does

Roots is an AI-powered family storytelling and cultural preservation platform that helps people capture, understand, and pass down the experiences of older generations without losing the original stories.

A younger family member can create a story, add the family member sharing it, obtain their consent, and record or upload an audio conversation. The elder does not have to change the way they speak or tell their story. They can speak naturally in their preferred language.

Roots then helps turn that recording into a written record through AI-powered transcription, preserving the story in its original language. It can also translate the transcript into another supported language, making it easier for younger relatives who may not fully understand the language their grandparents speak.

Importantly, the original transcript and its translation are kept as separate versions. This means translation does not replace the elder's original words. The family can review the generated content, make corrections, and distinguish AI-generated material from human-reviewed content.

This makes Roots useful in several ways:

  • Preserving family history: Record first-hand accounts of important family events, childhood experiences, migration, traditions, challenges, and significant moments that might otherwise remain undocumented.
  • Bridging language gaps: Help grandchildren understand stories told in languages they may not speak fluently.
  • Keeping original voices and words: Preserve the original-language account instead of reducing family history to an English translation.
  • Making stories accessible: Turn audio conversations into written transcripts and translations that are easier to revisit and share.
  • Protecting meaning and ownership: Keep the storyteller involved in reviewing their account, rather than treating AI-generated output as automatically accurate.
  • Roots also gives families control over how their stories are shared. A story can remain private or be made accessible to others through its visibility settings. When a story is set to Family, it can be shared using a link, allowing family members to access it even if they do not have a Roots account. This makes preserved stories easier to share across generations while respecting the storyteller's chosen privacy settings.

The problem Roots solves goes beyond forgotten recordings. It addresses the growing difficulty of transferring personal and cultural knowledge between generations who may no longer share the same language, environment, or everyday experiences.

Instead of allowing family history to remain trapped in memories that only a few people can understand, Roots gives families a practical way to preserve those experiences and make them accessible to the people who come after them.

Roots does not just preserve that a story was told. It helps preserve the story itself, the language it was told in, and the experiences behind it.

How we built it

We built Roots as a full-stack application with a React frontend, a Python FastAPI backend, and Supabase as our database, authentication, and audio storage infrastructure.

Rather than putting all the logic into the frontend or relying on a single AI service, we separated the application into layers so that each part has a clear responsibility.

Frontend

We built the user interface with React, TypeScript, Vite, and Tailwind CSS. The frontend provides the experience for creating stories, adding participants, managing consent, uploading audio, and accessing transcripts and translations.

We wanted the process to be straightforward: a family member should be able to preserve a conversation without needing to understand the technology working behind it.

Backend architecture

The backend is built with Python and FastAPI. It handles the application's business logic, API endpoints, validation, database operations, consent checks, and AI integrations.

We organized the backend into separate layers:

  • API routes: Receive requests from the frontend and return structured responses.
  • Services: Handle business workflows such as audio processing, transcription, and translation.
  • Repositories: Execute database operations using SQL.
  • Schemas: Validate incoming data and structure API responses.

We deliberately chose asyncpg for direct PostgreSQL access instead of an ORM. This gave us explicit control over SQL queries, relationships, and database operations.

Database and storage

We use Supabase PostgreSQL to store structured application data, including users, stories, participants, consent records, processing jobs, and content versions.

Audio files are stored separately in a private Supabase Storage bucket. Instead of placing large audio files inside database records, we store the files in object storage and keep their metadata and storage references in PostgreSQL.

This separation allows the database to manage relationships and story information while object storage handles the actual audio files.

AI transcription and translation

We integrated Groq's Whisper transcription model to convert recorded speech into text while retaining the original language of the story.

For translation, we built a separate Groq-powered text translation integration. This allows a transcript to be translated into another supported language without replacing the original.

One important architectural decision was to treat the original transcript and its translation as separate content versions. We use content versioning and source references so that a translation can be traced back to the transcript it was generated from.

AI-generated content is also distinguished from human-created or human-edited content. This matters because an AI-generated translation should never automatically be treated as the storyteller's confirmed account.

Consent and data handling

Because Roots deals with personal family experiences and voices, consent is part of the application workflow.

We designed consent records around specific purposes, including audio storage and transcription. Translation also has its own consent purpose. Audio is stored in a private bucket rather than being publicly accessible by default.

Deployment and infrastructure

Our architecture uses:

  • Vercel for frontend deployment.
  • Render for hosting the FastAPI backend.
  • Supabase for PostgreSQL, authentication, and private audio storage.
  • Groq for AI-powered transcription and translation.

This architecture gives Roots a clear separation between the user experience, application logic, structured data, audio files, and AI processing.

Most importantly, the technical decisions support the central principle behind Roots: AI should make family stories more accessible without replacing the original account or taking the storyteller out of the process.

Challenges We Ran Into

Building Roots came with challenges that went beyond getting an application to work. We were building around personal stories, different languages, audio processing, and the responsibility of preserving someone's words accurately.

  1. Preserving the original story while introducing AI

One of our biggest design challenges was making AI useful without allowing it to overwrite the storyteller's original account.

A translated version should never become a replacement for the original transcript. We addressed this through content versioning, keeping original transcripts and translations as separate records, with a reference connecting each translation to its source.

  1. Working with audio files and object storage

Audio introduced a different set of engineering considerations. Unlike ordinary text, recordings can be large and need to be stored, retrieved, and processed reliably.

We had to separate audio storage from structured database records. We implemented private Supabase Storage for audio files while PostgreSQL stores their metadata, ownership relationships, and storage references.

We also had to account for file validation, size limits, content types, and the possibility of failed uploads or processing jobs.

  1. Connecting multiple services reliably

Roots depends on several independent systems: FastAPI, PostgreSQL, Supabase Storage, and Groq.

Getting them to work together required careful configuration, dependency management, and error handling. We encountered issues involving missing Python packages, environment variables, storage connectivity, and deployment configuration.

We learned that an application working locally does not automatically mean it will work in production. We had to test the actual integration points rather than assume that successful individual components meant the entire system was ready.

  1. Designing consent into the workflow

We were dealing with people's voices and personal family experiences, so consent could not be treated as an afterthought.

We designed purpose-specific consent records, distinguishing permissions for audio storage, transcription, and translation. This required us to think about consent as part of the data model and processing workflow, not just a checkbox on the interface.

  1. Making the architecture testable

As the backend grew, changes to one component sometimes affected others. We needed to know that fixing a feature would not break something that already worked.

We built a test suite around our API routes, services, and repositories. This helped us catch issues during integration and gave us a way to verify changes as we introduced new functionality.

What we learned

The biggest lesson was that building Roots required more than making AI produce text. We had to think about where the original audio lives, how its content is represented, how translations relate to the original, who has given permission for processing, and how the entire workflow behaves when individual services fail.

Those decisions shaped Roots into something more deliberate than a basic audio transcription application.

Accomplishments That We're Proud Of

One of our biggest accomplishments is taking Roots from an idea about preserving family history to a functioning full-stack application with a working backend, real audio processing, and an architecture designed around preserving the integrity of family stories.

Here are some of the achievements we're especially proud of:

  1. Building a complete audio-to-transcription workflow

We successfully integrated audio uploads with Supabase Storage and Groq's Whisper transcription model. A recording can be uploaded, stored separately from the database, retrieved for processing, and converted into text.

We tested the upload and retrieval workflow, including verifying that a downloaded audio file returned HTTP 200 and matched the original file size of 653,415 bytes.

  1. Designing a system that preserves original stories

We implemented a content-versioning approach that distinguishes original transcripts from other versions of a story.

This gives Roots a foundation for keeping original-language accounts intact while allowing translations and human corrections to exist as separate versions rather than silently replacing the source.

  1. Building consent into the data architecture

We designed purpose-specific consent records for activities such as audio storage, transcription, and translation.

We are proud that privacy and permission were considered in the underlying architecture instead of being added as superficial interface features.

  1. Engineering a tested backend

We built a substantial automated test suite covering our backend routes and application logic.

At a major testing milestone, our suite reached:

312 passing tests.

During later integration work, we also resolved two health-test failures caused by a missing storage-client factory in the application startup module. We restored the expected dependency and kept the existing test structure intact.

Our testing process helped us identify regressions, verify integrations, and make changes with greater confidence.

  1. Building with a modular backend architecture

We deliberately separated API routes, business services, repositories, and database schemas. We used FastAPI with direct PostgreSQL access through asyncpg rather than hiding database operations behind an ORM.

This gave us explicit control over SQL queries, relationships, and the content-versioning logic that Roots depends on.

  1. Bringing multiple technologies together

We integrated React, TypeScript, FastAPI, PostgreSQL, Supabase Storage, Supabase authentication, and Groq AI services into one application.

We also worked through deployment challenges involving environment configuration, package dependencies, database connectivity, and production hosting.

What makes us proudest

We didn't want to build another application that simply sends audio to an AI model and displays whatever text comes back.

We wanted to build the foundations of a system that respects the original storyteller, preserves the source of every version, and makes family knowledge more accessible across generations.

For us, the accomplishment is not just that Roots can process audio. It is that we have built an extensible technical foundation around a problem that matters to families.

What We Learned

Building Roots taught us that solving a meaningful problem requires much more than having a good idea or integrating an AI model. It requires understanding the people affected by the problem and making technical decisions that genuinely support them.

Here are some of our biggest lessons:

  1. AI output is not the same as truth

We learned that AI can make information more accessible, but it should not automatically become the authority on someone's personal history. A transcription or translation can contain mistakes, especially when cultural expressions and context are involved. This shaped our decision to preserve original content separately and distinguish AI-generated material from human-reviewed content.

  1. Preserving information is different from preserving meaning

A recording can preserve someone's voice, but that does not guarantee that future generations will understand what was said or why it mattered. We learned to think beyond storing audio and consider language accessibility, context, content versioning, and the storyteller's involvement.

  1. Good architecture is built around the problem

Our decision to separate PostgreSQL data from audio object storage taught us how different forms of information need different storage strategies. We also learned the value of separating API routes, services, and repositories, and using direct SQL to understand exactly how our data relationships work.

  1. Consent must influence system design

Working with personal family stories made us think differently about data collection and processing. We learned that permission should be specific to what the application intends to do, rather than treating consent as a single general approval.

  1. Integration is where assumptions meet reality

Getting individual technologies working is one thing; making them work together reliably is another. We encountered dependency issues, configuration problems, storage connectivity challenges, and deployment failures. We learned to investigate the actual failure point instead of assuming that code working locally would automatically work in production.

  1. Testing is part of building, not something saved for the end

Reaching a milestone of 312 passing automated backend tests reinforced the importance of validating individual components and their interactions. We learned that every new feature can affect existing functionality, and a reliable test suite makes it possible to identify regressions before they become larger problems.

  1. Technology is most valuable when it strengthens human relationships

Perhaps our biggest lesson was that the purpose of Roots is not to make families depend on AI to remember their history. It is to make it easier for people to listen to one another, understand experiences they might otherwise never hear, and carry those experiences into the future.

Our biggest takeaway: Building useful AI is not just about what a model can generate. It is about designing the systems, safeguards, and human processes that make its output genuinely valuable.

What's Next for Roots?

Roots is designed around a problem that extends far beyond one country or culture: the loss of first-hand family history when generations become separated by language, distance, and changing ways of life.

Our current implementation establishes the foundation: recording and uploading stories, preserving audio, generating original-language transcripts, and building the infrastructure for translation and content review.

What's next is making that foundation more powerful, reliable, and useful over generations.

  1. Make Roots multilingual across cultures

We want to expand beyond our initial language set to support more languages and communities around the world. Our goal is to help families preserve stories regardless of the language their elders speak or the language younger generations understand.

  1. Strengthen storyteller-led verification

We want to make it easier for storytellers to review transcripts, correct AI mistakes, clarify cultural expressions, and approve translations. AI should assist with preservation, while the person whose story is being preserved remains the authority on its meaning.

  1. Develop richer, searchable family archives

We envision families being able to explore preserved accounts by storyteller, generation, location, topic, and significant life events. This would help turn individual recordings into an accessible history that families can revisit and build upon.

  1. Preserve the context behind the stories

Beyond the words themselves, we want to support richer documentation of family traditions, historical events, proverbs, idioms, and cultural practices, with explanations reviewed by the people who know their significance.

  1. Make family preservation collaborative

We want to develop secure ways for relatives across different locations to contribute to the same family archive, discover stories, and learn from older generations while respecting each storyteller's consent and privacy.

  1. Build for long-term trust and reliability

We will continue strengthening authentication, ownership controls, privacy, data protection, and the reliability of our AI integrations. Family history deserves infrastructure that families can trust over time.

Our vision

We want Roots to become a living archive of human experiences, connecting generations through the stories that shaped their families and communities.

Whether those stories come from a village in Nigeria, a family in India, or a community elsewhere in the world, the principle remains the same:

No generation should have to lose its history simply because the next generation grew up speaking a different language or living a different life.

Built With

Share this project:

Updates

Submission history