Sniplink is a self-hosted URL shortener. Paste a long URL, get a short alias that redirects instantly, and track hit counts, last access time, and referrers per link — all from your own server, your own database.
Most shorteners stop at “make it short.” Sniplink adds the two things people actually pay for elsewhere — links that expire on their own, and QR codes that don't cost extra.
Every link can carry an expiration rule — after N days, after N clicks, or both. Once a link crosses its limit, Sniplink stops redirecting and serves a clean, branded “expired” page instead of leaving a dead link out in the world.
Every short link gets an auto-generated QR code the moment it's created, ready to drop into a poster, slide deck, or packaging insert — no watermark, no paywall, no "upgrade to download."
Paste a URL, optionally set an expiry, and Sniplink hands back a short link plus a QR code. The dashboard tracks hits, last access, referrer, and expiry status for everything you've created.
qrcode library the instant you shorten a URL — download it as a PNG and it's yours, no subscription required.Sniplink runs locally as a Flask app backed by SQLite — no external services, no signup, no API keys.
# install dependencies
$ pip install flask qrcode
# start the server
$ python app.py
# open the app locally
→ http://localhost:5000That's it — paste a URL, set an optional expiry, and Sniplink hands back a short link and QR code from the local Flask app on port 5000.