shlinkio / shlink

The definitive self-hosted URL shortener
https://shlink.io
MIT License
3.19k stars 257 forks source link

Ability to customize QR Codes look and feel #944

Closed ajtatum closed 3 years ago

ajtatum commented 3 years ago

Sorry for the feature requests, just kind of adding things that I've used from other URL Shortening Services.

Anyway, it would be nice if from the UI side (ie: https://app.shlink.io), I could generate a QR Code for a Short URL. I know that there are plenty of ways that I could take a URL and then generate a QR Code elsewhere, but it'd be nice if it were in the same app. To be more specific about this feature, I really like what Rebrandly does:

Here's an example from Rebrandly: rabrandly_qr_code

acelaya commented 3 years ago

That looks cool 🙂

The thing is that Shlink already supports generating QR codes. Here you can find the docs https://api-spec.shlink.io/?version=v2.4.2#/URL%20Shortener/shortUrlQrCode

It's basically just appending /qr-code to any existing short URL, and you can customize sizes and such on the fly.

Having further customization is not yet supported, but it looks like something nice to have. I'll try to get it done.

berts commented 3 years ago

Hi, I was going to send a message proposing this very thing, it would be a nice addition to this useful tool. Off topic I didn't know, until I entered github, that the developer was from Zaragoza. Hello fellow citizen ;) Great work.

acelaya commented 3 years ago

Closing this to narrow down the amount of features due to limited amount of time.