Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 853 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 853 Bytes

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