Macros
Track and visualize your daily macros, meals and nutrition inside your notes.
The above warnings are based on limited information and might not always be accurate.
Data
| ID | macros |
| Author | jamescliffordspratt |
| Funding | Support the Author |
| Minimum Obsidian Version | 1.0.0 |
| Official Release Date | 2025-04-17 |
| Last update | 2026-06-13 |
Last Refresh
Obsidian Stats last refreshed the data behind this page on Jun 15, 2026.
| Community plugin snapshot | Jun 15, 2026 |
| Repository clone | last successful checkout Jun 15, 2026 |
| Release acquisition | release metadata checked Jun 15, 2026; latest main.js acquired |
Quick Links
- GitHub Repo
- View in Obsidian
- View on Obsidian Community
- View on the Obsidian Hub
- Author Website
- Support the Author
Changes
| Date | Changed Property | Old Value | New Value |
|---|---|---|---|
| 2025-04-17 | Plugin Added | ||
| 2025-04-17 | description | Advanced 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-17 | repo | JamesCliffordSpratt/obsidian-macros-plugin | JamesCliffordSpratt/macros |
| 2025-04-17 | description | Advanced nutrition tracking with dynamic macros blocks and pie chart visualizations. | Advanced nutrition tracking with dynamic macros blocks and pie chart visualizations. |
| 2025-04-17 | description | Advanced nutrition tracking with dynamic macros blocks and pie chart visualizations. | Advanced nutrition tracking with dynamic macros blocks and pie chart visualizations. |
| 2025-05-21 | author | JamesCliffordSpratt | James Clifford Spratt |
| 2025-05-21 | description | Advanced nutrition tracking with dynamic macros blocks and pie chart visualizations. | Track and visualize your daily macros, meals and nutrition inside your notes. |
| 2025-06-04 | Plugin Removed | ||
| 2025-06-16 | Plugin Re-Added | ||
| 2026-05-12 | author | James Clifford Spratt | jamescliffordspratt |
| 2026-05-12 | repo | JamesCliffordSpratt/macros | jamescliffordspratt/macros |
Repository Data
| License | MIT in package.json MIT in LICENSE
file
|
| Package Manager | npm |
| Uses Typescript | Yes |
| Installed Bundlers | esbuild |
| Installed Testing Frameworks | Jest |
| Has Test Files | No |
Latest Release main.js Size
| 1.26 MB |
| Detected ES Version | ES2018 |
| Probably Minified | Yes |
| main.js API Findings | 5 disclosures |
| Uses BRAT beta releases | No |
| Dependencies | @zxing/browser, @zxing/library, chart.js, crypto-js, fuse.js |
| Dev Dependencies | @testing-library/dom, @types/jest, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, builtin-modules, esbuild, eslint, eslint-config-prettier, 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.
| Disclosure | Detected From |
|---|---|
| Dynamic Code Or Remote Code | Evaluates dynamic code or injects scripts |
| Full Vault Access | Enumerates vault files |
| Global Handlers Or Timers | Registers events, DOM handlers, or intervals |
| Permission Sensitive Browser Api | Uses permission-sensitive browser APIs |
| Vault File Write | Writes vault files |
| Finding | Type | Confidence | Evidence |
|---|---|---|---|
| Uses permission-sensitive browser APIs | Warning | High | navigator.mediaDevices.getUserMedia (7) |
| Evaluates dynamic code or injects scripts | Warning | High | remote_dom_script_injection:i (1), remote_dom_script_injection:o (1), remote_dom_script_injection:o (1) |
| Registers events, DOM handlers, or intervals | Info | High | setInterval (1), setTimeout (57), this.registerDomEvent (4) |
| References URLs or constructs URL objects | Info | High | http:// (4), https:// (30), URLSearchParams (4) |
| Persists plugin settings or data | Info | High | this.loadData (5), this.saveData (1) |
| Registers plugin settings UI | Info | High | Setting (68), obsidian.Setting (68) |
| Accesses Obsidian vault APIs | Info | High | app.vault (10) |
| Accesses vault folders | Info | High | app.vault.getFolderByPath (1), app.vault.getRoot (1) |
| Enumerates vault files | Info | High | app.vault.getFiles (4) |
| Writes vault files | Info | High | app.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 25802 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
| Version | Release Date | Note |
|---|---|---|
| 1.0.0 | 2025-04-17 | None |
| 2.0.0 | 2025-05-21 | None |
| 2.0.3 | 2025-06-19 | None |
| 2.0.5 | 2025-06-22 | None |
| 2.0.6 | 2025-06-24 | None |
| 2.0.9 | 2025-06-25 | None |
| 2.0.10 | 2025-06-25 | None |
| 2.1.1 | 2025-07-06 | None |
| 2.2.0 | 2025-07-09 | None |
| 2.2.1 | 2025-07-10 | None |
| 2.3.0 | 2025-07-14 | None |
| 2.3.1 | 2025-07-17 | None |
| 2.4.0 | 2025-10-18 | None |
| 2.5.0 | 2026-06-12 | None |
| 2.5.1 | 2026-06-13 | None |