Your personal command center for life — portfolio, productivity, health & finance.
One app. Infinite possibilities. Your public portfolio, private dashboard, and life operating system — all in one beautiful, self-hosted package.
- Public Portfolio — Professional presence that showcases your work, blog, and skills
- Private Command Center — 18 powerful modules for tasks, habits, finance, health & more
- 100% You — Full ownership. Your data. Your rules. Self-host anywhere
- AI-Powered — Track AI usage, costs, and integrate intelligent automation
- Ideas — Kanban-style idea board. 5 stages: Raw → Exploring → Building → Launched → Archived. Promote winning ideas to your portfolio!
- Compass — Prioritized task management with P1-P5 levels. Workspace organization for focused execution.
- Todo — Clean, distraction-free task list with custom UI and quick actions.
- Habit Tracker — GitHub-style heatmap calendar. Track streaks, color-coded days, daily logging with visual progress.
- Reading Queue — URL-based queue with priority levels, type filters (article/video/book), read/unread tracking.
- Bookshelf — Personal library with progress bars, star ratings, reading status, and notes.
- Expenses — Daily spending ledger with category tags, smart suggestions, and visual analytics.
- Subscriptions — Track recurring costs, renewal countdowns, monthly burn rate calculation.
- EMI Tracker — Loan management with cost distribution charts and payment schedules.
- Analytics — Self-hosted page views, device breakdown, top pages, referrers — no third-party scripts!
- AI Usage — Track token counts across AI providers, monitor costs, optimize spending.
- Crop History — Agricultural tracking with formulas, area-based analytics for the farming-minded.
- Blog — Markdown editor with dual-pane preview, draft/publish/archive workflow, SEO-friendly.
- Portfolio — Hero section, bio, skills, social links, "Available for hire" badge.
- Snippets — Code library with one-click copy, syntax highlighting, favorites.
- Calculators — Custom math tools with saved calculations.
- Shopping List — Inventory management with category filters.
- Rain Tracker — Precipitation logging with area-wise distribution.
| Admin Dashboard | Portfolio |
|---|---|
| Ideas Board | Habit Tracker |
|---|---|
| Layer | Technology |
|---|---|
| Framework | Next.js 16 (App Router, Turbopack) |
| Styling | Tailwind CSS v4, Framer Motion |
| Database | MongoDB Atlas (polymorphic single collection) |
| Validation | Zod v4 |
| Auth | jose (edge-compatible JWT) |
| Deployment | Vercel, Netlify, or any Node.js host |
┌─────────────────────────────────────────────────────────────┐
│ Life OS Architecture │
├─────────────────────────────────────────────────────────────┤
│ Client (Next.js) │
│ ├── Public Portfolio / Blog │
│ ├── Admin Dashboard (Bento Grid) │
│ └── 18 Modular AdminViews │
├─────────────────────────────────────────────────────────────┤
│ API Layer │
│ ├── /api/content — Polymorphic CRUD │
│ ├── /api/auth/login — JWT Authentication │
│ ├── /api/system — Global config │
│ ├── /api/metrics — Self-hosted analytics │
│ └── /api/export / import — Data portability │
├─────────────────────────────────────────────────────────────┤
│ Database (MongoDB) │
│ ├── system (config) │
│ ├── content (polymorphic: module_type + payload) │
│ └── metrics (analytics events) │
└─────────────────────────────────────────────────────────────┘
- Node.js ≥ 18
- pnpm —
npm install -g pnpm - MongoDB Atlas — Free cluster
git clone https://github.com/manthanmtg/LifeOS.git
cd LifeOS
pnpm installcp .env.local.example .env.localEdit .env.local:
MONGODB_URI=mongodb+srv://<username>:<password>@cluster0.xxxxx.mongodb.net/lifeos?retryWrites=true&w=majority
ADMIN_PASSWORD=YourSecurePassword123
JWT_SECRET=some-long-random-secret-stringpnpm dev- Public site: http://localhost:3000
- Admin login: http://localhost:3000/login
💡 First run auto-seeds the database with default config.
npm i -g vercel
vercelSet environment variables in Vercel dashboard.
Set MONGODB_URI, ADMIN_PASSWORD, JWT_SECRET in Netlify dashboard.
pnpm build
pnpm startAny Node.js hosting works — just set the environment variables.
- Mobile App — React Native companion for iOS/Android
- AI Integration — Smart suggestions,自动化, GPT-powered insights
- Offline Mode — PWA with local-first data sync
- Multi-user Support — Family/team sharing with role-based access
- More Modules — Budget planner, workout tracker, meal planner
- Plugin System — Third-party module marketplace
Contributions welcome! Here's how to help:
- Fork the repository
- Create a feature branch:
git checkout -b feat/awesome-feature - Make your changes and test:
pnpm lint && pnpm build - Commit:
git commit -m 'feat: add awesome feature' - Push:
git push origin feat/awesome-feature - Open a Pull Request
See CONTRIBUTING.md for detailed conventions.
src/
├── app/
│ ├── page.tsx # Public portfolio
│ ├── admin/
│ │ ├── page.tsx # Dashboard (Bento grid)
│ │ ├── settings/ # Theme/export/import
│ │ └── [module]/ # Dynamic module routes
│ └── api/
│ ├── auth/login/ # JWT auth
│ ├── content/ # Polymorphic CRUD
│ ├── system/ # Global config
│ ├── metrics/ # Analytics
│ └── export/import/ # Backup/restore
├── lib/
│ ├── mongodb.ts # MongoDB singleton
│ ├── auth.ts # JWT helpers
│ ├── schemas.ts # Zod validation
│ ├── seed.ts # DB initializer
│ └── utils.ts # Utilities
├── modules/ # 18 modules
│ ├── portfolio/, blog/, expenses/
│ ├── ideas/, compass/, habits/
│ └── ... (see full list below)
├── components/shell/ # Layout components
├── registry.ts # Module config
└── proxy.ts # Auth middleware
MIT License — see LICENSE for details.
Built with ❤️ using Next.js, MongoDB & Tailwind