I understand this is not exactly what you're asking for, but if you have access to a terminal, you can "unshorten" a link with:
curl --head -L https://example.com/short | grep: location
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I understand this is not exactly what you're asking for, but if you have access to a terminal, you can "unshorten" a link with:
curl --head -L https://example.com/short | grep: location
It is not enough for the increasingly common share.google links for example, and i bet there's more like this
Very much this.
It's a little complicated. Sometimes the curl command further up works, but sometimes the redirection is done in an html meta tag or even with javascript. I have a messy python script that has a bunch of site specific code to bypass redirects and clean up tracking links. I can't post it in its present condition (it has some private info embedded) but I've been wanting to clean it up and post it sometime.
I've not used it, but your question got me wondering so I searched and found the following site which tries to navigate various redirect methods to find the final destination. I'd be curious to know how well it works.
I was hoping for a self-hosted resource, not a remote API, since this is the Selfhosted community
Whoops, my mistake. I did not check where this was posted. Sorry about that.