Giter Club home page Giter Club logo

ip-dns-info's Introduction

IP Address and DNS details

logo of the plugin

Argos plug-in to Display IP and DNS details in the top bar of GNOME desktop environment.

Installation

  1. Obviously you need python and Argos (recommended for all gnome versions) / Argos (gnome-3.36 branch for gnome versions <40) and python pytz module if its not installed via pip install pytz
  2. Copy the script to ~/.config/argos/ directory.
  3. Make the script executable by running chmod +x ip_dns_info.c.1m.py.
  4. Refresh GNOME extensions by pressing Alt+F2 and typing r and pressing Enter.

Usage

The script should just display the IP and DNS details in the top bar of GNOME desktop with a Country Flag emoji and the city name. If the city name is in green color, it means your system is connected to a VPN. If the city name is in red color, it means your system is not connected to a VPN. You can click on the city name to see the IP and DNS details in a drop down window. Which shows following details:

  1. IP Address
  2. Timezone
  3. Current Time
  4. Latitude
  5. Longitude
  6. Zip Code
  7. Region(Usually state)
  8. Country
  9. ISP(Internet Service Provider)
  10. Connection Type(Cellular or Non-Cellular)
  11. Proxy(Yes or No)
  12. VPN Status(ON or OFF)

Screenshot of the plugin

How to add more info to the top bar?

Go to IP-API website to check what other details you can get from the API. Then update the script accordingly.

API limitations

There is a limit of 45 requests per minute. If you exceed this limit, you will get blocked for 1 hour. So, please use the script responsibly.

License

The code is licensed under Apache License 2.0. The API does not require any authentication and is free to use for non-commercial use.

TODO:

  • Fix Refresh in the Drop down.

ip-dns-info's People

Contributors

vkolagotla avatar

Stargazers

 avatar

Watchers

 avatar

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.