Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to allow reuse of shortened links? #709

Open
brandonsturgeon opened this issue Sep 2, 2023 · 1 comment
Open

Option to allow reuse of shortened links? #709

brandonsturgeon opened this issue Sep 2, 2023 · 1 comment

Comments

@brandonsturgeon
Copy link

I know there exists a "reuse" option right now, but from what I understand it's not what I'm looking for.

My desire is to shorten links sent inside of Discord Embeds to save on character limits in the request body.
I personally don't care about statistics or anything like that - I only care about keeping my total character count to a minimum.

Often times, the same links will be sent in my Discord messages (i.e. a link to a homepage, or a link to a specific user's profile) - and in those cases, I would rather it return the shortlink that already exists for those links instead of creating a new one.

My preference is to:

  1. Never expire these links (for historical reference)
  2. Create as few shortlinks as possible so I can use the shortest slug I can

Does this already exist and I've just missed it? Is this something the project would be open to supporting?

@poeti8
Copy link
Member

poeti8 commented Oct 19, 2023

This is what "reuse" does for you though, unless I misunderstood something you said. Let's say you have shortened https://example.com/hi and Kutt returned kutt.it/f8Sq1G, if you again send https://example.com/hi while reuse is set to true, you'd get back kutt.it/f8Sq1G.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants