Home / Portfolio / urlf.ly: a URL shortener

urlf.ly: a URL shortener

A URL shortener with accounts, Google sign-in, click stats and an admin panel, in English and Spanish. Live at urlf.ly.

The urlf.ly home page with the link box and Shrink button, sign-in form and Sign in with Google
Websitesshort linksanalyticsgoogle sign-inbilingual
Clienturlf.ly (a Develofly division)
TypeWebsites

The problem

Long links are awkward to share where space is tight. urlf.ly keeps it simple: paste a link, get a short one, and see how it is doing if you have an account.

What we built

  • Paste a link, press Shrink and copy the short link, with or without an account
  • Sign up and sign in with email and password, or with Google
  • A branded redirect page with a countdown and a Continue now button, which the admin can shorten or turn off
  • A dashboard for your links: custom aliases, expiry dates, search, edit, disable, delete and CSV export
  • Click stats for each link: total and unique clicks, referrers, countries and a daily chart
  • Checks on every destination, bot filtering and a domain blocklist
  • Rate limits, optional CAPTCHA, email verification and password reset
  • English and Spanish, with a language switch on every page
  • An admin panel with user and link management, over 120 settings and an audit log
  • Plain PHP and MySQL with no framework, so it runs on ordinary web hosting

Tools we used

PHP 8MySQLJavaScriptGoogle OAuth 2.0SMTP email
Results
  • Live at urlf.ly
  • Runs on ordinary shared hosting, with no Composer step and no framework
  • Covered by automated unit and smoke tests
  • Every setting is editable in the admin and logged

See it live: urlf.ly.

More projects