README file from
GithubMomentum Life — Obsidian plugin
All-in-one life dashboard for Obsidian: Habits, Tasks, Fitness, Nutrition and Studies rendered directly from your vault's Markdown files. Everything is stored as plain Markdown under a single folder, so your data stays yours.
Why Momentum Life
- Reads/writes files locally via the Vault API — no GitHub token, no CORS workarounds.
- Frontmatter parsing handled by Obsidian's metadata cache.
- Cross-device sync handled by Obsidian Sync / iCloud / git.
- Renders with Obsidian's DOM API and theme variables (no remote code, no CDN).
- One optional network call: the Nutrition food search (see Network use & privacy).
Modules
| Module | What it does |
|---|---|
| 🎯 Habit Tracker | Overview dashboard: KPIs, progress rings, donut charts, habit heatmaps, study progress |
| ✅ Tasks & Lists | Kanban (drag & drop, boards, priorities, columns) + list view |
| 🏋️ Fitness | Workout plans, active workout w/ timer, calendar, weight progress, logging |
| 🥗 Nutrition | Fixed meal plans, food logging, calorie calendar & trends, water, Open Food Facts search |
| 📚 Studies | Kanban by topic (drag & drop, subtopics, URLs) + list view |
All visualizations use inline SVG (no external libraries / CDN).
Install (dev)
npm installnpm run dev(watch) ornpm run build(production, one-off).- Copy/symlink this folder into your vault at
.obsidian/plugins/momentum-life/(must containmanifest.json,main.js,styles.css). - In Obsidian: Settings → Community plugins → enable "Momentum Life".
- Open via the command palette → "Momentum Life: Open" (panel in the left sidebar).
Network use & privacy
Momentum works fully offline. The only time it reaches the internet is when you
search for a food in the Nutrition module. That search queries the
Open Food Facts public API
(world.openfoodfacts.org) over HTTPS using Obsidian's requestUrl, sending
only the search term you typed. No API key or account is required, and no
personal data, vault content, or telemetry is transmitted. If you never use the
food search, the plugin makes no network requests. You can always enter food
calories manually instead.
Data location
Set the Data root folder in plugin settings (default: Personal Assistant).
Expected subfolders: Tasks/, Notes/, Fitness/Exercises, Fitness/Workouts,
Nutrition/Plan, Nutrition/Logs, Studies/, Habits/, Config/settings.md.
Markdown schema
Each module reads and writes plain Markdown notes with YAML frontmatter. Examples:
# Tasks/<title>.md
task_id: "uuid"
title: "Close the deal"
status: "in progress" # one of the task columns
priority: "high"
kanban_name: "Side Projects"
group: "KCD 26"
type: "task"
# Tasks/boards.md
type: boards-config
boards:
- id: aws
name: AWS
emoji: ☁️
# Notes/<title>.md
title: "Idea"
color: yellow
type: note
Project structure
src/main.ts— plugin entry (view registration, command, settings).src/view.ts— dashboardItemView(sidebar + page router).src/context.ts— shared context (store + config + refresh).src/data.ts— Vault data layer (read/write/list + per-module loaders).src/types.ts— domain model + defaults.src/ui.ts— reusable Modal/Notice helpers.src/modules/*.ts— one renderer per page.styles.css— UI styles mapped to Obsidian theme variables.
Publishing to the community store
- Push to a public GitHub repo.
- Tag a release matching
manifest.jsonversion(novprefix), e.g.git tag 0.1.2 && git push origin 0.1.2. The GitHub Action attachesmain.js,manifest.jsonandstyles.cssto the release. - Submit a PR adding this plugin to
obsidianmd/obsidian-releases(community-plugins.json).