How 96ibman/openmacros works
OpenMacros is a locally hosted meal and macro tracker. A user opens the browser UI, which fetches the saved application state and supports maintaining foods, composing recipes, logging intake, configuring targets, and recording weight; the Express server handles those operations against SQLite. The map separates domain capabilities even where they share the same frontend and server files. README descriptions support capabilities whose route details were not sampled, so those links are not inferred beyond the documented client/server and server/storage boundaries.
Main entry points: app.js App interactions · server.js Food library · index.html App layout · db.js SQLite access
Components 14
Browser experience
- App layout
public/index.html - App interactions
public/app.js - UI styling
public/style.css
Nutrition management
- Food library
server.js - Ingredients manager
server.js - Meal recipes
server.js
Daily and body tracking
- Intake logging
server.js - Progress dashboard
public/app.js - Goals configuration
server.js - Weight tracker
server.js
Server and persistence
- HTTP API
server.js - SQLite access
db.js - Tracker database
macro_tracker.db
Other components
- Tracker user
Connections 16
- Tracker user → App layout: opens
README.md - App layout → App interactions: hosts
- App interactions → UI styling: uses
- App interactions → HTTP API: fetches state
public/app.js - App interactions → Food library: manages foods
public/app.js - App interactions → Ingredients manager: manages ingredients
public/app.js - App interactions → Meal recipes: manages recipes
public/app.js - App interactions → Intake logging: manages logs
public/app.js - App interactions → Weight tracker: records weight
public/app.js - App interactions → Goals configuration: configures goals
README.md - App interactions → Progress dashboard: renders
public/app.js - HTTP API → SQLite access: queries
server.js - SQLite access → Tracker database: reads and writes
db.js - Food library → Ingredients manager: supplies item data
server.js - Ingredients manager → Meal recipes: contributes nutrition
server.js - Food library → Intake logging: recalculates history
README.md