Shorten long urls using urly.fi -service
Perl
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
urly.pl

README.md

irssi-urly

Shorten long urls using urly.fi -service.

Features

Invoke using /urly something. If something contains spaces, all detected urls in the text are replaced with urlified ones. If something is a single "word", no checking is done, i.e. shortening is forced.

If the command was invoked in a chat window, the output is sent to the channel/query. Otherwise, it is printed in the client messages.

If error(s) occur, the count of failed shortenings is printed in a client message.

Installing

  1. wget -O ~/.irssi/scripts/urly.pl https://raw.github.com/mickname/irssi-urly/master/urly.pl
  2. optional ln -s ~/.irssi/scripts/urly.pl ~/.irssi/scripts/autorun/urly.pl
  3. /run urly.pl

Known issues

  • Whitespace sequences in sentence-mode are replaced with a single space