




Links:
Source (GitHub): https://github.com/CosmicDorito-25/SnackTax
Video Demo:
https://www.loom.com/share/e166069e5a924c0a9a71243e0472ca62
The Pitch:
I’m a beginner, and I’m sick of calorie trackers asking for my email just so they can sell my data and pester me with subscriptions.
So I built SnackTax. It’s a "local-first" tracker that lives entirely in a single .html file.
Why it’s different:
Zero Dependencies: No frameworks, no libraries, no external CSS. It’s just raw HTML/JS/CSS in one file.
True Privacy: It uses localStorage. Your data never touches a server. If you don't back it up (single-click export), it's gone. That's the price of freedom.
Fast: It loads instantly because it’s not fetching a backend.
Features: Tracks macros (Proteins, Fats, Carbs, Fiber), water intake, saves custom meals, and tracks streaks.
Technical Stuff (for the devs):
Architecture: Vanilla JS state management.
Storage: JSON-based local storage with an export/import feature for data portability.
UI: Minimalist CSS built for "open -> log -> close" speed.
Feedback Wanted:
Since this is my first "real" project, I’d love feedback on the code structure and the UI. It’s licensed under GPL v3, so feel free to fork it and make it your own.