Skip to content

Macros

Nutrition and food tracker for your notes. Log meals, calories, macros and micronutrients. Search foods by name or barcode via FatSecret, USDA & Open Food Facts. Chart your diet & weight loss.

The above warnings are based on limited information and might not always be accurate.

Data

IDmacros
Authorjamescliffordspratt
FundingSupport the Author
Minimum Obsidian Version1.5.7
Official Release Date2025-04-17
Last update2026-06-30

Last Refresh

Obsidian Stats last refreshed the data behind this page on Jul 13, 2026.

Community plugin snapshotJul 13, 2026
Repository clonelast successful checkout Jul 6, 2026
Release acquisitionrelease metadata checked Jul 6, 2026; latest main.js acquired

Quick Links

Changes

DateChanged PropertyOld ValueNew Value
2025-04-17Plugin Added
2025-04-17descriptionAdvanced nutrition tracking with dynamic macros blocks, FatSecret integration, and pie chart visualizations.Advanced nutrition tracking with dynamic macros blocks and pie chart visualizations.
2025-04-17repoJamesCliffordSpratt/obsidian-macros-pluginJamesCliffordSpratt/macros
2025-04-17descriptionAdvanced nutrition tracking with dynamic macros blocks and pie chart visualizations.Advanced nutrition tracking with dynamic macros blocks and pie chart visualizations.
2025-04-17descriptionAdvanced nutrition tracking with dynamic macros blocks and pie chart visualizations. Advanced nutrition tracking with dynamic macros blocks and pie chart visualizations.
2025-05-21authorJamesCliffordSprattJames Clifford Spratt
2025-05-21descriptionAdvanced nutrition tracking with dynamic macros blocks and pie chart visualizations.Track and visualize your daily macros, meals and nutrition inside your notes.
2025-06-04Plugin Removed
2025-06-16Plugin Re-Added
2026-05-12authorJames Clifford Sprattjamescliffordspratt
2026-05-12repoJamesCliffordSpratt/macrosjamescliffordspratt/macros
2026-06-30descriptionTrack and visualize your daily macros, meals and nutrition inside your notes.Nutrition and food tracker for your notes. Log meals, calories, macros and micronutrients. Search foods by name or barcode via FatSecret, USDA & Open Food Facts. Chart your diet & weight loss.

Repository Data

LicenseMIT in package.json
MIT in LICENSE file
Package Managernpm
Uses TypescriptYes
Installed Bundlersesbuild
Installed Testing FrameworksJest
Has Test FilesNo
Latest Release main.js Size1.20 MB
Detected ES VersionES2018
Probably MinifiedYes
main.js API Findings4 disclosures
Uses BRAT beta releasesNo
Dependencies@zxing/browser, @zxing/library, chart.js, fuse.js
Dev Dependencies@testing-library/dom, @types/jest, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, esbuild, eslint, eslint-config-prettier, eslint-plugin-obsidianmd, eslint-plugin-prettier, eslint-plugin-unused-imports, jest, jest-environment-jsdom, obsidian, prettier, standard-version, ts-jest, tslib, typescript

main.js API Findings

These conservative findings come from static analysis of the latest release main.js. The table includes warnings and high-confidence informational findings; lower-confidence informational findings are omitted to reduce false positives. Warnings indicate usage of potentially risky APIs, but such APIs can be used safely if handled with care.

DisclosureDetected From
Full Vault AccessEnumerates vault files
Global Handlers Or TimersRegisters events, DOM handlers, or intervals
Permission Sensitive Browser ApiUses permission-sensitive browser APIs
Vault File WriteWrites vault files
FindingTypeConfidenceEvidence
Uses permission-sensitive browser APIsWarningHighnavigator.mediaDevices.getUserMedia (7)
Registers events, DOM handlers, or intervalsInfoHighsetTimeout (8), this.registerDomEvent (4)
References URLs or constructs URL objectsInfoHighhttp:// (4), https:// (28), URLSearchParams (5)
Persists plugin settings or dataInfoHighthis.loadData (5), this.saveData (1)
Registers plugin settings UIInfoHighSetting (68), obsidian.Setting (68)
Accesses Obsidian vault APIsInfoHighapp.vault (10)
Accesses vault foldersInfoHighapp.vault.getFolderByPath (1), app.vault.getRoot (1)
Enumerates vault filesInfoHighapp.vault.getFiles (4)
Writes vault filesInfoHighapp.vault.create (1), app.vault.createFolder (1)

The above data may not be accurate and contain errors. For more information refer to the page about data collection.

Lines of Code

The plugin has a total of 26340 lines of code. The following chart shows the lines of code split by programming language.

Downloads

The following chart shows the total number of downloads of the plugin over time. The second chart shows the delta of downloads per week, which is the number of new downloads per week. New version releases are marked with vertical lines.

Version History

VersionRelease DateNote
1.0.02025-04-17None
2.0.02025-05-21None
2.0.32025-06-19None
2.0.52025-06-22None
2.0.62025-06-24None
2.0.92025-06-25None
2.0.102025-06-25None
2.1.12025-07-06None
2.2.02025-07-09None
2.2.12025-07-10None
2.3.02025-07-14None
2.3.12025-07-17None
2.4.02025-10-18None
2.5.02026-06-12None
2.5.12026-06-13None
2.6.02026-06-20None
2.6.12026-06-28None
2.6.22026-06-29None
2.6.32026-06-30None