Code Monkey home page Code Monkey logo

ipmenubar's Introduction

IPMenuBar

Needed something like this to make my life a little easier so instead of downloading already existing one I created yet another one...

IPMenuBar is a simple macOS menu bar application that displays the user's IP address. It provides two modes for retrieving the IP address: Public IP and Local IP.

Running example of IPMenuBar

Install

Using Homebrew

You can easily install IPMenuBar using Homebrew by running the following commands in your terminal:

brew tap janekbaraniewski/homebrew-janekbaraniewski
brew install --cask ipmenubar

Allowing the App to Run on macOS

Due to macOS security settings, you might need to manually allow your system to open IPMenuBar if it's downloaded from the internet.

After attempting to open IPMenuBar for the first time, follow these steps if you see a warning message stating that the app cannot be opened:

  • Open System Preferences: Click on the Apple logo in the top-left corner of your screen, and select "System Preferences."

  • Security & Privacy: Navigate to the "Security & Privacy" panel.

  • General Tab: Stay on or switch to the "General" tab where you should see a message at the bottom about IPMenuBar being blocked.

  • Allow Anyway: Next to the message about IPMenuBar being blocked, click "Allow Anyway." This button allows macOS to run apps from unidentified developers that you specifically approve.

  • Confirm Your Choice: Try to open IPMenuBar again. This time, you'll see a dialog that asks if you're sure you want to open the app. Click "Open" to confirm.

By following these steps, you should be able to run IPMenuBar on your Mac. If you update IPMenuBar in the future, you might need to repeat these steps to allow the new version to run.

Modes

Public IP

In Public IP mode, IPMenuBar fetches the public IP address of the user's network connection using the ipify API.

Local IP

In Local IP mode, IPMenuBar retrieves the local IP address of the user's device within the local network. It scans the network interfaces of the device and identifies the IP address assigned to the active network interface.

ipmenubar's People

Contributors

janekbaraniewski avatar

Stargazers

 avatar Manuel Zimmermann 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.