Lifoyee
Academic project · Full-stack · AI infra
Overview
Privacy-focused personal memory app. Journal in natural language; local LLMs extract people, dates, events, and commitments you can ask later with sources.
Problem
People forget conversations, commitments, and dates. Normal journals store text but leave you hunting through old entries by hand.
Solution
An AI memory assistant that turns journal entries into structured, searchable records using locally hosted models — not only external AI APIs. Async workers handle extraction so saves stay fast.
Architecture
Next.js UI → FastAPI → PostgreSQL
│
├─→ Redis + ARQ worker → Ollama (GPU)
└─→ Ask / retrieval over extracted memoriesEvidence
- Journal save does not block on LLM extraction (ARQ workers)
- Ask answers cite source memories
- Inference on local GPU via Ollama / CUDA
Outcome
Working extraction pipeline with background jobs, structured storage, and GPU-accelerated local inference on my own hardware.
Trade-offs
- Local models over cloud-only APIs — more ops work, better privacy control.
- Async extraction adds complexity; keeps the write path responsive.
Stack
- Next.js
- React
- TypeScript
- FastAPI
- Python
- PostgreSQL
- Redis
- ARQ
- Ollama
- Qwen
- Docker
- NVIDIA CUDA
My contributions
- System architecture
- Full-stack development
- AI model integration
- Database design
- Async processing
- Inference optimization
- Local AI infrastructure
In progress
- Real-time voice
- Local STT / TTS
- Richer retrieval
- Automatic character profiles
- WhatsApp / Telegram reminders
- Image gallery
- Open-source fine-tuning
- Stronger encryption story
Status
Active