Fetches and prints external IP address of the machine where the plugin is running. By default the URL used is http://checkip.dyndns.org but you can change it in the plugin’s settings adding a regex to parse the html retrieved.
Compiled on libpurple 2.10.7 (this means you have to use 2.10.X or newer!).
For bugs reports, hints, … email us at riccardo.catto ( at ) gmail.com and federico.zanco ( at ) gmail.com.
How to install:
These are general instructions to build and install my purple plugins.
To build the plugin you have to install gcc, GNU make, pkg-config and pidgin developing dependencies (or maybe only libpurple if in your os they are distribuited separately). I.e. in Debian/Ubuntu, open a terminal and type:
sudo apt-get install gcc make pkg-config pidgin-dev
then to build type:
to install (default directory is ~/.purple/plugins) type:
You can also create a compressed tar by typing:
How to use:
Compile and Install (read INSTALL) or Download (from this page) the plugin for your arch.
Linux: if you don’t have GNU make program installed on your system, to install the plugin manually copy whats-my-ip.so in your purple dir:
(if ~/.purple/plugins/ does not exist: $ mkdir ~/.purple/plugins/ )
$ cp whats-my-ip.so ~/.purple/plugins/
Restart Pidgin and in Tools/Plugins you should see a plugin named What’s my IP. Once enabled every buddy in buddy list can ask your external ip address writing ‘ip’ in a instant message window. By default the plugin uses http://checkip.dyndns.org to fetch the ip address but you can change it in plugin’s settings changing the regex to parse the url too.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
Street, Fifth Floor, Boston, MA 02111-1301, USA.