Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Foodiary

vkostyanetskyvkostyanetsky2k downloads

Food tracker, macronutrient and calorie calculator.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates9

It is a plugin for Obsidian designed to help you monitor the nutritional value of the food you eat.

🙂 How to use it?

Create the products folder

First, you should specify the "Product folder" in the plugin's settings ("Products" by default). It refers to a folder in your vault that is supposed to contain nutrition data for the food you eat.

Here is an example of the folder in the sample vault. Please note:

  1. Each file refers to a product. The name of it is how you are going to refer it in your notes. You can also use the standard "aliases" property: for instance, you are able to create a note named "Apple", and then set the aliases: "Apples", "Red apples", etc. Take a look at example in the sample vault by the link above.
  2. Each file has four properties: calories, protein, fat and carbs. All of them are supposed to contain nutritional values for the represented product and must be indicated per 100 grams.

Please note that you can rename those properties in the plugin's settings.

Use code block in daily notes

You make daily notes, I guess. So, every day, you add a foodiary code block to enlist the food you eat. You can do it manually or via the "Insert food diary" command.

Here is an example in the sample vault.

For instance, you ate 300 grams of apples and 85 grams of donuts. So, you add this:

```foodiary
Apples 150+150
Donuts 85
```

As a result, the code block shows you something like this:

Product Calories Protein Fat Carbs
Donuts 252 5 12 33
Apples 141 2 2 30
TOTAL 393 7 14 63

So the plugin takes the food you refer to in the code block, finds it in the products catalog, and then shows total nutrition for each product you have consumed during the day.

[!tip] Man, I nearly forgot! You can also add comments in the block using # or //, like this:

// Breakfast:

Apples 150+150  # fresh ones
Donuts 85      

Set your daily calorie goal (optional)

If you want the plugin to show how many calories you've consumed compared to your daily goal, you can use the "Property for daily calorie goal" setting in the plugin.

Here’s how it works:

  1. In the plugin settings, set "Property for daily calorie goal" to the name of a YAML field you want to use, for example: goal.
  2. Then, in the frontmatter of your daily note (the one that contains the foodiary block), add that property with your daily calorie target, like this:
---
goal: 2000
---

Now, when you open the daily note, the plugin will read this value and display how many calories you've consumed out of your daily goal. You need to close and reopen the note for the plugin to detect the updated goal.

73%
HealthGood
ReviewSatisfactory
About
Track nutritional intake by logging foods in a foodiary code block in daily notes; parse quantities, accept comments, and aggregate per-item and total calories, protein, fat, and carbs. Create a products catalog with per-100g nutrition entries and reference items by name or aliases to compare totals to a daily calorie goal.
DataDatesTables
Details
Current version
1.2.5
Last updated
Last year
Created
2 years ago
Updates
9 releases
Downloads
2k
Compatible with
Obsidian 1.5.3+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
vkostyanetskyvkostyanetsky
github.com/vkostyanetsky
GitHubvkostyanetsky
  1. Community
  2. Plugins
  3. Data
  4. Foodiary

Related plugins

Datacore

An even faster reactive query engine for the data obsessed.

Mood Tracker

Track your moods & emotions easily. Visualize tracked history and browse the past entries.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Day Planner

Day planning from a task list in a Markdown note with enhanced time block functionality.

Tasks

Track tasks across your vault. Supports due dates, recurring tasks, done dates, sub-set of checklist items, and filtering.

Tracker

Track occurrences and numbers in your notes.

Reminder

Manage Markdown TODOs with reminder.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Weread

Sync Tencent Weread highlights and annotations.

Periodic Notes

Manage your daily, weekly, and monthly notes.