No description
- Astro 88.7%
- TypeScript 9.7%
- JavaScript 1.6%
| src | ||
| .gitignore | ||
| astro.config.mjs | ||
| biome.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Item Counter
A simple, mobile-optimized list where you can add entries and count each one up or down.
Features
- Add entries - Type a name and add it to your list
- Count up / down - Big tappable +/- buttons per entry
- Persistent - List and counts are saved in the browser (localStorage), so they survive reloads
- Mobile-first - Large touch targets, no accidental zoom, safe-area aware for notched phones
Installation
# Install dependencies
npm install
# Start development server
npm run dev
# Open the app
# http://localhost:4321
How it works
Entries are stored client-side in localStorage (see src/utils/storage.ts), so no backend or
database is required. Each entry has a name and a count (clamped to a minimum of 0). Tapping the
-/+ buttons updates the count instantly and re-saves the list.
Privacy
- No data leaves the device - everything is stored locally in the browser
- No tracking or analytics