irssi / scripts.irssi.org

Script Repository for Irssi
https://scripts.irssi.org
493 stars 234 forks source link

[openurl] add the ability to shorten urls with cuttly #753

Open ralyodio opened 3 years ago

ralyodio commented 3 years ago

I have a cuttly api key, the problem is i use irssi on a server so /openurl 1 won't actually do anything for me. I have to click the url for my local browser to open firefox. the real problem is long urls wrap and the url is not fully clickable. parts that wrap aren't included in the link.

using hyper + tmux

bw1 commented 3 years ago
/set openurl_app_http firefox "$1"
ralyodio commented 3 years ago

irssi is on a terminal window. i don't think it will work like that to open it on my desktop.

vague666 commented 3 years ago

Maybe you can use this instead and tweak it to use cuttly, https://github.com/Alligator/irssi-short-url