Giter Site home page Giter Site logo

404gamernotfound / scriptable-show-my-ip-widget Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2 KB

This Scriptable widget, designed for iOS, displays your current public IP address in a small-sized widget format. Upon adding to your home screen, it fetches and shows your IP using an external API, providing a quick and easy way to view your public IP at a glance.

JavaScript 100.00%

scriptable-show-my-ip-widget's Introduction

IP Address Widget for Scriptable

This repository contains a Scriptable widget script for iOS that displays the user's current public IP address. The widget is designed to be small and efficient, making it easy to view your IP address directly from your home screen.

Features

  • Simple Display: Shows your public IP address in a clear and concise manner.
  • Small Widget Size: Designed to fit perfectly as a small widget on your iOS home screen.
  • Automatic Updating: Fetches the latest IP address using an external API.
  • Easy to Install: Quick setup with minimal configuration required.

Requirements

Installation

  1. Download Scriptable: Ensure you have the Scriptable app installed on your iOS device.

  2. Add the Script:

    • Open the Scriptable app.
    • Tap the '+' icon to create a new script.
    • Copy and paste the script from the ip_widget.js file in this repository into the new script.
  3. Add the Widget:

    • Long-press on your home screen to enter 'jiggle mode'.
    • Tap the '+' icon in the top left corner.
    • Find and select Scriptable from the list.
    • Choose the small widget size and add it to your home screen.
    • Select the widget, then choose the ip_widget script.
  4. Enjoy: Your widget should now display your current public IP address.

Configuration

No additional configuration is required. The widget will automatically fetch and display your current public IP address.

Contributing

Contributions to the widget script are welcome. Please feel free to fork the repository, make your changes, and create a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Thanks to ipify API for providing the IP address data.
  • Scriptable by Simon Støvring for making this possible on iOS.

scriptable-show-my-ip-widget's People

Watchers

Tony Brüser 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.