peterberbec / yourls-keyword_charset_length

Allows simple charset hook override
10 stars 7 forks source link

Fixed to n Characters, or can be more? #3

Closed afahmiparidin closed 6 years ago

afahmiparidin commented 6 years ago

Dear @peterberbec,

image

when we set the value of character is 6, does it mean by minimum system will get 6 characters keyword? or limit to only 6 characters keyword?

Thank you. Fahmi Paridin

peterberbec commented 6 years ago

I believe this sets it to 6 fixed length. I've never run out even with 6.

On Tue, Apr 10, 2018, 5:31 AM afahmiparidin notifications@github.com wrote:

Dear @peterberbec https://github.com/peterberbec,

[image: image] https://user-images.githubusercontent.com/5966211/38548616-c4411d86-3ce4-11e8-8a95-ec00cf365357.png

when we set the value of character is 6, does it mean by minimum system will get 6 characters keyword? or limit to only 6 characters keyword?

Thank you. Fahmi Paridin

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/peterberbec/yourls-keyword_charset_length/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AQbacWX2DIJ5HBcfw2gpsFUl-MKxpf4Hks5tnHvTgaJpZM4TN6Se .

peterberbec commented 6 years ago

Oh, I get what you mean! 6 is for randomly generated. You can manually change the link to any length

On Tue, Apr 10, 2018, 5:31 AM afahmiparidin notifications@github.com wrote:

Dear @peterberbec https://github.com/peterberbec,

[image: image] https://user-images.githubusercontent.com/5966211/38548616-c4411d86-3ce4-11e8-8a95-ec00cf365357.png

when we set the value of character is 6, does it mean by minimum system will get 6 characters keyword? or limit to only 6 characters keyword?

Thank you. Fahmi Paridin

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/peterberbec/yourls-keyword_charset_length/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AQbacWX2DIJ5HBcfw2gpsFUl-MKxpf4Hks5tnHvTgaJpZM4TN6Se .

afahmiparidin commented 6 years ago

Hi @peterberbec ,

actually im looking for URL randomize solution that

  1. minimum character is 6
  2. generate random unique URL

however, i've found the solution and wrote a plugin about it. will share it soon 👍

Thank you. Fahmi Paridin

peterberbec commented 6 years ago

Great! Best thing about yourls is the expandability!

On Tue, Apr 10, 2018, 9:23 PM afahmiparidin notifications@github.com wrote:

Hi @peterberbec https://github.com/peterberbec ,

actually im looking for URL randomize solution that

  1. minimum character is 6
  2. generate random unique URL

however, i've found the solution and wrote a plugin about it. will share it soon 👍

Thank you. Fahmi Paridin

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/peterberbec/yourls-keyword_charset_length/issues/3#issuecomment-380296535, or mute the thread https://github.com/notifications/unsubscribe-auth/AQbacRNUfIbr21e5zHJvgLDnoToAQyGqks5tnVsWgaJpZM4TN6Se .

afahmiparidin commented 6 years ago

Dear @peterberbec ,

This is my plugin. 👍 using Hashids as the hashing engine, and uses next_id as counter and make it unique everytime a new link is generated.

https://github.com/afahmiparidin/Hashids-Yourls/