habitloop Svelte Themes

Habitloop

tiny browser habit tracker. localstorage only, no accounts.

habitloop

A tiny habit tracker that lives in your browser. No accounts, no servers, no analytics — just localStorage. Hostable on any static file host.

☐  morning walk           ▢▢▢▢▢▢▢   0 d
✓  read 20 pages          ▢▢▢▢▣▣▣   3 d
☐  stretch                ▢▣▣▢▢▣▢   0 d

Dev

npm install
npm run dev

Build

npm run build      # outputs to ./build, deploy to Pages, Netlify, ...

Keyboard

key what
n focus the "add habit" input

Backup

Use the export json button at the bottom to download your habits, and import json to restore. The format is a small JSON object with a version field so future versions can migrate cleanly.

Streak rules

The current streak is forgiving by exactly one day: if you haven't ticked today yet but you did yesterday, the count still includes yesterday. Skip 24+ hours after that and it resets to zero.

License

MIT.

Top categories

Loading Svelte Themes