Icon

Linguatube

Truly Learn English from YouTube Videos using artificial intelligence

Homepage
List video
Video transcript
Chat with AI
Flashcard

Important : The demo may fail due to the free-tier plan of the server. You can watch the demo on YouTube using this link.

Project Overview

Linguatube is a personal project inspired by my own challenges while learning English. YouTube is often considered an excellent resource for learning English due to its vast library of videos featuring natural and diverse vocabulary. However, I often found myself distracted, unable to document new words I encountered, and lacking opportunities to discuss or practice what I learned from the videos.

To address these issues, I decided to create Linguatube, an app designed to help learners truly engage with English content on YouTube. The app focuses on two main features:

  1. Smart Vocab: Translate words or phrases based on the video context and save them into a personal dictionary.
  2. Chat with AI: An AI that comprehends video content and enables discussions or challenges users based on the English they've learned.

Tech Stacks

For the front end, I used Next.js with Mantine UI as the component library.
The back end required more complexity:

  • Python for NLP (Natural Language Processing), specifically using FastAPI for its simplicity and robustness.
  • Supabase as the database, chosen for its free plan, flexibility, and PostgreSQL foundation.
  • Render.com for hosting, leveraging its free tier.
  • OpenAI for AI-powered features, with users providing their own API keys.

Additionally, I utilized LangChain, a cutting-edge NLP tool, for two primary purposes:

  • AI Memory: Storing conversations for a seamless chat experience.
  • Retrieval Augmented Generation (RAG): Enabling the AI to extract the most relevant video content to use as context when answering questions.

Limitation

  • Render.com Free Plan: The server spins down after periods of inactivity. causing a 50-second delay when accessed for the first time. Please be patient if the app takes longer to load.
  • Supabase Free Plan: The database occasionally becomes unresponsive due to inactivity, requiring manual restarts, which I can't guarantee daily.
  • YouTube Transcript API Bug: YouTube blocks requests from cloud servers, causing occasional issues. I'm actively working on resolving this.