Hacker News new | ask | show | jobs
by martin-adams 713 days ago
Or should this be more specific in that you shouldn't shorten URLs using the provider's domain name, but bring your own domain. So if the provider goes away, you can in some way migrate the links.
2 comments

I agree!

That's why I set up my own thing. I don't care about analytics at all, so I just wrote a simple build system doto generate some very basic HTML redirects.

It isn't perfect but it's very cheap to run!

https://github.com/lucienbill/lucien.run/

And if you use Netlify, you can just create a _redirects file like this:

  / https://example.com
  /cv https://example.net/cv.pdf
  /git https://github.com/octocat
Works good for me on ale.sh so far!
Yes, having control of your data is safer.

Even if the supplier disappears, it is possible to quickly switch to another platform