Shortwick: a URL shortener with click analytics
Short links with custom back-halves and expiry dates, instant redirects, live click counts, referrer, country and device breakdowns, tags, search and QR codes.
Agent specs
- Agent
- Claude Code, Opus 5.5 Medium
- Time
- 18 min
- Cost
- $5.13*
Agents work faster and more accurately on Elements.
* Cost at API rates, September 2026.
Run it yourself
Paste this prompt into your AI agent. You get the finished app on your own machine, ready to change however you like.
Install elements:
curl -fsSL 'https://install.elements.dev?os=darwin' | sh && export PATH=~/elements/bin:$PATH
Create an Elements app from the elementscode/demo-shortwick scaffold:
cd ~/elements/projects
elements create shortwick -scaffold=elementscode/demo-shortwick
cd shortwick
Start the app.
The prompt
The exact prompt that built this app. Give it to your agent to build the app from scratch with Elements, or use it to compare what other tools make from the same ask.
Build a URL shortener named shortwick with click analytics. - Accounts. Shorten a url, with an optional custom back-half and expiry date. - Short links redirect instantly. - Each link's analytics: clicks over time, top referrers, countries, and devices. - Tag links, search them, and turn a link off. - A QR code for each link, downloadable as PNG. Seed two users with twenty links and three months of click history. Show the seeded logins on the sign-in page. Click counts update in real time.
Comments· 0