ascorbic / unpic

Universal image CDN translator
https://unpic.pics/lib
280 stars 31 forks source link

feat: add Uploadcare support #120

Closed danestves closed 6 months ago

danestves commented 6 months ago

closes #18

This one was more difficult than I though because some operations of the URL can accept one or two values separated by a /, after digging around I found @uploadcare/blocks; inside their utils they have the functions to parse correctly the operations and filename from the URL if is provided, I give the credit to them in a comment and added a URL to the specific lines

danestves commented 6 months ago

Sorry for some of the commits, was configuring the sign commits feature

ascorbic commented 6 months ago

Thanks! This looks good