No description
  • Astro 88.7%
  • TypeScript 9.7%
  • JavaScript 1.6%
Find a file
2026-09-13 20:40:05 +02:00
src add delete mode 2026-09-13 20:40:05 +02:00
.gitignore initial 2026-09-13 18:44:38 +02:00
astro.config.mjs initial 2026-09-13 18:44:38 +02:00
biome.json initial 2026-09-13 18:44:38 +02:00
package-lock.json initial 2026-09-13 18:44:38 +02:00
package.json initial 2026-09-13 18:44:38 +02:00
README.md initial 2026-09-13 18:44:38 +02:00
tsconfig.json initial 2026-09-13 18:44:38 +02:00

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