THthhoang
AboutProjectsSkillsExperienceEducationAdditional SkillsContact
Universe•Articles•Music Studio•Curated Gear•GitHub
Sponsor
CoffeeKo-fiPayPalTechcombank

© 2026 Thieu Viet Hoang. All rights reserved.

← All Projects
Web Application

LifeCurve: AI Life Graph with Go, React, Redis & PostgreSQL

Visualize your life's journey with AI. Built with Go, React, Redis & PostgreSQL to map personal growth and emotional milestones.

GolangReactGemini APIData VisualizationLife TrackingTypeScript

Mobile App Release: LifeCurve: AI Life Graph with Go, React, Redis & PostgreSQL

v1.0.0Android APK

The first Android version of LifeCurve. This release features a "Secret Diary Vault" equipped with military-grade security—specifically, Zero-Knowledge End-to-End Encryption (E2EE). For further details, please refer to the in-depth article provided in the project description.

Download APK

What's New in v1.0.0:

  • •Top-Secret Diary Safe

Project Case Study

"A smart visual diary that takes long stories from your life and turns them into a beautiful interactive graph of emotional highs and lows, showing how you grew through every milestone."

1. The Problem (Why I Built This)

Writing down memories helps people reflect, but raw text makes it hard to see the big picture:

  • Information Overload: People write thousands of words, but cannot easily track how their career, relationships, and mindset evolved over time.
  • AI Token Waste: If a user closes the browser while an AI is processing a long story, traditional servers keep running the LLM in the background, wasting costly API tokens.
  • Slow Processing: Parsing long memoirs (15,000+ characters) causes web requests to time out.

2. How I Solved It (Under The Hood)

I engineered a high-concurrency Go (Gin) backend paired with a smooth React timeline:

  • Go Goroutines with Context Cancellation: When a user disconnects or refreshes, Go's context.WithCancel instantly stops upstream AI calls, eliminating token waste.
  • Redis Background Task Queue: Uses BLPop queue pacing to process long memoirs asynchronously without blocking web servers.
  • Dual-Provider AI Engine: Groq LLaMA provides lightning-fast analysis in under 3 seconds, with automatic fallback to Gemini if rate limits are reached.
  • Interactive Canvas Timeline: Interactive chart with smooth 60fps zooming, scrubbing, and 1-click batch export of 34 visual milestone cards to a ZIP file.

3. Key Takeaway & Results

  • Performance: Analyzes 15,000-character memoirs in under 3 seconds.
  • Efficiency: Zero token waste on cancelled requests thanks to Go context management.
  • Visual Polish: Fluid 60fps interactive milestone visualization.