Tiny Habits

by Diego Nazoa
5
4
3
2
1
Score: 52/100

Description

Category: Productivity Tools

The Tiny Habits plugin helps you track personal routines directly inside your notes, storing all data within frontmatter so nothing leaves your vault. It displays a heatmap-style table similar to GitHub or Anki, making it easy to visualise progress over time. Each habit entry can be marked as completed, failed, skipped, or not started, giving a clear picture of consistency. You can create multiple habit blocks in a file, collapse large tables, and even navigate past and future entries. Keyboard support is included, with both arrow keys and vim-style hjkl shortcuts for moving around and marking entries. Configuration is simple, using code blocks that point to a folder path and optional display names. By blending habit tracking into Markdown, it combines accountability with the flexibility of your existing note-taking workflow.

Reviews

No reviews yet.

Stats

10
stars
1,698
downloads
0
forks
246
days
32
days
78
days
94
total PRs
5
open PRs
2
closed PRs
87
merged PRs
1
total issues
0
open issues
1
closed issues
9
commits

Latest Version

3 months ago

Changelog

Fixed first loading not filtering habit entries by date

Full Changelog: https://github.com/nazoadiego/tiny-habits/compare/1.1.9...1.1.10

README file from

Github

image PRs Welcome Test Linting Buy me a coffee

Table of Contents

Tiny Habits

An Obsidian Plugin built with Svelte to track different habits.

All the entries are stored inside your notes frontmatter. Everything stays local and within your markdown notes.

Features:

  • Mark habits as completed, failed, skipped, or not started.
  • A table of your habit entries, in the beloved format of a heatmap we see in Github or Anki.
  • Keyboard navigation support
  • Navigation both to future and past entries.

Preview:

Usage

  • Make a code block with habits in the first line

  • Open brackets and indicate the folder path. Make sure you write the full folder path, otherwise it won't work.

  • Create a note in that folder to see the new habit in your habits table.

  • Voila!

    ```habits
    {
      "folderPath": "Areas/Habits/Tiny - Morning"
    }
    ```
    

You can use as many markdown blocks as you like in the same file. And if they get too big, you can collapse them by clicking the table header.

Keyboard support

You can navigate both with arrows and the hjkl keys. To mark a habit entry, you can do so by focusing on the entry and pressing enter.

To mark an entry with an specific status these are the shortcuts:

  • Completed - 1
  • Failed - 2
  • Skip - 3
  • Not started - 4

Options

```habits
{
  "folderPath": "Areas/Habits/Tiny - Morning", // the absolute path to the folder containing your habits
  "displayName": "Morning" // (optional) To customize the name that appears in the table
}
```

How to run it locally

If you are a developer and you wish to run it locally, follow these steps:

  • Clone this repo.
  • Make sure your NodeJS is at least v16 (node --version).
  • pnpm i to install dependencies.
  • pnpm run dev to start compilation in watch mode.

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/your-plugin-id/.

Tests

Test

Run with pnpm run test

Linting

Linting

Run with pnpm run lint

Making a release

pnpm run version:new

Support

If you like the extension feel free to buy me a coffee! https://buymeacoffee.com/nzoadiego

Hope this extension makes your life a little easier.

Credits

Special thanks to zincplusplus https://github.com/zincplusplus/habit-tracker for the original idea, and an extension that I found so useful it motivated me to build my own.

API Documentation

See https://github.com/obsidianmd/obsidian-api

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Heatmap Calendar
4 years ago by Richard Slettevoll
An Obsidian plugin for displaying data in a calendar similar to the github activity calendar
Plugin Update Tracker
4 years ago by Steven Swartz
Know when installed obsidian plugins have updates and evaluate the risk of upgrading
Old Note Admonitor
3 years ago by tadashi-aikawa
Habit Calendar
3 years ago by Hedonihilist
Monthly Habit Calendar for DataviewJS. This plugin helps you render a calendar inside DataviewJS code block, showing your habit status within a month.
Waka time box
3 years ago by complexzeng
Habit Tracker 21
2 years ago by zoreet
Contribution Graph
2 years ago by vran
generate interactive gitxxx style contribution graph for obsidian, use it to track your goals, habits, or anything else you want to track.
Filtered Opener
2 years ago by Roman Kubiv
Sets of notes defined by filters to open notes.
Track-a-Lot
2 years ago by Iulian Onofrei
This is a tracker plugin for Obsidian
IMDb
2 years ago by Andrew Chen
A simple plugin for syncing movies from IMDb to Obsidian
Daily Activity
5 years ago by trydalch
Initiative Tracker
5 years ago by Jeremy Valentine
TTRPG Initiative Tracker for Obsidian.md
Word Sprint
4 years ago by Andrew Lombardi
Obsidian Word Sprint plugin
Crackboard
2 years ago by Franklin
Obsidian plugin for crackboard.dev
Superstition
a year ago by Jeffry
An Obsidian plugin for routine management.
Activity Heatmap
a year ago by Zak Hijaouy
Heatmap Tracker
a year ago by Maksim Rubanau
A customizable heatmap tracker plugin for Obsidian to visualize daily data trends with intuitive navigation and flexible settings.
Keep the Rhythm
a year ago by Ezben
An Obsidian plugin to track your daily word count through a heatmap.
Boardgame Search
a year ago by Marlon May
A plugin to create notes for boardgames based on the BGG API
Daily Routine
a year ago by sechan100
new version of daily-routine obsidian plugin
Codeless Heatmap Calendar
a year ago by Behnam Aghajani
An Obsidian plugin for customizable heatmap calendars using Toggl API or fake data. Perfect for time tracking and productivity visualization.
Banyan
a year ago by ratiger
A card-based homepage for Obsidian —— browse, organize, and navigate notes effortlessly with multi-tag filtering.
Easy Tracker
4 months ago by Hunter Ji
An Obsidian plugin for ultra-simple goal and habit tracking in any note.
Workout Planner
4 months ago by Rares Spatariu