The Complete Guide to Habit Tracking in Obsidian
Obsidian is already where you think. Why not make it where you track habits too?
Getting Started
- Install the Habit Space plugin from Community Plugins
- Create a
habits/folder in your vault - Add your first habit with the command palette
Defining Habits
Each habit is a markdown file with YAML frontmatter:
---
name: Exercise
icon: ๐๏ธ
type: flex
frequency: daily
children:
- id: strength
name: Strength Training
icon: ๐ช
- id: cardio
name: Cardio
icon: ๐
---
Daily Logging
Every day, Habit Space creates a log file. It's a simple checklist:
- [x] ๐๏ธ Exercise โ ๐ช Strength Training
- [x] ๐ Read
- [ ] ๐ง Meditate
Viewing Stats
Use the built-in stats view, or query with Dataview:
TABLE streak, completion
FROM "habits/logs"
WHERE date >= date(today) - dur(30 days)
Your data never leaves your vault. That's the point.