Does anyone know if a Linux program that is similar to URLCheck?

For URLCheck, you can set it as your default browser on Android, and when you click a link, it’ll open up there first. It can go through all of the redirects for you, and lets you edit the URL before opening it in another web browser. Useful for removing tracking referrals as well if the user wants.

For Linux, I’d be happy with a program that I can paste the URL into to do all of this, it doesn’t have to have the ability to be a default web browser. I’d prefer to not have to use Waydroid for URLCheck.

URL when clicking on an email

URL after it goes through the redirects

URL after clicking the X for parameters to clean it up