Skip to content

pettis/irssi-urly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

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

About

Shorten long urls using urly.fi -service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%