SlopScore
00 crowd

diet_app (github.com/NTBooks/diet_app)

Dead Weight — a local diet, weight and blood-pressure tracker that runs as an Electron app or a plain web page.
JavaScript · ★ 0 · 0 forks · entirely ailight humanworks-on-my-machineproductivitydata⚠ medical🤖 cursor
listed 2 hours ago by NTBooks · last checked 1 hour ago
created
2026-02-05 · pushed 2 hours ago
launched
2026-09-10

Disclosures

category
dataproductivity
ai_generated
entirely
human_touch
light
status
works-on-my-machine
contains
medical
built_with
cursor
interface
desktopweb
frameworks
electronexpress
platforms
linuxmacoswindows
audience
end-usersme
data
local-only
domain
diet-trackinghealth-logging
tags
blood-pressurecalorieselectronquick-addsqlite
language (detected)
batchfilehtmljavascript

Disclosed content is shown as-is. The author says it's there; graders decide if it matters.

The pitch

Meal templates with calories and serving sizes, a daily log with quick-add chips for the foods you actually eat, a weight trend chart, blood pressure readings with categories, closed days, and a calendar of totals. Everything lives in a local SQLite file, with JSON export and import so the data is yours.

It is a tracker, not a doctor. The blood pressure categories are the standard bands, nothing more.

README (read the rest on GitHub)

Dead Weight

A comprehensive diet tracking application with meal logging, weight tracking, and blood pressure monitoring.

Features

  • 🍽️ Meal Management: Add and manage meal templates with calories and serving sizes
  • 📝 Daily Logging: Log meals eaten and quick add items
  • ⚖️ Weight Tracking: Daily weight logging with history
  • ❤️ Blood Pressure: Monitor blood pressure readings with categorization
  • 📊 Analytics: View daily calorie totals and calendar views
  • 💾 Local Storage: All data stored locally in SQLite database

Installation

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn

Development Setup

  1. Clone and install dependencies:

    git clone <repository-url>
    cd diet_app
    npm install
  2. Install Electron dependencies:

    npm install
  3. Run in development mode:

    npm run dev

    This will start both the backend server and Electron app.

Production Build

  1. Build the application:

    npm run dist
  2. Find the built application in the dist folder

Usage

Starting the App

  • Development: npm run dev (starts server + Electron)
  • Server only: npm run server (for web browser access)
  • Production: Run the built executable from dist folder

Database

The app uses SQLite for local data storage:

  • Database file: diet_app.db
  • Automatically created on first run
  • No external database setup required

Project Structure

diet_app/
├── main.js              # Electron main process
├── index.js             # Express server
├── public/              # Frontend files
│   ├── index.html       # Main HTML
│   ├── app.js           # Frontend JavaScript
│   └── icon.svg         # App icon
├── package.json         # Dependencies and scripts
└── README.md           # This file

Scripts

  • npm start - Start Electron app (requires server running)
  • npm run dev - Start both server and Electron
  • npm run server - Start only the backend server
  • npm run build - Build for distribution
  • npm run dist - Create distributable packages

Building for Different Platforms

The app can be built for:

  • Windows: NSIS installer
  • macOS: DMG package
  • Linux: AppImage

Run npm run dist to build for your current platform.

Troubleshooting

Ollama Connection Issues

If you get 403 errors from Ollama:

  1. Check the error message for the IPv6 address
  2. Add that address to your Cloudflare allowlist
  3. Restart the app

Database Issues

If the database becomes corrupted:

  1. Stop the app
  2. Delete diet_app.db
  3. Restart the app (new database will be created)

Port Conflicts

If port 3000 is in use:

  1. Change the port in index.js
  2. Update the URL in main.js
  3. Restart the app

License

MIT License - see LICENSE file for details.

Scan report · 2026-09-10
  • Prohibited terms or links
  • Repository eligibility
  • slopscore.md paperwork
  • Content policy
  • Risk review — +25 binaries at repo root (start-app.bat)

0 comments

log in to comment.

report this listinglog in to report