Best way to use a URL shortener for my site

1 points by bobblemouse ↗ HN
Have an MVP for a particular use case that we're building and we expect to have it all done by around the end of the year. One service that we provide can allow users to share something to others. The way we are generating the link to share right now generates very long urls since we are storing some images on Firebase and when sharing a combination of those we are combining those urls to create a unique sharing link. Is there some smarter way we can use to shorten the links here?

If not, and we end up using a url shortening service, is the best way to self host our own service (we currently use mongoDB for our application and can theoretically do it) or to use an existing service? If existing service, some recommendations would be helpful.

1 comment

[ 0.25 ms ] story [ 7.8 ms ] thread
Generating long URLs can actually be cumbersome for sharing. You might consider using a URL-shortening service to simplify the entire process. If you're weighing the option between self-hosting and using an existing service, the deciding factor usually depends on the resources and maintenance you're willing to commit. For a more refined solution, I recommend checking out https://app.y.gy.