Polr is a quick, modern, and open-source link shortener. It allows you to host your own URL shortener, to brand your URLs, and to gain control over your data. It's also GPLv2+ licensed.

Polr is intrepid, easy to use

  • Read the installation documentation and get running in no time
  • Modern and simple interface to manage your links and control your instance
  • Run on your own domain to adjust your branding to perfection
  • Use Polr out of the box or fork the code to tweak it to to your needs
  • Customise your instance's shortening permissions, redirects, or even its theme

and has a robust API

  • Semantic REST API for integration with other services
  • Assign new API keys to users automatically, or generate them manually
  • Create new links or look up existing links without modifying your breaking your existing code
  • For more information, see API docs

Try Polr

  • Polr Demo instance: demo.polr.me
  • Username: demo-admin or demo-user
  • Password: demo-admin or demo-user (same as username)
  • Certain features, such as user deletion and password changing are disabled on the demo instance
  • Use the demo instance to test the API, the interface, or the admin panel

Interested?

What's in the box?

  • written in PHP and powered by the Lumen microframework
  • uses Blade templating
  • clean MVC architecture
  • uses Eloquent ORM (MySQL, PostgreSQL, or SQLite)

Contribute

Found a bug? Have a good idea for improving Polr? Head over to Polr's github page and create a new ticket or fork. If you just want to chat with fellow developers, visit the IRC channel. You can also directly add issues and feature requests to the issue tracker.

Fork me on GitHub