DoSomething / bertly

🔗 A serverless link shortener.
https://dosome.click/wq544
MIT License
2 stars 1 forks source link

Consider short_url package instead of shorten #4

Closed mshmsh5000 closed 6 years ago

mshmsh5000 commented 6 years ago

Instead of shorten. The main reason is short_url offers a better pattern generation algorithm (for my taste):

A bit-shuffling approach is used to avoid generating consecutive, predictable URLs. However, the algorithm is deterministic and will guarantee that no collisions will occur.

Will require a refactoring of link/key persistence, because this is baked in to shorten and not to short_url.

DFurnes commented 6 years ago

This was closed by #25.