Do not follow this link

~rf/unfucklink

Just... read the readme.
0a4e769c — Rafael Franco 2 years ago
Add CI
454a5132 — Rafael Franco 2 years ago
Initial commit

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~rf/unfucklink
read/write
git@git.sr.ht:~rf/unfucklink

You can also use your local clone with git send-email.

Unfucks links from e-mails and other trackers when you really need to open one but you use some blocking DNS and don't feel like adding an exception, switching to another DNS temporarily, etc.

#Example

You use a service such as NextDNS or Pi-Hole, which blocks entire domains at the DNS level. Trainline sends you an email telling you that your train has been cancelled, with a link to help you get a refund or to find the next train that your ticket is still valid for. You want to open the link, but because Trainline feels like they need this link to be a tracker, NextDNS or Pi-Hole blocks it, so you can't open it.

This tool takes such a link, and then uses Google's DNS servers to resolve the host. If the link then re-redirects you, it will continue following redirects until there are no more redirects.

#Usage

unfucklink 'https://totally.tracking.you/but-need-to-open-it'
2022/06/05 19:23:51 final URL: https://final.location.com/some-href'
Do not follow this link