dartungar / obsidian-mood-tracker

mood tracking for obsidian.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mood Tracker

Mood Tracker for Obsidian.md, inspired by Amazing Marvin's Mood Tracker.

Why this plugin?

While you definitely can build a mood tracking system in Obsidian with markdown files, metadata and Dataview, it can be tedious to maintain and use.

This plugin provides a clean, user-friendly alternative with a lot of "batteries included".

The data is stored in your vault, in plain JSON.

Track Your Moods & Emotions

Track your overall mood with "mood rating"; customize mood labels.

Add nuanced emotions, if needed (fully customizable).

Add notes to entries.

See demo

The history at a glance

Visualize your mood history on a graph.

See your average and most common moods and emotions.

Click on a point on a graph to see that day's details.

See demo

You can also edit past entries and add new entries for past days. See demo

Embeddable graph

You can embed the graph into a note with mood-tracker-stats codeblock:

end: current-week
daysBeforeEnd: 90
showAverage: true
showMostCommonMood: true
showCommonEmotionsList: true
height: 500px

Options:

  • end: date in "YYYY-MM-DD" format, or dynamic date ("today", "current-week" (end of), "previous-week" (end of), "current-month" (end of), "previous-month" (end of))
  • daysBeforeEnd: number of days to show
  • showAverage: show average mood rating (defaults to false)
  • showMostCommonMood: show the most common emotion (defaults to false)
  • showCommonEmotionsList: show a list of the most common emotions (defaults to false)
  • height: height of the graph (pixels, %, anything that style attribute of HTML element would support) (defaults to 350px)
  • width: the same as height (defaults to 100%)

For example, this codeblock will render records for the current month, with no additional info:

end: current-month
daysBeforeEnd: 39

Roadmap

  • Customize mood emojis
  • Customize graph colors
  • More chart types
  • Edit past entries
  • Emotion sections / blocks
  • Export data
  • Import data
  • Add data to daily notes

Demos

Mood tracking

mood-tracker-sections-demo

History and stats

mood-tracker-stats-demo

Edit past entries

mood-tracker-edit-history-demo

About

mood tracking for obsidian.md

License:MIT License


Languages

Language:TypeScript 71.1%Language:Svelte 26.0%Language:JavaScript 2.7%Language:CSS 0.2%