Show Internet IP with Flag

Plasma 4 Extensions

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.3

Description:
Very small plasmoid which has one goal:
Show your Internet IP and the country flag to see if your VPN is up and running!

It leeches it infos from my own little IP service. Feel free to use it also for your tools:
http://www.tha-imax.de/show_my_ip

With Flag URL:
http://www.tha-imax.de/show_my_ip?withflag

If you are missing your country flag please let me know and I will add it.

Maybe I will add later a option to copy it to clipboard if you guys need it...

Hope you like it.
Last changelog:

v04
- Added config.py where you can easily modify the HTML template and initial windowsize of the plasmoid.
v03
- Changed to my own IP service.
- Added TTL to ensure it will not freeze anymore.
- User-Agent changed.
v02
- Added exception for cases when requesting the IP failed.
v01
- Initial.


Ratings & Comments

8 Comments

juank202

Hola, Excelente plasmoide, muchas gracias. Una sugerencia, el botón de refresh es muy grande, cuando se redimensiona al arrancar el equipo tapa la IP y toca estarlo redimensionando.

imax

Hi man, Sorry I didn't understand everything. But the translator told me that you want a smaller "Refresh"-Button. I agree and I will make it smaller these days. Thank you for your comment :) -imax.

juank202

Hello You're ok, when the pc starts, the plasmoid become smaller and the IP is hide by the refresh button, and the user has to resize again. Thank you very much, excellent plasmoid!

imax

Hi man, Thank you for this information! I will fix this bug :) -imax.

imax

Hi man, You can now setup the initial size of the plasmoid inside the "config.py" file. Also you can change the HTML template in it. So you can modify it for your needs :) Hope this quickfix helps you with your problem with the hidden IP behind the refresh button :) -imax.

juank202

Hi imax, I changed the initial size of the plasmoid inside the "main.py" file and now I don't have to change the size when kde starts, it looks excellent, thank you very much my friend!

einar77

In KDE 4.3 there is a geolocation DataEngine that predicts your location, and gives out some information. Is this plasmoid using that? (I haven't looked at the source)

imax

Hi, No it just makes a HTTP Request to www.ip-adress.com and parses some important stuff out of it. I will check the Geolocation DataEngine and may use it for further work on this plasmoid. Thank you, imax.

Pling
0 Affiliates
Details
license
version v.04
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Plasma 4 Extensions from imax:

EVE Online: Minimal Character Monitor
imax
last update date: 14 years ago

Score 5.7

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 14 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 13 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0