weserv / images

Source code of wsrv.nl (formerly images.weserv.nl), to be used on your own server(s).
https://wsrv.nl/
BSD 3-Clause "New" or "Revised" License
2.05k stars 200 forks source link

Shorter URLs? #308

Closed GitBoudewijn closed 8 months ago

GitBoudewijn commented 3 years ago

Sometimes the URL can get really long, especially when you use &default=images.weserv.nl/....

So maybe you could have weserv.nl and/or i.weserv.nl as an alias for images.weserv.nl?

andrieslouw commented 3 years ago

Good suggestion!

@kleisauke: Candidate could be wsrv.nl or i.wsrv.nl, that domain is not in use for any other project anymore.

GitBoudewijn commented 3 years ago

That would be even better!

I was going to suggest doing like Photon and having i0.wsrv.nl, i1.wsrv.nl and i2.wsrv.nl or just allowing any subdomain but apparently with HTTP2 that doesn't have any benefit anymore. Maybe you could just have subdomains redirect to wsrv.nl or i.wsrv.nl (like Imgur does).

kleisauke commented 8 months ago

https://wsrv.nl/ is available for this purpose and is preferred over https://images.weserv.nl/ within the docs. I'll close.