Inspired by @milesdeutscher's 143K-view Personal OS guide. The backend, packaged and ready to drop in.
| File | What It Does |
|---|---|
supabase/migrations/001_personal_os.sql |
Full Supabase schema — 10 tables, RLS, enums, indexes, daily_dashboard view |
claude-code-master-prompt.md |
Paste into Claude Code → get a full Next.js + Tailwind frontend scaffolded |
src/app/api/telegram/route.ts |
Next.js App Router webhook — routes Telegram messages to Supabase by intent |
- Create a new Supabase project
- Open the SQL Editor
- Paste
supabase/migrations/001_personal_os.sqland run it - You now have 10 tables with RLS + a
daily_dashboardview
- Open a new Claude Code project
- Paste the entire contents of
claude-code-master-prompt.md - Claude scaffolds the full Next.js app step by step
- Create a bot via @BotFather and get your token
- Drop
src/app/api/telegram/route.tsinto your Next.js project - Set your webhook:
https://api.telegram.org/bot<TOKEN>/setWebhook?url=<YOUR_URL>/api/telegram - Messages are classified by intent and written to Supabase automatically
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
TELEGRAM_BOT_TOKEN=your-bot-token
TELEGRAM_CHAT_ID=your-chat-id
SUPABASE_USER_ID=your-auth-user-uuid- Dashboard — widget layout from
daily_dashboardview (tasks, habits, net worth) - Tasks — Kanban + list view, priority-sorted, Telegram-fed
- Habits — SVG progress rings, streaks, one-tap completion
- Finances — transactions, net worth snapshots
- Journal — daily entries with mood tracking
- Brain — second brain / notes
- Nutrition — meal logging
- Calendar — calendar integration
projects · tasks · habits · habit_logs · journal_entries · finances · finance_snapshots · brain_notes · nutrition_logs · telegram_messages
Next.js (App Router) · TypeScript · Tailwind CSS · Supabase · Vercel · Telegram Bot API
Built by Harel Asaf · Free to use, fork, and adapt.