diff --git a/.obsidian/appearance.json b/.obsidian/appearance.json index 77f1244..eabcbb4 100644 --- a/.obsidian/appearance.json +++ b/.obsidian/appearance.json @@ -1 +1 @@ -{"accentColor":"#46b7ce"} \ No newline at end of file +{"accentColor":"#00ffe1","theme":"obsidian","interfaceFontFamily":"Lucida Grande","monospaceFontFamily":"Andale Mono"} \ No newline at end of file diff --git a/.obsidian/graph.json b/.obsidian/graph.json new file mode 100644 index 0000000..ddf52b2 --- /dev/null +++ b/.obsidian/graph.json @@ -0,0 +1,22 @@ +{ + "collapse-filter": true, + "search": "", + "showTags": false, + "showAttachments": false, + "hideUnresolved": false, + "showOrphans": true, + "collapse-color-groups": true, + "colorGroups": [], + "collapse-display": true, + "showArrow": false, + "textFadeMultiplier": 0, + "nodeSizeMultiplier": 1, + "lineSizeMultiplier": 1, + "collapse-forces": true, + "centerStrength": 0.518713248970312, + "repelStrength": 10, + "linkStrength": 1, + "linkDistance": 250, + "scale": 1.0839734003253925, + "close": false +} \ No newline at end of file diff --git a/.obsidian/plugins/recent-files-obsidian/data.json b/.obsidian/plugins/recent-files-obsidian/data.json index ddbbb50..1a0e11b 100644 --- a/.obsidian/plugins/recent-files-obsidian/data.json +++ b/.obsidian/plugins/recent-files-obsidian/data.json @@ -1,12 +1,40 @@ { "recentFiles": [ + { + "basename": "Viradhya", + "path": "Viradhya.md" + }, + { + "basename": "Timeline", + "path": "10 - Atlas/Timeline.md" + }, + { + "basename": "Self-Hosting", + "path": "50 - Resources/Software Engineering/Self-Hosting.md" + }, + { + "basename": "Profile", + "path": "10 - Atlas/Profile.md" + }, + { + "basename": "Family Overview", + "path": "40 - Areas/Family/Family Overview.md" + }, + { + "basename": "Manohar", + "path": "Manohar.md" + }, { "basename": "Tia - Architecture", "path": "30 - Projects/Tia/Tia - Architecture.md" }, { - "basename": "Quota Feature", - "path": "30 - Projects/Tia/Quota Feature.md" + "basename": "Tia", + "path": "30 - Projects/Tia.md" + }, + { + "basename": "Arawali Minerals", + "path": "30 - Projects/Arawali Minerals.md" }, { "basename": "Home", @@ -17,13 +45,45 @@ "path": "10 - Atlas/MOC - AI.md" }, { - "basename": "MOC - Startup", - "path": "10 - Atlas/MOC - Startup.md" + "basename": "Drawing 2026-06-07 19.43.13.excalidraw", + "path": "Excalidraw/Drawing 2026-06-07 19.43.13.excalidraw.md" + }, + { + "basename": "Linux", + "path": "50 - Resources/Software Engineering/Linux.md" + }, + { + "basename": "Git", + "path": "50 - Resources/Software Engineering/Git.md" + }, + { + "basename": "Deployment Checklist", + "path": "50 - Resources/Software Engineering/Deployment Checklist.md" }, { "basename": "Welcome", "path": "Welcome.md" }, + { + "basename": "dark", + "path": "dark.md" + }, + { + "basename": "Decision Log", + "path": "10 - Atlas/Decision Log.md" + }, + { + "basename": "Daily Note", + "path": "_Templates/Daily Note.md" + }, + { + "basename": "Quota Feature", + "path": "30 - Projects/Tia/Quota Feature.md" + }, + { + "basename": "MOC - Startup", + "path": "10 - Atlas/MOC - Startup.md" + }, { "basename": "MOC - Software", "path": "10 - Atlas/MOC - Software.md" diff --git a/10 - Atlas/Profile.md b/10 - Atlas/Profile.md index f6b82e6..7f48e2f 100644 --- a/10 - Atlas/Profile.md +++ b/10 - Atlas/Profile.md @@ -1,65 +1,68 @@ --- type: profile status: verified -sources: [manohargupta.com, resume page, local repositories] +sources: + - manohargupta.com + - resume + - journal essays + - project repos + - founder copy updated: 2026-06-07 -tags: [identity, profile] +tags: + - identity + - profile + - people --- - # 👤 Manohar Gupta > *Engineer turned finance professional driving renewable energy — and a builder at heart.* -**Location:** Gurugram, India -**Headline:** Renewable Energy Project Finance Professional & Builder -**Web:** [manohargupta.com](https://www.manohargupta.com) · **Edu email:** pgp09manoharg@iimrohtak.ac.in +**Location:** Gurugram, India · **Web:** [manohargupta.com](https://www.manohargupta.com) +**Family:** wife **[[Family Overview|Yashika]]**, daughter **Viradhya "Tia"** (b. 5 Sept 2025 — the namesake of [[Tia]]) --- ## Professional Summary -Manager at **[[Renewables Overview|ReNew]]**, one of India's leading renewable-energy companies, specialising in **project finance for utility-scale solar (50MW–300MW)**. Brings together a technical foundation (**IIT Roorkee**, Mechanical Engineering) and financial expertise (**IIM Rohtak**, MBA, Gold Medalist) to structure deals that make clean-energy projects economically viable. Beyond finance, a prolific builder of IoT projects, web apps, and AI-integrated tools that bridge technology and sustainability. - -The throughline: **the intersection of technical knowledge and financial acumen** — making renewable-energy projects bankable while building software that scales impact. +Manager at **[[Renewables Overview|ReNew]]**, specialising in **project finance for utility-scale solar (50–300MW)**. Fuses a technical foundation (**IIT Roorkee**, Mechanical) with financial expertise (**IIM Rohtak**, MBA, 🥇 Gold Medalist) to make clean-energy projects bankable. Outside the day job, a prolific builder of finance tools, AI agents, IoT systems, and SaaS — most notably **[[Tia]]**, a baby-tracking product built for his own family. ## Personal Mission -> To make clean-energy projects economically viable and to build technical solutions that solve complex problems and scale impact. +> Make renewable-energy projects economically viable, and build technology that **supports family life rather than competing for attention** — preserving what matters, at human scale. +*(Synthesised from his site + Tia's founding ethos. Refine in your words.)* -*(Stated on manohargupta.com. Expand in your own words — see open prompts below.)* +## Values (evidenced in his own writing) +- **Discipline & determination** — *"no matter what it takes, I will not take only an MBA degree but will carry a Gold medal"* ([[Timeline|Gold Medalist essay]]) +- **Self-belief / dare to dream** — *"Believe in yourself. Dare to dream. Dreams do come to life."* (Scholarship essay) +- **Accountability** — publicly told his batch "I will win the gold medal" to create pressure to perform +- **Care, patience, trust, privacy, respect** — the [[Tia - Origin Story|Tia parenting creed]] +- **Privacy over profit, patience over speed, substance over notifications** ## Core Identity (multi-hat) -- **Finance professional** — project finance, financial modeling, due diligence -- **Renewables expert** — utility-scale solar, 8760 simulation, rooftop design -- **Technical founder / builder** — see [[Tia]] and the [[#Featured Builds]] -- **Software developer** — Next.js, Python, full-stack -- **AI builder** — agents, LLM apps, AI-integrated products -- **Investor / market operator** — see [[Investment Philosophy]] -- **Systems thinker & research-driven learner** +Finance professional · Renewables expert · Technical founder ([[Tia]]) · Software developer · AI builder · Investor · Systems thinker · Research-driven learner ## Domains of Focus [[MOC - Renewables|Renewables & Energy]] · [[MOC - Investing|Finance & Investing]] · [[MOC - AI|AI & Agents]] · [[MOC - Startup|Startup Building]] · [[MOC - Software|Software & Self-hosting]] · [[MOC - Learning|Knowledge Management]] ## Technical Expertise -- **Energy:** PVsyst, Helioscope, AutoCAD, 8760 hourly simulation, solar feasibility -- **Finance:** project-finance modeling, DCF, debt sizing, due diligence, IM preparation -- **Software:** Next.js / React / TypeScript, Python (FastAPI/Flask), PostgreSQL + Drizzle, Docker -- **AI:** LLM application development, agent frameworks, MCP, prompt engineering -- **Infra:** self-hosting, Dokploy, Cloudflare R2, Tailscale (see [[Self-Hosting]]) +- **Energy:** PVsyst, Helioscope, AutoCAD, **[[8760 Energy Simulation Model|8760 hourly simulation]]** (Python + Pandas), solar feasibility, rooftop design +- **Finance:** project-finance modeling, debt sizing, DCF, due diligence, information memorandums +- **Software:** Next.js / React / TS, Python (FastAPI/Flask), PostgreSQL + Drizzle + pgvector, Docker +- **AI:** LLM apps, agent frameworks, MCP, prompt engineering, vision pipelines +- **IoT:** ESP32 / DHT11 / MQTT (see [[IoT - ESP32 and DHT11]]) +- **Infra:** self-hosting, Dokploy, Cloudflare R2, Tailscale, Hetzner ([[Self-Hosting]]) -## Strengths -*(inferred from track record — confirm/edit)* -- Rare finance × engineering × software combination -- High shipping velocity (20+ repos; [[Tia]] alone has 400+ commits) -- Translates messy real-world problems into working systems +## Strengths (evidenced) +- **Turns "below average" into #1 through systems** — his own framing: not a born genius; engineered the Gold Medal via routine + accountability +- **Rare finance × engineering × software stack** — few can model an 8760 *and* ship the SaaS +- **Ships relentlessly** — 20+ repos; [[Tia]] alone 400+ commits +- **Builds from lived problems** — [[Tia]] (parenthood), [[Credit Analyzer]] (own finances), [[Whisper Hotkey]] (own workflow) ## Featured Builds -[[Tia]] · [[REModel]] · [[Credit Analyzer]] · [[TradeBuddy]] · [[Clawd Ecosystem]] · [[Economic Survey Visualizer]] +[[Tia]] · [[REModel]] · [[Credit Analyzer]] · [[TradeBuddy]] · [[Clawd Ecosystem]] · [[8760 Energy Simulation]] -## ✍️ Open prompts (fill these in — nothing fabricated) -- [ ] What is the *one-sentence* mission in your own words (not the website copy)? -- [ ] Top 3 **values** you make decisions by? -- [ ] Biggest **weakness / growth edge** you're actively working on? +## ✍️ Open prompts (remaining) +- [ ] Biggest **weakness / growth edge** right now? - [ ] 3–5 year **ambition** — what does success look like? -- [ ] Who are the 3 people who most shaped your thinking? +- [ ] Who shaped your thinking most? ## Related -[[Home]] · [[Timeline]] · [[Decision Log]] · [[Investment Philosophy]] +[[Home]] · [[Timeline]] · [[Decision Log]] · [[Investment Philosophy]] · [[Family Overview]] diff --git a/10 - Atlas/Timeline.md b/10 - Atlas/Timeline.md index fcaad6f..9f27b86 100644 --- a/10 - Atlas/Timeline.md +++ b/10 - Atlas/Timeline.md @@ -52,3 +52,17 @@ tags: [identity, timeline] ## Related [[Profile]] · [[Home]] · [[Decision Log]] · [[Journal]] + +--- + +## 📝 Writing & reflections (verified dates from journal) +| Date | Piece | Theme | +|---|---|---| +| **2020-02-01** | *I Dared to Dream — Winning the Scholarship* | From "way behind the backbenches" to the only campus scholarship at IIM Rohtak. *"Believe in yourself. Dare to dream."* | +| **2020-08-01** | *Story of the Making of a Gold Medalist* | *"I am no born genius."* Engineered the Gold Medal through nights in the library, a strict routine, and public accountability | +| **2025-03-11** | *Building Energy Analytics Platform* | The [[8760 Energy Simulation\|8760-hour]] platform journey (data science + IoT + web) | +| **2026-01-25** | *Getting Started with ESP32 + DHT11* | First full-stack **IoT** build (~$10); next goal: off-grid solar sensor → [[IoT - ESP32 and DHT11]] | +| **2026-02-15** | *Understanding 8760 Energy Simulation Models* | Technical explainer → [[8760 Energy Simulation Model]] | + +## 👨‍👩‍👧 Personal milestone +- **2025-09-05** — **Daughter [[Viradhya]] ("Tia") born** 🌸 → the founding event behind [[Tia]] ([[Tia - Origin Story]]). The app is named after her. diff --git a/20 - Journal/Journal.md b/20 - Journal/Journal.md index 5223495..d17aea4 100644 --- a/20 - Journal/Journal.md +++ b/20 - Journal/Journal.md @@ -3,7 +3,7 @@ type: index tags: [journal] --- # 📔 Journal -> Daily/weekly/monthly notes (via Periodic Notes) + long-form posts mirrored from [manohargupta.com/journal](https://www.manohargupta.com/journal). +> Daily/weekly/monthly notes (Periodic Notes) + long-form essays mirrored from [manohargupta.com/journal](https://www.manohargupta.com/journal). ## Recent daily notes ```dataview @@ -13,14 +13,26 @@ sort file.name desc limit 7 ``` -## Published posts (from your site) -| Date | Post | Tags | -|---|---|---| -| Feb 2026 | Understanding 8760 Energy Simulation Models | solar, learning → [[8760 Energy Simulation]] | -| Jan 2026 | Getting Started with ESP32 and DHT11 Sensors | IoT, learning | -| Mar 2025 | Building Energy Analytics Platform — My Journey | energy, solar, analytics, IoT → [[8760 Energy Simulation]] | -| Aug 2020 | Story of the Making of a Gold Medalist | IIM Rohtak → [[Timeline]] | -| Feb 2020 | I Dared to Dream — Winning the Scholarship | IIM Rohtak → [[Timeline]] | +## Published essays (full text on site) +### 2026-02-15 · Understanding 8760 Energy Simulation Models +Technical explainer: what an 8760 model is and why hourly granularity matters for solar project finance. → distilled in [[8760 Energy Simulation Model]]. *Tags: solar, learning.* + +### 2026-01-25 · Getting Started with ESP32 and DHT11 Sensors +First full-stack IoT build (~$10): ESP32 + DHT11 → MQTT → Node.js → React. Next goal: off-grid solar-powered sensor. → [[IoT - ESP32 and DHT11]]. *Tags: IoT, learning.* + +### 2025-03-11 · Building Energy Analytics Platform — My Journey +The 8760 platform journey (data science + IoT + web) for renewable-energy planning. (Full post on LinkedIn.) → [[8760 Energy Simulation]]. *Tags: energy, solar, analytics, IoT.* + +### 2020-08-01 · Story of the Making of a Gold Medalist +*"I am no born genius."* Below-average at IIT Roorkee → vowed in June 2018 to win the IIM Rohtak Gold Medal → nights in the library, strict routine, public accountability. A core values document → [[Profile#Values evidenced in his own writing]]. *Tags: MBA, motivation.* + +### 2020-02-01 · I Dared to Dream — Winning the Scholarship +From "way behind the backbenches" to winning the only campus scholarship at IIM Rohtak. *"Believe in yourself. Dare to dream. Dreams do come to life."* *Tags: MBA, motivation.* + +## ✍️ Ideas for new posts (from this vault) +- [ ] The Tia origin story (you've already written it — [[Tia - Brand & Copy]]) +- [ ] Self-hosting your own Obsidian + agent stack ([[Self-Hosting]]) +- [ ] Building [[REModel]]: turning project finance into software ## Related -[[Home]] · [[Timeline]] · [[Learning Overview]] +[[Home]] · [[Timeline]] · [[Learning Overview]] · [[Profile]] diff --git a/30 - Projects/Arawali Minerals.md b/30 - Projects/Arawali Minerals.md index 7486996..a939a63 100644 --- a/30 - Projects/Arawali Minerals.md +++ b/30 - Projects/Arawali Minerals.md @@ -1,8 +1,12 @@ --- type: project status: completed -domain: [web, business] -tags: [project] +domain: + - web + - business +tags: + - project +TQ_show_backlink: --- # ⛏️ Arawali Minerals — Corporate Website > Modern, responsive marketing site for **Arawali Group**, a premium industrial-minerals company. Dark/light mode, SEO-optimised. (12 commits, Jul 2025.) diff --git a/30 - Projects/REModel.md b/30 - Projects/REModel.md index a7472b0..5c0c804 100644 --- a/30 - Projects/REModel.md +++ b/30 - Projects/REModel.md @@ -31,3 +31,16 @@ Directly fuses Manohar's two strongest domains: [[Renewables Overview|renewables ## Lessons / related [[8760 Energy Simulation]] · [[Renewables Overview]] · [[MOC - Renewables]] · [[Finance Overview]] + +--- + +## Modeling detail (from build sessions) +- **Tech basis:** an 8760 hourly profile (e.g. **Rajasthan**), CUF prorated (e.g. 21% → 19.28%), extended to **25-year** generation (leap-year Feb 29 reuses Feb 28 profile) +- **Capex → funding waterfall:** component-wise capex, funded by a **debt + equity mix**, progressing in **phases** +- **Solar & wind** scenarios with configurable defaults +- **Land costs:** upfront **Land Lease (5-yr)** on a **per-acre** basis; acreage from DC capacity (~**2.5 × Solar DC** for fixed module, higher for tracker/wind) +- **Inputs sheet** drives the model (e.g. Solar DC MWdc capacity) → outputs capex/funding/returns tables +- UI built with an **"agentation" visual-feedback** workflow during iteration + +## Concept link +The energy core is the [[8760 Energy Simulation Model]] (see the knowledge note). diff --git a/30 - Projects/Tia.md b/30 - Projects/Tia.md index 21ee3a5..3c5e946 100644 --- a/30 - Projects/Tia.md +++ b/30 - Projects/Tia.md @@ -2,49 +2,52 @@ type: project status: active domain: [saas, ai, software, startup] -tech: [Next.js 16, PostgreSQL, pgvector, Drizzle, LiteLLM, Cloudflare R2, Resend, Tailwind v4, Dokploy] +tech: [Next.js 15/16, NextAuth v5, PostgreSQL, pgvector, Drizzle, LiteLLM, Cloudflare R2, Razorpay, Resend, Tailwind v4, Dokploy, Hetzner] commits: 406 url: https://tia.manohargupta.com +tagline: "A digital heirloom for your baby." tags: [project, startup, flagship] --- -# 👶 Tia — Family Baby-Tracking SaaS -> The flagship product. A baby/parenting tracker: **feeds, diapers, sleep, vaccinations, growth, photo memories**, an **AI assistant**, and shared **family circles** — with real **billing (₹)** and an admin observability suite. Live at [tia.manohargupta.com](https://tia.manohargupta.com). +# 👶 Tia — A Digital Heirloom for Your Baby +> The flagship product, **named after the founders' daughter Tia**. Not a tracker — a private, lifelong archive of a child's earliest years: feeds, sleep, diapers, growth, vaccinations, milestones, photo **memories**, an **"Ask Tia"** AI, and shared family **circles**. Live at [tia.manohargupta.com](https://tia.manohargupta.com). → [[Tia - Origin Story]] · [[Tia - Positioning]] ## At a glance -- **406 commits** · active flagship · production with paying tiers -- **Stack:** Next.js 16 (App Router) · PostgreSQL 16 + pgvector · Drizzle ORM · LiteLLM → MiniMax · Cloudflare R2 · Resend · Tailwind v4 · Dokploy -- **Auth:** DB sessions + httpOnly `tia_session` cookie +- **406 commits** · production with paying tiers · solo-built (with [[Family Overview|Yashika]] on brand/content) +- **Positioning:** digital heirloom · privacy-as-preservation · India-native (IAP schedule, Telegram alerts) +- **Hosting:** Hetzner via **Dokploy** ([[Self-Hosting]]) + +## Stack +Next.js 15/16 (App Router, `output: standalone`) · **NextAuth v5** (Google OAuth + invite-only magic link) · PostgreSQL + **pgvector** · Drizzle ORM · **LiteLLM → MiniMax** · Cloudflare R2 · **Razorpay** (payments) · Resend (email) · Tailwind v4. +> Auth evolved across phases (DB-session `tia_session` cookie → NextAuth v5 + DB hardening). See [[Tia - Architecture]]. ## Feature map | Surface | What it does | |---|---| -| **Quick Log / Home** | One-tap logging of feeds, diapers, sleep; AI card; baby card (at `/home`) | -| **AI chat** (`/ai`) | LiteLLM→MiniMax assistant over the child's data; sessions sidebar | -| **Medical** | Vaccination tracking | -| **Growth** | Growth charts | -| **Memories** | Photo gallery (R2-backed, via `/api/img` proxy) | -| **Circles** | Shared family circles + circle chat | -| **Settings** | Theme picker, invite members, tier | -| **Admin** | Health, Errors, Audit Log, AI Usage observability + billing/subscriptions | +| **Home / Quick Log** | One-tap feeds/diapers/sleep; baby card (photo, age in y/m/d); AI card; vaccine reminders | +| **Activity** | Unified activity log | +| **Growth** | Growth charts vs **WHO standards** for the child's age | +| **Medical** | **IAP** vaccination schedule + reminders; pediatrician contact | +| **Memories** | Photo gallery — **photo → vision model → auto metadata** pipeline (R2 + `/api/img` proxy) | +| **🌟 Milestones** | Milestone achievements table + page | +| **Ask Tia (AI)** | LiteLLM→MiniMax assistant; parenting logistics, defers medical to pediatrician; new session per chat | +| **Circles** | Multi-tenant social — share with family, parents stay in control | +| **Mama's Affiliate** | `member_profiles`, recommended products, click tracking | +| **Admin** | Health, Errors, Audit, AI Usage observability + billing/subscriptions | + +## Build history (sprints, from session logs) +- **G1 — Design System** (14 UI primitives: Button, Card, Modal, Sheet, Input, Select, EmptyState, ConfirmDialog, WashiTape, Badge, Avatar, Tabs, PageTransition…) +- **G2 — Memories Pipeline** (vision-powered metadata; "photo is mandatory, vision does the heavy lifting") +- **G5 — Age-Aware UX** (`useStageCheck`, time-of-day fast-log matrix, milestones) +- **G6 — Mama's Affiliate Page** (member_profiles, recommended_products, product_clicks) +- **Circles** (multi-tenant social — "the architectural event", split across 2 sprints) +- **Hardening H1–H2** (auth foundation/password hash; non-superuser `tia_app` role + RLS + `app.current_family_id` session context) +- **PWA shell** (installable app) · **Marketing homepage + /about Letter** ## Business model -- Tiers: **free** vs **pro** (`families.tier`); free guardrails = 1 GiB storage / 2 members per family -- Billing in **₹**: subscriptions, dunning, churn alerts, webhook health; premium storage cap 50 GB -- Payment abstraction = `isPaidFamily(tier)` ([[Decision Log#TD-002]]) +Free (1 baby, 1 GiB, 2 members) → **Pro** (2nd baby, more storage, 50 GB premium cap). Billing in **₹** via Razorpay; subscriptions, dunning, churn alerts, webhook health. `families.tier` + `isPaidFamily()` ([[Decision Log#TD-002]]). ## Knowledge base -- 📖 [[Tia - Origin Story]] — why it exists -- 🎯 [[Tia - Positioning]] — vision, messaging, who it's for -- 🏗️ [[Tia - Architecture]] — the technical system -- ⚖️ [[Tia - Decisions]] — key engineering/product calls -- 🗺️ [[Tia - Roadmap]] — shipped + next -- ❓ [[Tia - Open Questions]] — what's undecided - -## Progress history (from commits) -- **early** — initial setup, Dockerfile, Node 22 / pnpm 11 -- **May 2026** — core build, route-group split, quota/member limits, SEO overhaul, AI chat fixes -- **late May** — migration journal fix, admin observability suite (health/errors/audit/AI) -- **Jun 2026** — full billing: subscriptions, real ₹ revenue, dunning, churn, storage caps +[[Tia - Origin Story]] · [[Tia - Positioning]] · [[Tia - Brand & Copy]] · [[Tia - Architecture]] · [[Tia - Decisions]] · [[Tia - Roadmap]] · [[Tia - Open Questions]] · [[Quota Feature]] ## Related [[MOC - Startup]] · [[Family Overview]] · [[Decision Log]] · [[Self-Hosting]] · [[Profile]] diff --git a/30 - Projects/Tia/Tia - Architecture.md b/30 - Projects/Tia/Tia - Architecture.md index 388a976..ed33a6c 100644 --- a/30 - Projects/Tia/Tia - Architecture.md +++ b/30 - Projects/Tia/Tia - Architecture.md @@ -36,3 +36,22 @@ Next.js 16 (App Router, Turbopack) · PostgreSQL 16 + **pgvector** (pgvector/pgv ## Related [[Tia]] · [[Tia - Decisions]] · [[Self-Hosting]] · [[Engineering Overview]] + +--- + +## Auth evolution (important nuance) +Two phases appear across the history: +1. **DB sessions** — bcrypt + `sessions` table + httpOnly `tia_session` cookie; `requireFamily()` +2. **NextAuth v5** — Google OAuth (public) + magic link (invite-only); used by the marketing-era build +Hardening sprint **H1** explicitly "replaced broken password hash." Treat auth as **migrating/hardened** — confirm the current source of truth. + +## DB hardening (sprint H2) +- Non-superuser role **`tia_app`** (LOGIN, only SELECT/INSERT/UPDATE/DELETE — no DROP/CREATE/ALTER ROLE) +- Separate `DATABASE_URL_SUPERUSER` for migrations only +- Per-request **session context** `app.current_family_id` set in a transaction (`src/db/scoped.ts`) → foundation for **Row-Level Security (RLS)** + +## Memories vision pipeline (sprint G2) +Photo is mandatory; a **vision model does the metadata heavy-lifting**: photo → vision caption/tags → `memories.vision_embedding vector(1536)` (pgvector, ivfflat index `memories_embedding_idx`). Requires the `pgvector/pgvector:pg18` image ([[Deployment Checklist]]). + +## Hosting +**Hetzner** server via **Dokploy**; `output: 'standalone'`; PWA shell installable. diff --git a/30 - Projects/Tia/Tia - Brand & Copy.md b/30 - Projects/Tia/Tia - Brand & Copy.md new file mode 100644 index 0000000..1fa69fb --- /dev/null +++ b/30 - Projects/Tia/Tia - Brand & Copy.md @@ -0,0 +1,31 @@ +--- +type: project-doc +parent: "[[Tia]]" +status: verified +note: "The writing IS the product — keep verbatim. Source: founder-authored About page." +tags: [tia, brand, copy, writing] +--- +# ✍️ Tia — Brand & Copy Vault +> Founder-written, keep **verbatim**. This is the emotional core of the product. + +## A Letter to Every New Parent (excerpt — verbatim) +> When we held our daughter for the first time, we felt a rush of love we never knew we were capable of—and alongside it, a fear we hadn't expected. Everything felt fragile. Everything felt new. +> +> In those early days, we wanted to capture every yawn, every gurgle, every tiny hand curling around our fingers. But the apps we tried felt cold and clinical, as though they had been built by people who had never stayed awake at 3 a.m. wondering whether their baby's cough sounded different from yesterday. +> +> When our daughter, Tia, was born, we made a silent promise: we would remember everything. We meant it completely. And within weeks, details were already slipping away—not the big milestones, but the small things. The exact weight on day five. The way she stretched when she woke up. The moment she first looked at us as though she knew who we were. +> +> We built Tia with the belief that **the earliest years of a child's life deserve extraordinary care.** Every decision we make, every feature we release, and every promise we keep comes from the same understanding: **small things matter.** Because one day, those small things become the memories we treasure most. + +**Signature:** *Built by parents. Inspired by our daughter. Made for families. — Yashika & Manohar* + +## A Note on Modern Families (theme) +Raising a child in a **nuclear family**; grandparents & loved ones want to stay connected → Tia makes sharing precious moments easy **while keeping parents in control**. + +## Reusable lines +- "TIA isn't here to track your child. It's here to help you remember them." +- "Your family's memories belong to your family—not advertisers, algorithms, or engagement loops." +- "Technology should support family life, not compete for attention." + +## Related +[[Tia - Origin Story]] · [[Tia - Positioning]] · [[Tia]] diff --git a/30 - Projects/Tia/Tia - Origin Story.md b/30 - Projects/Tia/Tia - Origin Story.md index 9b52fab..020cc24 100644 --- a/30 - Projects/Tia/Tia - Origin Story.md +++ b/30 - Projects/Tia/Tia - Origin Story.md @@ -1,25 +1,31 @@ --- type: project-doc parent: "[[Tia]]" -status: inferred +status: verified +source: "founder-written marketing copy (Tia About + homepage)" tags: [tia, startup, origin] --- # 📖 Tia — Origin Story -> *Reconstructed inference — confirm/rewrite. Nothing here is asserted as fact.* +> **Verified — in the founders' own words.** The app is named after **Manohar & [[Family Overview|Yashika]]'s daughter — Viradhya, called "Tia"** (born **5 Sept 2025**). It exists to preserve a child's earliest memories. *"Built by parents. Inspired by our daughter. Made for families."* -## The likely origin (inferred) -Tia is a **baby-tracking app** built by someone who ships fast and solves his own problems ([[Credit Analyzer]] for his finances, [[Whisper Hotkey]] for his workflow). The most parsimonious explanation: **Manohar became a parent**, found existing trackers lacking, and built the tool he wanted — then generalised it into a SaaS with family circles and billing. +## Why TIA Exists (verbatim) +> TIA began with a promise. +> When our daughter, Tia, was born, we wanted to remember everything—the tiny stretches, the sleepy smiles, the moments that felt too precious to forget. But we quickly discovered how easily those details fade, even when you're trying your best to hold on to them. +> We built TIA to help families preserve those memories. +> +> Named after our daughter, Tia, the app reflects the values that guide us as parents: **care, patience, trust, privacy, and respect.** We believe your family's memories belong to your family—not advertisers, algorithms, or engagement loops. We believe technology should support family life, not compete for attention. +> TIA isn't here to track your child. It's here to help you remember them. +> As parents raising a child in a nuclear family, we also understood how much grandparents and loved ones want to stay connected. That's why TIA makes it easy to share precious moments with family while keeping parents in control. +> +> One day, when your child asks, "What was I like when I was little?", we hope TIA helps you answer with photos, stories, milestones, and moments preserved with love. -Evidence pointing this way: -- Deep, opinionated feature set (feeds/diapers/sleep/vaccinations/growth/memories) — the lived problem of a new parent -- **Family circles** — built for *his* family to share, then opened up -- The name **"Tia"** — likely personal/meaningful (a child's name? a term of endearment?) +## Why We Named the App Tia (verbatim excerpt) +> We named this app after our daughter, Tia. Not because we wanted a monument to her... because the love we have for our daughter is the same care we bring to building this app every single day. When we choose **privacy over profit, patience over speed, and thoughtful design over endless notifications**, we are building Tia the way we hope to raise our daughter—with care, responsibility, and respect. -## ✍️ Confirm the real story -- [ ] Did becoming a parent trigger Tia? When? -- [ ] What does **"Tia"** mean / who is it named after? -- [ ] What existing app frustrated you enough to build your own? -- [ ] First "this has to exist" moment? +## The seed moment (from "A Letter to Every New Parent") +> ...within weeks, details were already slipping away—not the big milestones, but the small things. The exact weight on day five. The way she stretched when she woke up... Those tiny details felt irreplaceable, and yet they were already beginning to fade. **That realization became the seed for everything Tia is today.** + +> The full long-form letter lives in [[Tia - Brand & Copy]] (the writing *is* the product — keep verbatim). ## Related -[[Tia]] · [[Tia - Positioning]] · [[Family Overview]] +[[Tia]] · [[Tia - Positioning]] · [[Tia - Brand & Copy]] · [[Family Overview]] diff --git a/30 - Projects/Tia/Tia - Positioning.md b/30 - Projects/Tia/Tia - Positioning.md index c1ce27d..796f53b 100644 --- a/30 - Projects/Tia/Tia - Positioning.md +++ b/30 - Projects/Tia/Tia - Positioning.md @@ -1,28 +1,44 @@ --- type: project-doc parent: "[[Tia]]" -status: mixed -tags: [tia, positioning, marketing] +status: verified +tags: [tia, positioning, marketing, strategy] --- -# 🎯 Tia — Positioning, Vision & Messaging -> Verified surface facts + prompts for the strategy you hold in your head. +# 🎯 Tia — Positioning & Strategy +> **Verified** from the founder's homepage brief and brand copy. -## What it is (verified) -A **family baby-tracking SaaS**: log the essentials, track growth & vaccinations, keep photo memories, ask an **AI assistant**, and share with family via **circles**. Marketing site at `/`, app at `/home`. Indian market signals: ₹ pricing, `en-IN` lang. +## The core positioning +> **Tia is a digital heirloom — not a generic tracker.** -## Positioning canvas (fill in) -- **For** … *(new parents in India? globally?)* -- **Who** … *(struggling with scattered tracking / want AI help / want to share with family)* -- **Tia is a** … baby & parenting companion -- **That** … unifies logging + memories + AI insight + family sharing -- **Unlike** … *(Huckleberry / BabyTracker / paper)* → see [[Competitive Landscape]] -- **Tia** … *(your wedge — AI? family circles? privacy/self-hosted ethos?)* +- **Emotional spine:** the lifelong **archive a child inherits** +- **Rational backbone:** **privacy as preservation** — *"we don't sell your data — we preserve it"* +- **Market wedge:** **India-native** — **IAP (Indian Academy of Pediatrics) vaccination schedule** + **Telegram alerts** +- **Lead with** the heirloom promise, **not** "track sleep" -## ✍️ Prompts -- [ ] One-line pitch? -- [ ] Primary persona & geography? -- [ ] The wedge vs. Huckleberry & co. ([[Competitive Landscape]]) -- [ ] Free → Pro conversion thesis? +## Taglines & hero copy (verbatim) +- "Your baby's story, **preserved for a lifetime**." +- "Tia is a **digital heirloom** — not just a tracker. Every feed, every first word, every vaccination, archived in one private place your child will one day look back on." +- Footer: "A digital heirloom for your baby. Every moment, preserved — privately." +- CTA: "Get started — it's free" · "Free during early access. No credit card." + +## Values (the brand creed) +**Care · Patience · Trust · Privacy · Respect.** Privacy over profit; patience over speed; thoughtful design over endless notifications. + +## Product principles (hard rules) +- **"Ask Tia" AI** = parenting *logistics* + **honest limits**. It **defers all symptom/medical questions to a pediatrician** — that restraint is a **trust feature**. Never implies diagnosis. No pricing/"free" label attached to AI. +- Say **"IAP schedule"**, never "WHO" (in marketing). *(Growth charts separately reference WHO standards.)* Never imply IAP endorses Tia. +- Homepage `/` always renders the static marketing story (the story/vision is part of the product). + +## Marketing site structure (shipped) +Hero (heirloom promise) → The problem (the 3am reality) → What Tia does (feature cards w/ concrete examples) → Founder story → The heirloom vision → Privacy & trust → Honest early-access proof → Final CTA. Plus **/about** (the long-form "Letter", "Keepsake" design) and **/blog**. + +## Design language — "Keepsake" +Warm cream paper (`#f7f1e6`), marigold accent (`#c98a2b`), dusty-rose emphasis (`#b8503e`); fonts **Newsreader** + **Fraunces**; favicon 🌸. Authorship withheld until the end of the letter — payoff is "— Yashika & Manohar" + the baby's portrait in the P.S. + +## ✍️ Still open +- [ ] Primary persona beyond "Indian new parents"? +- [ ] Free → Pro conversion thesis (1 baby free; 2nd baby = Pro) +- [ ] Defensible moat vs Huckleberry/BabyTracker → [[Competitive Landscape]] ## Related -[[Tia]] · [[Vision]] · [[Competitive Landscape]] · [[MOC - Startup]] +[[Tia]] · [[Tia - Origin Story]] · [[Tia - Brand & Copy]] · [[Vision]] · [[Competitive Landscape]] diff --git a/30 - Projects/Tia/Tia - Roadmap.md b/30 - Projects/Tia/Tia - Roadmap.md index a947949..542f7ed 100644 --- a/30 - Projects/Tia/Tia - Roadmap.md +++ b/30 - Projects/Tia/Tia - Roadmap.md @@ -5,25 +5,34 @@ status: mixed tags: [tia, roadmap] --- # 🗺️ Tia — Roadmap -> Shipped = verified from commits. Next = prompts. +> Shipped = verified from commits/sprints. Next = prompts. -## ✅ Shipped -- Core logging (feeds/diapers/sleep), growth charts, vaccinations, photo memories -- AI chat assistant (LiteLLM→MiniMax) · family circles + chat -- Marketing site + SEO overhaul (JSON-LD, sitemap, OG images) -- Quota & member limits · full billing (subscriptions, dunning, churn, ₹ revenue, 50 GB cap) -- Admin observability (health, errors, audit, AI usage) +## ✅ Shipped (by sprint) +- **Core logging** — feeds, diapers, sleep, activity +- **G1 Design System** — 14 UI primitives, page transitions +- **G2 Memories** — photo upload → vision metadata pipeline (R2) +- **Growth** — charts vs WHO standards · **Medical** — IAP vaccination schedule + reminders +- **G5 Age-Aware UX** — stage detection, milestones page +- **G6 Mama's Affiliate** — member profiles, recommended products, click tracking +- **Circles** — multi-tenant family sharing + circle chat +- **Ask Tia AI** — LiteLLM→MiniMax, per-chat sessions, medical-deferral guardrail +- **Hardening** — auth foundation, non-superuser DB role + RLS + session context +- **PWA shell** · **Marketing site** (homepage + /about Letter, "Keepsake" design) +- **Billing** — Razorpay-ready, ₹ subscriptions, dunning, churn, 50 GB cap +- **Admin observability** — health, errors, audit, AI usage ## 🔜 Likely next (confirm) - [ ] Merge `feature/quota-and-member-limits` to main ([[Quota Feature]]) +- [ ] Wire Razorpay live (provider was "TBD" — confirm if integrated) - [ ] Fix CSP so Plausible analytics works (flagged, not fixed) - [ ] Delete dead `/api/admin/analytics` route -- [ ] Public beta launch readiness +- [ ] Telegram vaccination alerts (the India wedge) — confirm live +- [ ] Public beta / early-access launch ## ✍️ Prompts - [ ] Next 3 features by priority? -- [ ] Launch date / beta cohort? -- [ ] Mobile app (native) on the roadmap? +- [ ] Beta cohort & launch date? +- [ ] Native mobile beyond PWA? ## Related [[Tia]] · [[Tia - Open Questions]] · [[Tia - Decisions]] diff --git a/40 - Areas/Family/Family Overview.md b/40 - Areas/Family/Family Overview.md index 6f2901d..903abcd 100644 --- a/40 - Areas/Family/Family Overview.md +++ b/40 - Areas/Family/Family Overview.md @@ -1,21 +1,27 @@ --- type: area -status: stub +status: mixed tags: [area, family, personal] updated: 2026-06-07 --- # 👨‍👩‍👧 Family — Area Overview -> Private area. Nothing here is fabricated — fill in what you want to keep. +> Confirmed by [[Manohar]] (2026-06-07). -> [!note] Context from your work -> You built **[[Tia]]**, a baby-tracking app (feeds, sleep, diapers, vaccinations, growth, memories). That strongly suggests parenthood is a lived, current part of your life — and likely the **origin story** of Tia. See [[Tia - Origin Story]]. +## The family (confirmed) +- **Daughter — Viradhya**, lovingly called **Tia** (her pet name, and the namesake of the app [[Tia]]). **Born 5 September 2025** 🌸 — the founding event behind the product. +- **Wife — Yashika**, Tia's mother and co-parent; co-creator of [[Tia]]'s brand & writing ("Built by parents… — **Yashika & Manohar**"). +- **Family structure:** a **nuclear family**; actively keeps **grandparents & extended family** connected (a core Tia use case). +- **Parenting values (stated):** care, patience, trust, privacy, respect → see [[Tia - Origin Story]]. -## ✍️ Prompts (answer only what you want recorded) -- [ ] Family members & relationships -- [ ] Children — ages (ties directly to Tia's product decisions) -- [ ] Family values / traditions you want to pass on +## This shaped a product +Becoming parents → the fear that precious early details fade → **[[Tia]]**. The clearest example of building from lived experience. ([[Tia - Brand & Copy]]) + +## ✍️ Prompts (fill what you want recorded) +- [ ] ~~Tia's birthday~~ → **5 Sept 2025** +- [ ] Yashika's role → **wife & Tia's mother**, co-creator of the brand +- [ ] Family traditions / values to pass on - [ ] Parenting principles → could become [[60 - Knowledge]] notes -- [ ] Important dates +- [ ] Yashika's interests / work (her own [[Profile]]-style note?) ## Related -[[Tia - Origin Story]] · [[Health Overview]] · [[Profile]] +[[Tia - Origin Story]] · [[Tia - Brand & Copy]] · [[Profile]] · [[Health Overview]] diff --git a/60 - Knowledge/8760 Energy Simulation Model.md b/60 - Knowledge/8760 Energy Simulation Model.md new file mode 100644 index 0000000..8a9cdb5 --- /dev/null +++ b/60 - Knowledge/8760 Energy Simulation Model.md @@ -0,0 +1,33 @@ +--- +type: permanent +status: verified +source: "manohargupta.com/journal/8760-energy-simulation (2026-02-15)" +tags: [knowledge, solar, finance, modeling] +--- +# 🌞 The 8760 Energy Simulation Model +> An atomic concept note, distilled from Manohar's own explainer. + +## What "8760" means +**8,760 = hours in a year** (365 × 24). An 8760 model builds an **hourly profile of expected solar generation for every hour of the year** — not daily/monthly averages. + +## Why hourly granularity matters (for project finance) +- **Solar variability** — peaks at noon, zero at night +- **Grid constraints** — hourly profiles reveal **clipping & curtailment** risk +- **Revenue forecasting** — **time-of-day pricing** changes economics +- **Degradation** — performance shifts hour-by-hour across the asset's life + +## Key inputs +- Irradiance: **GHI, DNI, DHI** · temperature +- System specs: module type, **tilt, azimuth** +- Loss factors: soiling, shading, inverter efficiency + +## The method (Manohar's approach) +**Python + Pandas** for flexible custom analysis, **validated against PVsyst** for industry credibility. + +> **Key takeaway:** *Never rely on simple capacity-factor estimates for serious project-finance work.* The hourly shape is where the risk (and the money) lives. + +## Used in +[[REModel]] · [[8760 Energy Simulation]] · the [[Renewables Overview|ReNew]] day job + +## Related +[[Renewables Overview]] · [[Finance Overview]] · [[MOC - Renewables]] diff --git a/60 - Knowledge/IoT - ESP32 and DHT11.md b/60 - Knowledge/IoT - ESP32 and DHT11.md new file mode 100644 index 0000000..6c0d286 --- /dev/null +++ b/60 - Knowledge/IoT - ESP32 and DHT11.md @@ -0,0 +1,27 @@ +--- +type: permanent +status: verified +source: "manohargupta.com/journal/esp32-dht11-iot (2026-01-25)" +tags: [knowledge, iot, hardware] +--- +# 🌡️ IoT: ESP32 + DHT11 Monitoring +> First full-stack IoT build — a home-office temperature/humidity monitor (~$10). + +## Hardware +- **ESP32** — microcontroller with WiFi + Bluetooth +- **DHT11** — affordable temp/humidity sensor +- Breadboard + jumper wires + +## Architecture +`ESP32 (Arduino sketch, reads every 10s)` → **MQTT** → **Node.js backend** (store) → **React frontend** (subscribes to MQTT topic, real-time display). + +## Lessons (his words) +- Microcontrollers are more accessible than expected +- **MQTT is elegant** for IoT comms +- Satisfying to see physical sensors drive web software + +## Next +Off-grid: a solar panel to power a fully sun-powered sensor setup → ties to [[Renewables Overview|solar]] interest. + +## Related +[[Engineering Overview]] · [[MOC - Software]] · [[Renewables Overview]] diff --git a/60 - Knowledge/Missing Knowledge.md b/60 - Knowledge/Missing Knowledge.md index 954c5d7..18f4793 100644 --- a/60 - Knowledge/Missing Knowledge.md +++ b/60 - Knowledge/Missing Knowledge.md @@ -4,29 +4,33 @@ tags: [meta, gaps] updated: 2026-06-07 --- # 🕳️ Missing Knowledge & Open Loops -> Auto-detected gaps from the reconstruction. Knock these out and the vault becomes truly complete. +> Gaps after the deep reconstruction (site + repos + 950+ chat messages + blogs). -## Personal (only you can fill) -- [ ] [[Profile]] — values, weaknesses, ambitions, mission in your words -- [ ] [[Timeline]] — birth year, when coding started, personal milestones +## ✅ Resolved this pass +- ~~Tia origin / what "Tia" means~~ → **named after his daughter Tia** ([[Tia - Origin Story]]) +- ~~Family~~ → partner **Yashika**, daughter **Tia**, nuclear family ([[Family Overview]]) +- ~~Values~~ → extracted from the Gold Medalist & Scholarship essays + Tia creed ([[Profile]]) +- ~~Tia positioning~~ → "digital heirloom", privacy-as-preservation, IAP wedge ([[Tia - Positioning]]) + +## Still only you can fill +- [x] ~~Tia's birthday~~ → **5 Sept 2025** (daughter **Viradhya**, pet name "Tia") +- [x] ~~Yashika's role~~ → **wife & Tia's mother**, brand co-creator +- [ ] [[Profile]] — biggest weakness / growth edge; 3–5yr ambition - [ ] [[Investment Philosophy]] — your actual principles -- [ ] [[Family Overview]] · [[Health Overview]] — whatever you want recorded +- [ ] [[Health Overview]] — goals/routines -## Project unknowns (quick confirms) -- [ ] [[Tia - Origin Story]] — the real founding story + what "Tia" means -- [ ] [[Clawd Ecosystem]] — which repo is canonical; built on Claude SDK? +## Quick project confirms +- [ ] **Razorpay** live in [[Tia]] yet? Telegram alerts shipped? +- [ ] [[Clawd Ecosystem]] — built on Claude SDK? which repo is canonical? - [ ] [[TradeBuddy]] vs [[Position Tracker]] — one product or two? - [ ] [[Awadh Gully]] / [[Arawali Minerals]] — venture, family business, or client? -- [ ] [[REModel]] vs [[8760 Energy Simulation]] — same lineage? +- [ ] [[REModel]] — product, internal tool, or portfolio piece? ## Knowledge to write up (you have the expertise) -- [ ] 8760 modeling explainer ([[8760 Energy Simulation]]) -- [ ] Project-finance debt-sizing primer ([[Finance Overview]]) +- [ ] Project-finance debt-sizing / DSCR primer ([[Finance Overview]]) - [ ] Agent memory patterns ([[Agent Architectures]]) - [ ] Energy-transition investment thesis ([[Investment Philosophy]]) - -## Empty-by-design (fill as you work) -- `00 - Inbox` · `20 - Journal/Daily` · `70 - Archive` +- [ ] Parenting principles ([[Family Overview]]) ## Related -[[Home]] · [[Decision Log]] +[[Home]] · [[Decision Log]] · [[Profile]] diff --git a/Excalidraw/Drawing 2026-06-07 19.43.13.excalidraw.md b/Excalidraw/Drawing 2026-06-07 19.43.13.excalidraw.md new file mode 100644 index 0000000..17f8c7f --- /dev/null +++ b/Excalidraw/Drawing 2026-06-07 19.43.13.excalidraw.md @@ -0,0 +1,14 @@ +--- + +excalidraw-plugin: parsed +tags: [excalidraw] + +--- +==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠== You can decompress Drawing data with the command palette: 'Decompress current Excalidraw file'. For more info check in plugin settings under 'Saving' + + +## Drawing +```compressed-json +N4IgLgngDgpiBcIYA8DGBDANgSwCYCd0B3EAGhADcZ8BnbAewDsEAmcm+gV31TkQAswYKDXgB6MQHNsYfpwBGAOlT0AtmIBeNCtlQbs6RmPry6uA4wC0KDDgLFLUTJ2lH8MTDHQ0YNMWHRJFkUWAGZFAEYABjIkT1UYRjAaBABtAF1ydCgoAGUAsD5QSXw8XOwNPkZOTExyHRgiACF0VABrEq5GXABhekx6fAQQAGIAMwnJkABfaaA== +``` +%% \ No newline at end of file diff --git a/Manohar.md b/Manohar.md new file mode 100644 index 0000000..e69de29 diff --git a/Viradhya.md b/Viradhya.md new file mode 100644 index 0000000..e69de29 diff --git a/dark.md b/dark.md new file mode 100644 index 0000000..e69de29