saṃgraha (संग्रह) — Sanskrit for compendium, a curated gathering of knowledge and practice.
A collection of personal single-file web apps — project management, metabolic tracking, Vedic sādhana, Yoga study, a reading library, I Ching divination, and health recipes — each designed to live on an iPhone home screen.
This repository contains a suite of personal knowledge and practice tools. Each app is a single self-contained HTML file: no server, no build step, no dependencies to install. Open any file directly in a browser, or — on iOS — use Safari’s Add to Home Screen to install it as a standalone app with its own icon, title, and full-screen launch. All apps work fully offline.
The seven apps cover: a full-featured project and milestone tracker (Project Dashboard), a metabolic health protocol system driven by blood lab data (Agni), a Vedic astrology daily spiritual practice (Jyotish Sādhana), a Yoga Sūtra learning course (Yoga Sudhakara), a personal reading library with thematic browsing and stats (Marginalia), a classical I Ching divination oracle (I Ching Oracle), and a health-protocol recipe reference with daily checklist (Recipes). The books app is backed by a CSV database that can be updated via a small Python script.
File: project_dashboard.html
A full-featured personal project and milestone tracker. All data — projects, milestones, tasks, settings — is stored in localStorage and fully exportable/importable as a single JSON file, enabling exact state round-trips across devices or sessions.
Key sections:
localStorage.project-dashboard-YYYYMMDDHHMMSS.json) covering all project data, ordering, sidebar width/collapse state, and column configuration. Import recreates the exact exported state.Data model:
DB = {
projects: [
{
id, name, status, tags[],
milestones: [
{
id, name, status, due, owner, progress, notes,
artefacts: [{label, url}],
tasks: [{id, name, due, owner, status, progress, notes}]
}
]
}
]
}
Drag-and-drop reordering: All three levels — projects in the sidebar, milestones within a project, and tasks within a milestone — support mouse and touch drag-and-drop. Order is saved immediately on every drop.
How to use: Open project_dashboard.html in any browser. Use the + Project button to add a project, then add milestones and tasks within each project. Export regularly to back up state.
File: agni.html
A lab-directed metabolic protocol system built on the principle: each lab result activates a protocol. Agni tracks blood panel results from Function Health / Quest Diagnostics, maps failing biomarker gates to the appropriate intervention protocol, and provides the full daily plan for that protocol.
Key sections:
The December 3, 2025 Function Health panel (Quest Diagnostics, fasting, 40+ markers) is the current active entry. Follow-up panel planned for March–April 2026.
How to use: Open agni.html in any browser. On iPhone: Safari → Share → Add to Home Screen → launches as Agni.
File: jyotish_sadhana.html
A Jyotish (Vedic astrology) daily spiritual practice companion. The app is organized around the principle of witness-awareness (sākṣi) as the primary driver of efficacy, with all rituals — mantra, prāṇāyāma, deity worship — understood as vehicles for recognizing the witness rather than ends in themselves.
Key sections (six screens via bottom navigation):
Sanskrit verses with full word-by-word breakdowns:
How to use: Open jyotish_sadhana.html in any browser. On iPhone: Safari → Share → Add to Home Screen → launches as Jyotish Sādhana with a deep amber ॐ icon.
File: yoga_sudhakara.html
A structured learning app for Patañjali’s Yoga Sūtras (196 sūtras, 4 chapters) following the Yoga Sudhākara commentary by Sadasiva Brahmendra (17th-century Advaita saint), as taught by Swami Paramahamsananda Sarasvatī in the living oral tradition of Parampara Rishividya. The Advaita reading treats Kaivalya as non-different from Brahman-realization rather than the dualistic Puruṣa-isolation of classical Sāṃkhya-Yoga.
Key sections (four nav items + chapter screens):
Each sūtra entry has Sanskrit, IAST transliteration, word-by-word table, English translation, and Yoga Sudhākara commentary note.
How to use: Open yoga_sudhakara.html in any browser. On iPhone: Safari → Share → Add to Home Screen → launches as Yoga Sudhakara.
File: books/marginalia.html
A personal reading library browser (~108 books). Book data is embedded as JSON directly in the HTML and rendered entirely client-side. Named for the notes written in the margins of books — reflecting the app’s emphasis on personal impact, notes, and re-read intentions rather than mere cataloguing.
Key sections (two screens via bottom navigation):
CSV structure (books/books_db.csv):
| Column | Notes |
|---|---|
| Title | Book title |
| Author | Author name(s) |
| Audiobook | Y / N |
| Completion Date | Free text (e.g., “January, 2020”, “Graduate School”) |
| Re-read? | Y / N |
| Genre | Free text (e.g., “Psychology / Behavior”) |
| Fiction/Nonfiction | Fiction / Nonfiction |
| Impact (1–5) | Numeric rating |
| Would Recommend | Y / N |
| Notes | Personal notes (free text) |
| Themes | Semicolon-delimited (e.g., Human Cognition & Bias; Learning & Productivity) |
How to use: Open books/marginalia.html in any browser. On iPhone: Safari → Share → Add to Home Screen → launches as Marginalia with a deep blue gradient icon.
The books/ directory contains three files that work together:
| File | Role |
|---|---|
books_db.csv |
Source of truth — edit this to add, update, or remove books |
update_books_navigator_from_csv.py |
Python script that reads the CSV and injects JSON into the HTML |
marginalia.html |
The app — reads the embedded JSON at runtime, no server needed |
Workflow:
books_db.csv in any spreadsheet app or text editor. Add a new row per book and use semicolons for multiple themes.books/ directory:
python update_books_navigator_from_csv.py books_db.csv marginalia.html
marginalia.html — the new data is live immediately.Dependencies: Python 3, pandas (pip install pandas).
Custom paths: The script accepts optional command-line overrides for both the CSV and HTML paths:
python update_books_navigator_from_csv.py path/to/books.csv path/to/target.html
File: iching_oracle.html
A polished mobile-first app for consulting the classical Chinese divination text using the traditional three-coin method. All 64 hexagrams and their full textual content are embedded — no internet connection required for casting or reading.
Key sections (four screens via bottom navigation):
Key features:
How to use: Open iching_oracle.html in any browser. On iPhone: Safari → Share → Add to Home Screen → launches as I Ching Oracle.
File: recipes.html
A personal health-protocol recipe reference and daily compliance app for seven functional preparations — powders, smoothie cubes, a medicinal brew, and a chai masala — each targeting specific biomarkers (LDL-C, ApoB, nitric oxide, AMPK/autophagy). Inspired by Dr. Michael Greger’s work and Ayurvedic traditions.
The 7 recipes:
| Name | Lane | Target |
|---|---|---|
| Portfolio+ Powder | Sprinkle | LDL-C / ApoB / LDL-P backbone |
| BALT Powder | Swallow | Black Cumin · Amla · Long Pepper · Turmeric |
| SEP Smoothie Cubes v1.5 | Meal | β-glucan · Resistant starch · Protein · Bile acid binding |
| Nitric Oxide Core Powder | Vascular/Mitochondrial | Endothelial & mitochondrial efficiency |
| Adaptabrew™ v2.2 | Brew | Calm Focus Edition · 100–200 cups per batch |
| UrbanYogi Chai Masala v2.1 | Brew/Seasonal | Ayurvedic · Winter & Summer modes |
| Polyphenol Pulse v1.1 | Hormetic | AMPK · Autophagy · 2× per week only |
Key sections (three screens via bottom navigation):
Each recipe detail screen includes a hero block, color-coded stats bar (batch size, daily dose, prep time, difficulty), ingredients with quantities, numbered step-by-step instructions, and troubleshooting notes.
How to use: Open recipes.html in any browser. On iPhone: Safari → Share → Add to Home Screen → launches as Recipes with a dark green leaf icon.
Most apps are configured for iOS “Add to Home Screen” via Safari. Each HTML file includes:
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="[App Name]">
<link rel="apple-touch-icon" sizes="180x180" href="data:image/svg+xml,...">
The apple-touch-icon is inlined as an SVG data URI — no separate image file needed. Once added to the home screen, each app launches full-screen with no browser chrome.
To install on iPhone: Open the file in Safari → tap Share → tap Add to Home Screen → confirm name → tap Add.
| App | Icon | Home Screen Name |
|---|---|---|
| Project Dashboard | No icon defined (uses Safari default) | Project Dashboard |
| Agni | Dark amber with Agni flame motif | Agni |
| Jyotish Sādhana | Deep amber radial gradient with white ॐ | Jyotish Sādhana |
| Yoga Sudhakara | Deep teal with white ॐ | Yoga Sudhakara |
| Marginalia | Navy-to-steel-blue gradient with ✏️ | Marginalia |
| Recipes | Dark green radial gradient with 🍃 | Recipes |
| I Ching Oracle | No icon defined (uses Safari default) | I Ching Oracle |
<style> blocks, all logic is inline <script> blocks.file:// in any desktop browser. On iOS Safari, serve from iCloud Drive or a minimal local server (python -m http.server) when installing to the home screen.<script type="application/json"> block for book data; the other apps embed data directly in JavaScript constants. Everything stays in one file while keeping data clearly separated from logic.black-translucent for edge-to-edge appearance on iPhone.width=device-width, initial-scale=1, viewport-fit=cover with env(safe-area-inset-*) padding for notch / Dynamic Island compatibility.