Personal project / Tool
Sleep Debt Ledger.
Log your sleep and see a rolling fourteen-day balance with a projected recovery date.
Open project Live in a browser
My work
The rolling ledger, projection model, logging interaction and local persistence.
Working with
localStorage · no build step · PWA
Inside the build
A rolling sleep log.
Context
Missing a log is different from missing sleep, and old entries should leave the accounting window.
How it works
The ledger uses a fourteen-day window and marks missing entries. Moving that window forward produces an estimated recovery date.
In the work
The captured demo uses twelve prepared nights. Entries stay in local browser storage, with no account or server required.
- Missing data
- An unlogged night is not silently counted as a sleepless night.
- Projection
- Older entries expire as the fourteen-day window advances.