URL Shortener

Shorten URLs with custom aliases, track click counts, and manage links — all stored locally.

Built with this prompt

Build a URL shortener in React with:
- Input for a long URL plus an optional custom alias
- Generate a short alias if none is given
- Store links in localStorage: alias, target URL, click count, created date
- List of saved links with copy-link and delete buttons
- Clicking a link increments its click count and opens the target
- Dark theme, no dependencies