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

URL Shortener #146

Open
wei opened this issue Nov 10, 2022 · 6 comments
Open

URL Shortener #146

wei opened this issue Nov 10, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@wei
Copy link
Owner

wei commented Nov 10, 2022

The generated image url always contain long query strings. Let's create a url shortener so it's not so long~

@CryogenicPlanet
Copy link
Collaborator

We could fork https://github.com/steven-tey/dub and implement a shortener, or just use upstash and middleware like dub and have a custom shortener

@wei wei mentioned this issue Apr 12, 2024
@KemingHe
Copy link
Collaborator

KemingHe commented May 6, 2024

@wei I'll be happy to (instead of money contribution) self-host an instance of https://shlink.io/ to continue with this idea. Let me know if you are interested. ❤️

@wei
Copy link
Owner Author

wei commented May 6, 2024

Let's hold off on this one. I envision this to be implemented as a part of User Dashboard instead of a third party service but open to other ideas.

@wei wei added enhancement New feature or request and removed feature-request labels Dec 13, 2024
@KemingHe
Copy link
Collaborator

Hi @wei , since we are also considering #472 migration to Cloudflare Pages, and that short-links would require some data storage, here's another idea: use Cloudflare's KV store as a most simple/basic solution now and iterate from there.

https://developers.cloudflare.com/kv/

What do you think?

@wei
Copy link
Owner Author

wei commented Jan 16, 2025

@KemingHe great idea! I have actually already implemented a url shortener for another project using workers KV, it will work great!

@KemingHe
Copy link
Collaborator

@KemingHe great idea! I have actually already implemented a url shortener for another project using workers KV, it will work great!

Feel free to assign me with either or both #472 and #146 (this) as I'm also interested in learning from your code and experimenting with Cloudflare more.

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

No branches or pull requests

3 participants