AI-powered all-in-one productivity app built with Next.js 14 + Supabase + Gemini AI.
✅ To-dos · 🎯 Goals · 📝 Notes (stickers, voice, images) · 📄 Documents
📅 Calendar · 💭 Mood tracker · 🔥 Habits + streaks · ⏱️ Focus timer
🎨 Zen Space (drawing + bubble pop) · 🤖 AI assistant (works offline too)
🌙☀️ Dark/light mode · 🎨 5 themes · 🆘 Help centre
# 1. Install
npm install
# 2. Set env vars
cp .env.example .env.local
# Fill in your Supabase keys (AI key is optional)
# 3. Run
npm run dev
# Open http://localhost:3000- Create free project at https://supabase.com
- Go to SQL Editor → New Query, paste
supabase/schema.sql, click Run - Go to Project Settings → API, copy:
Project URL→NEXT_PUBLIC_SUPABASE_URLanon publickey →NEXT_PUBLIC_SUPABASE_ANON_KEY
- Optionally: Authentication → Settings → disable email confirmation for easier dev
The app works without an API key using smart offline AI.
To enable full Gemini AI:
- Go to https://Gemini.com → API Keys → Create
- Add
GEMINI_API_KEY=sk-ant-...to.env.local
npm install -g vercel
vercelOr: push to GitHub → import at vercel.com → it auto-detects Next.js.
Add env vars in Vercel:
Project → Settings → Environment Variables → add all 3 keys → Redeploy
Update Supabase auth URL:
Supabase → Authentication → URL Configuration → set Site URL to your Vercel URL
thryve/
├── app/
│ ├── (dashboard)/ # All protected pages
│ │ ├── dashboard/ # Home with stats
│ │ ├── todos/ # Tasks with edit
│ │ ├── goals/ # Goals + progress
│ │ ├── notes/ # Notes + stickers + voice + images
│ │ ├── documents/ # Rich text editor + templates
│ │ ├── calendar/ # Monthly calendar + events
│ │ ├── mood/ # Daily mood + energy log
│ │ ├── habits/ # Habits + 7-day grid + streaks
│ │ ├── focus/ # Pomodoro timer + ambient sound
│ │ ├── zen/ # Drawing canvas + bubble pop game
│ │ └── settings/ # Profile, themes, AI chat, Help
│ ├── auth/ # Login + signup
│ ├── api/ai/ # Gemini AI route with smart fallback
│ ├── layout.tsx
│ └── globals.css # Full theme system
├── components/layout/
│ └── Sidebar.tsx # Nav + AI panel + theme/mode toggle
├── lib/
│ ├── supabase.ts # Browser client
│ └── supabase-server.ts
├── supabase/
│ └── schema.sql # Full DB schema — run once in Supabase
├── middleware.ts # Auth route protection
└── .env.example
The AI works in two modes automatically:
| Mode | When | Quality |
|---|---|---|
| Gemini AI | Gemini_API_KEY is set and valid |
Full conversational AI |
| Smart fallback | No key, or API error | Rule-based responses across 15+ intent categories |
The fallback covers: goals, habits, mood, focus, productivity, planning, sleep, motivation, and more — so the app always feels AI-powered.
Use the Help tab in Settings to send a message, or email directly:
📧 akankshachoubey2003@gmail.com
🌱 Thryve — grow intentionally, one day at a time.