NoteTube

Paste a YouTube link, generate structured notes fast, and manage your saved study content from one dashboard.

Latency Gain 313ms -> 44ms
Core Stack Django + PostgreSQL + Redis
Infra AWS EC2 + Docker + Nginx
AI Services OpenAI + AssemblyAI

About the Project

NoteTube turns YouTube videos into usable notes and lets users edit, save, and revisit content in a clean account-based workflow.

Features

  • 📺 Paste a YouTube link and generate notes from the video
  • 🗂️ View all your saved notes in one place
  • 📄 Open each note's detail page to read full content
  • ✏️ Edit and update notes after they are generated
  • 🔐 Sign up and log in to keep your notes tied to your account
  • 🏠 Use a simple home/dashboard experience to manage notes

Technical Stack

Backend

  • Python
  • Django
  • Gunicorn

Database & Caching

  • PostgreSQL
  • Redis
  • Session Management

AI/ML Services

  • OpenAI API
  • AssemblyAI API
  • Text Processing

Infrastructure

  • AWS EC2 (Linux)
  • Nginx (Reverse Proxy)
  • Docker

Architecture & Infrastructure

🚀 Production Deployment on AWS EC2

Dockerized Django app deployed on Linux EC2 with Gunicorn for repeatable and stable production serving.

🔀 Nginx Reverse Proxy Configuration

Nginx routes traffic to Gunicorn, serves static assets, and reduces backend pressure with proxy-level optimizations.

🔒 HTTPS & Automatic TLS Renewal with Let's Encrypt

HTTPS is enforced with Certbot + Let's Encrypt, including automatic certificate renewal for continuous secure traffic.

⚡ Redis Caching Performance Optimization

Redis caching cut hot-path latency by 85.9% (313ms to 44ms) by reducing repeated PostgreSQL lookups.

🗄️ Database Architecture

PostgreSQL handles durable data while Redis supports sessions and high-frequency reads for smoother response times.