Skip to content

kasianov-mikhail/scout-ip

Repository files navigation

Scout IP

Build Matrix TestFlight License: MIT Platform Swift

A companion app for the Scout package. Scout IP uses your device's public IP address to generate real-world logs, metrics, and activity data — providing a live environment to test and verify Scout's features through its built-in dashboard.

Table of Contents

Features

🌐 IP Lookup Fetches public IP info via ipinfo.io and logs the results using Scout.
📝 Live Logging Every lookup generates structured logs with metadata (IP, location, ISP) synced to CloudKit.
📊 Metrics Tracks API request counts and response times via swift-metrics.
📱 Dashboard Browse logs, metrics, crashes, and activity through Scout's built-in SwiftUI dashboard.

Setup

  1. Clone the repository:
    git clone https://github.com/kasianov-mikhail/scout-ip.git
    cd scout-ip
  2. Copy the secrets template and fill in your API key:
    cp Secrets.xcconfig.template Secrets.xcconfig
  3. Get your token from ipinfo.io/account/token and set it in Secrets.xcconfig.
  4. Open ScoutIP.xcodeproj and run. The Scout package is fetched automatically as a remote dependency.

Workspace (optional)

ScoutIP.xcworkspace also surfaces the source of the scout and scout-server packages so you can edit them alongside the app. They live as sibling folders next to scout-ip; run the bootstrap script to clone any that are missing:

./bootstrap.sh

Then open ScoutIP.xcworkspace instead of the project. With scout checked out locally, Xcode builds against your local copy instead of the remote dependency.

App Store

Download on the App Store

About

Example project for the Scout package

Topics

Resources

License

Stars

Watchers

Forks

Contributors