Giter VIP home page Giter VIP logo

cwittenberg / thisipcan.cyou Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 2.0 129 KB

Display External IP in GNOME and notify user when it changes

Home Page: https://extensions.gnome.org/extension/5368/show-external-ip-thisipcancyou/

License: GNU General Public License v3.0

JavaScript 98.77% CSS 1.23%
externalip gnome-extension gnome-shell-extension ipaddress ipchange notification publicip send-notify

thisipcan.cyou's Introduction

Show External IP (thisipcan.cyou) GNOME extension

This GNOME extension displays your external IP in the Toolbar and sends a system notification if changed.

  • See your public IP in the tray bar, including country flag (of the active public IP)
  • Get notified when your public IP is changed.
  • Copy the IP (or other information) to the clipboard quickly by clicking menu items.
  • Clicking the map will open Google Maps to the location found.

Notification (left) and menu options (right):

image

The solution watches for local network events and uses the free thisipcan.cyou service. It also refreshes every few mins to check if the external IP has been changed. This extension is handy to quickly see your public IP and is especially handy for those who work at different locations or with different VPNs.

Installation

After completing one of the installation methods below, restart GNOME Shell (Xorg: Alt+F2, r, Enter - Wayland: log out or reboot) and enable the extension through the gnome-extensions app.

From official GNOME Extensions site

Visit the official GNOME page to quickly Toggle enablement of the extension here:

Get it on GNOME Extensions

Using GNOME Extension Manager

Start Extension Manager in GNOME and search for 'External IP' which will show you the extension with a quick 'Install' button.

image

From source

Go to your extension directory and clone this repo

cd ~/.local/share/gnome-shell/extensions/
git clone https://github.com/cwittenberg/thisipcan.cyou [email protected] 

License

The thisipcan.cyou gnome extension 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 3 of the License, or (at your option) any later version.

Author

Developed by Christian Wittenberg. Questions: [email protected]

thisipcan.cyou's People

Contributors

cwittenberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

thisipcan.cyou's Issues

Causes issue with lockscreen on Pop!_OS 22.04

After installation activation and only once VPN is activated, pressing the shortcut keys to lock the system will cause the system to hang and keyboard input is no longer registered. The mouse can no longer be used to close tabs. System acts as if invisible wall is placed between user and system, almost as if lockscreen is there but unusable. Also, closing lid of laptop (where OS is installed) and reopening lid unlocks device again with no lockscreen and user can resume using their device. This is a huge security concern as it can be used to bypass the lockscreen consistently. Once uninstalled, issue is no longer present. Otherwise, love this addon. Please fix.

updated for gnome 45

Hello, i've updated this extension for gnome 45 here.

It was my first time experimenting with gnome extension development so the code is probably not amazing but you can use it as a codebase to update your version someday :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.