mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 18:43:08 +02:00
13 lines
554 B
Python
13 lines
554 B
Python
|
|
"""diet_guard: log what you eat, see the daily number, gate the desktop.
|
||
|
|
|
||
|
|
The package has three layers, built in order:
|
||
|
|
|
||
|
|
* the tracker (this milestone): a low-friction CLI that estimates the
|
||
|
|
calories of a free-text meal and appends a tamper-evident entry to a
|
||
|
|
per-day log;
|
||
|
|
* the gate (next): a screen-lock that will not dismiss until a recent meal
|
||
|
|
is logged -- the "log-to-unlock" enforcement;
|
||
|
|
* the escalation (later): a daily report that tightens the other personal
|
||
|
|
enforcers (games, PC uptime) when logging is skipped or the budget blown.
|
||
|
|
"""
|