Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .claude/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- `browser/` is the Python edition (FastAPI); `standalone/` is the Rust edition (axum, native window). Backend behaviour must stay the same in both: port every API or engine change to the other edition, with tests.
- `assets/icon/source.jpg` is the original icon artwork. Never edit it; `assets/icon/make_icons.py` regenerates every icon file from it.
- `docs/screenshots/capture.js` makes the README screenshots with the default look (Graphite theme, dark OpenFreeMap map).
- `website/` is the showcase site (Vite + React, on Vercel at https://idevbench.vercel.app from `main`, https://iphone-spoofer-dev.vercel.app from `dev`; root directory `website`). It renders TERMS.md, PRIVACY.md, LICENSE, THIRD_PARTY_NOTICES.md and CHANGELOG.md as its pages and reads release versions live, so keep those files as the source of truth; the app links to those pages. The video at the top of the site is made by `website/scripts/showreel/` (record the real app frame by frame, then `edit.cjs` cuts it; see `website/README.md`). `website/src/sim/engine.js` is a compact port of the speed engine for its demo: when the cornering or acceleration constants change in the app, update it too and run `cd website && npm test`. Pushes that only touch `website/` don't publish test builds.
- `website/` is the showcase site (Vite + React, on Vercel at https://idevbench.vercel.app from `main`, https://idevbench-dev.vercel.app from `dev`; root directory `website`). It renders TERMS.md, PRIVACY.md, LICENSE, THIRD_PARTY_NOTICES.md and CHANGELOG.md as its pages and reads release versions live, so keep those files as the source of truth; the app links to those pages. The video at the top of the site is made by `website/scripts/showreel/` (record the real app frame by frame, then `edit.cjs` cuts it; see `website/README.md`). `website/src/sim/engine.js` is a compact port of the speed engine for its demo: when the cornering or acceleration constants change in the app, update it too and run `cd website && npm test`. Pushes that only touch `website/` don't publish test builds.

## Checks before pushing

Expand All @@ -33,4 +33,4 @@ The Rust GUI code also needs to compile for Windows (`cargo check --target x86_6
## Audience and licence

- The README, CHANGELOG, release notes, Terms, Privacy Policy and in-app text are for everyday users: plain language, no build details or internal branch names. Developer material goes in CONTRIBUTING.md.
- Everything except `browser/` is under the Location Spoofer License (`LICENSE`, all rights reserved). `browser/` is GPL-3.0-or-later with section 7 attribution terms (`browser/NOTICE`) because it bundles GPL libraries. Don't add open-source licence headers or change these licences.
- Everything except `browser/` is under the MIT License (`LICENSE`). `browser/` is GPL-3.0-or-later with section 7 attribution terms (`browser/NOTICE`) because it bundles GPL libraries. The standalone app must not become GPL: it ships FDK AAC, whose licence is GPL-incompatible. Don't change these licences without the owner asking.
6 changes: 3 additions & 3 deletions .github/release-notes/browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

### Install
1. Install [**Apple Devices**](https://apps.microsoft.com/detail/9np83lwlpz9k) from the Microsoft Store (free, made by Apple; iTunes also works).
2. Download **`LocationSpooferBrowser.exe`** below and save it in a folder you own.
2. Download **`iDevBenchBrowser.exe`** below (`LocationSpooferBrowser.exe` is the same file under its old name, for copies installed before the rename) and save it in a folder you own.
3. Run it. A console window opens (closing it quits the app) and the app opens in your web browser. If Windows shows "Windows protected your PC", choose **More info → Run anyway**.

Already installed? The app updates itself; press **Restart now** when it offers.

### What's new
See the [changelog](https://github.com/YK3D/iPhone-location-spoofer/blob/{BRANCH}/CHANGELOG.md).
See the [changelog](https://github.com/YK3D/iDevBench/blob/{BRANCH}/CHANGELOG.md).

### Verify the download
SHA-256: `{SHA}`

By using the app you agree to the [Terms of Use](https://github.com/YK3D/iPhone-location-spoofer/blob/main/TERMS.md). [Privacy Policy](https://github.com/YK3D/iPhone-location-spoofer/blob/main/PRIVACY.md) · GPL-3.0-or-later with attribution terms ([NOTICE](https://github.com/YK3D/iPhone-location-spoofer/blob/main/browser/NOTICE)) · © YK3D · Not affiliated with Apple or Google.
By using the app you agree to the [Terms of Use](https://github.com/YK3D/iDevBench/blob/main/TERMS.md). [Privacy Policy](https://github.com/YK3D/iDevBench/blob/main/PRIVACY.md) · GPL-3.0-or-later with attribution terms ([NOTICE](https://github.com/YK3D/iDevBench/blob/main/browser/NOTICE)) · © YK3D · Not affiliated with Apple or Google.
6 changes: 3 additions & 3 deletions .github/release-notes/standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Install
1. Install [**Apple Devices**](https://apps.microsoft.com/detail/9np83lwlpz9k) from the Microsoft Store (free, made by Apple; iTunes also works).
2. Download **`LocationSpooferStandalone.exe`** below and save it in a folder you own (for example Desktop or Documents).
2. Download **`iDevBench.exe`** below (`LocationSpooferStandalone.exe` is the same file under its old name, for copies installed before the rename) and save it in a folder you own (for example Desktop or Documents).
3. Run it. If Windows shows "Windows protected your PC", choose **More info → Run anyway** (the app is not code-signed yet).
4. Follow the setup guide that opens on first run.

Expand All @@ -11,9 +11,9 @@ Already installed? The app updates itself; press **Restart now** when it offers.
Requires Windows 10/11 (64-bit) with the Microsoft Edge WebView2 Runtime (built into Windows 11).

### What's new
See the [changelog](https://github.com/YK3D/iPhone-location-spoofer/blob/{BRANCH}/CHANGELOG.md).
See the [changelog](https://github.com/YK3D/iDevBench/blob/{BRANCH}/CHANGELOG.md).

### Verify the download
SHA-256: `{SHA}`

By using the app you agree to the [Terms of Use](https://github.com/YK3D/iPhone-location-spoofer/blob/main/TERMS.md). [Privacy Policy](https://github.com/YK3D/iPhone-location-spoofer/blob/main/PRIVACY.md) · [Location Spoofer License](https://github.com/YK3D/iPhone-location-spoofer/blob/main/LICENSE) · © YK3D · Not affiliated with Apple or Google.
By using the app you agree to the [Terms of Use](https://github.com/YK3D/iDevBench/blob/main/TERMS.md). [Privacy Policy](https://github.com/YK3D/iDevBench/blob/main/PRIVACY.md) · [Location Spoofer License](https://github.com/YK3D/iDevBench/blob/main/LICENSE) · © YK3D · Not affiliated with Apple or Google.
30 changes: 18 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,12 @@ jobs:
shell: pwsh
run: |
New-Item -ItemType Directory -Force dist | Out-Null
Copy-Item standalone\target\release\location-spoofer.exe dist\LocationSpooferStandalone.exe
$h = (Get-FileHash dist\LocationSpooferStandalone.exe -Algorithm SHA256).Hash.ToLower()
[IO.File]::WriteAllText("dist\LocationSpooferStandalone.exe.sha256", "$h LocationSpooferStandalone.exe")
# shortcut: the old name is a copy for copies installed before the rename (they update by that name); drop it a few releases on.
foreach ($n in "iDevBench.exe", "LocationSpooferStandalone.exe") {
Copy-Item standalone\target\release\location-spoofer.exe dist\$n
$h = (Get-FileHash dist\$n -Algorithm SHA256).Hash.ToLower()
[IO.File]::WriteAllText("dist\$n.sha256", "$h $n")
}
- uses: actions/upload-artifact@v4
with:
name: standalone
Expand All @@ -106,16 +109,19 @@ jobs:
run: python browser/packaging/build_exe.py --version $env:BROWSER_VERSION
- name: Self-test
run: |
browser\dist\LocationSpooferBrowser.exe --version
browser\dist\LocationSpooferBrowser.exe --self-test
browser\dist\iDevBenchBrowser.exe --version
browser\dist\iDevBenchBrowser.exe --self-test
if ($LASTEXITCODE -ne 0) { exit 1 }
- name: Package
shell: pwsh
run: |
New-Item -ItemType Directory -Force dist | Out-Null
Copy-Item browser\dist\LocationSpooferBrowser.exe dist\LocationSpooferBrowser.exe
$h = (Get-FileHash dist\LocationSpooferBrowser.exe -Algorithm SHA256).Hash.ToLower()
[IO.File]::WriteAllText("dist\LocationSpooferBrowser.exe.sha256", "$h LocationSpooferBrowser.exe")
# shortcut: the old name is a copy for copies installed before the rename (they update by that name); drop it a few releases on.
foreach ($n in "iDevBenchBrowser.exe", "LocationSpooferBrowser.exe") {
Copy-Item browser\dist\iDevBenchBrowser.exe dist\$n
$h = (Get-FileHash dist\$n -Algorithm SHA256).Hash.ToLower()
[IO.File]::WriteAllText("dist\$n.sha256", "$h $n")
}
- uses: actions/upload-artifact@v4
with:
name: browser
Expand Down Expand Up @@ -147,11 +153,11 @@ jobs:
sed -e "s|{VERSION}|$2|g" -e "s|{SHA}|$3|g" -e "s|{BRANCH}|$BRANCH|g" -e "s|{CHANNEL_NOTE}|$NOTE|g" ".github/release-notes/$1.md"
}
# Browser edition first, so the standalone release ends up as the repository's latest.
BR_SHA=$(cut -d' ' -f1 dist/browser/LocationSpooferBrowser.exe.sha256)
BR_SHA=$(cut -d' ' -f1 dist/browser/iDevBenchBrowser.exe.sha256)
render browser "$BROWSER_VERSION$LABEL" "$BR_SHA" > notes-browser.md
gh release create "browser-v$BROWSER_VERSION$SUFFIX" dist/browser/LocationSpooferBrowser.exe dist/browser/LocationSpooferBrowser.exe.sha256 \
gh release create "browser-v$BROWSER_VERSION$SUFFIX" dist/browser/iDevBenchBrowser.exe dist/browser/iDevBenchBrowser.exe.sha256 dist/browser/LocationSpooferBrowser.exe dist/browser/LocationSpooferBrowser.exe.sha256 \
--title "iDevBench Browser Edition $BROWSER_VERSION$LABEL" --notes-file notes-browser.md --target "$GITHUB_SHA" $FLAGS_BR
SA_SHA=$(cut -d' ' -f1 dist/standalone/LocationSpooferStandalone.exe.sha256)
SA_SHA=$(cut -d' ' -f1 dist/standalone/iDevBench.exe.sha256)
render standalone "$STANDALONE_VERSION$LABEL" "$SA_SHA" > notes-standalone.md
gh release create "standalone-v$STANDALONE_VERSION$SUFFIX" dist/standalone/LocationSpooferStandalone.exe dist/standalone/LocationSpooferStandalone.exe.sha256 \
gh release create "standalone-v$STANDALONE_VERSION$SUFFIX" dist/standalone/iDevBench.exe dist/standalone/iDevBench.exe.sha256 dist/standalone/LocationSpooferStandalone.exe dist/standalone/LocationSpooferStandalone.exe.sha256 \
--title "iDevBench $STANDALONE_VERSION$LABEL" --notes-file notes-standalone.md --target "$GITHUB_SHA" $FLAGS_SA
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Changelog

Releases are published separately for the two editions:
[standalone app](https://github.com/YK3D/iPhone-location-spoofer/releases?q=standalone&expanded=true) (`standalone-v…`) and
[browser edition](https://github.com/YK3D/iPhone-location-spoofer/releases?q=browser&expanded=true) (`browser-v…`).
[standalone app](https://github.com/YK3D/iDevBench/releases?q=standalone&expanded=true) (`standalone-v…`) and
[browser edition](https://github.com/YK3D/iDevBench/releases?q=browser&expanded=true) (`browser-v…`).
Test builds from the `dev` branch are marked as pre-releases.

## Unreleased (dev)
Expand All @@ -12,6 +12,12 @@ Test builds from the `dev` branch are marked as pre-releases.
- Wi-Fi connections: *Device tools › Connect over* (Automatic, USB cable only, Wi-Fi only) and *Allow Wi-Fi connection*, which turns on the phone's "Show this iPhone when on Wi-Fi" setting. The device list shows how each phone can be reached (USB, Wi-Fi, or both). In the browser version, a second iOS 17+ phone or an iOS 17+ phone over Wi-Fi needs the tunnel helper. Bluetooth isn't possible.

### New
- **Open source:** iDevBench is now under the MIT License (the browser edition stays GPL v3 or later). The repository is now [YK3D/iDevBench](https://github.com/YK3D/iDevBench).
- **New file names:** the downloads are now `iDevBench.exe` and `iDevBenchBrowser.exe`. Copies installed under the old names keep updating.
- The setup guide has a step for screen mirroring.
- Fixed: the default map stayed blank while OpenFreeMap serves its backup map.
- Fixed: when you started moving with the joystick, the position on the map could stay still for up to 2 seconds.
- Fixed: in the Mirroring section, a hidden side menu could not be shown again. The phone shown before the picture arrives is now in shades of grey, with its side buttons where an iPhone has them.
- **Screen mirroring (iOS 27 and newer):** the iPhone's screen in its own *Mirroring* section (switch at the top of the side menu), over the USB cable. Click to tap, drag to swipe, scroll with the mouse wheel, Ctrl + wheel or a trackpad pinch to zoom, right-click for Home, and type from your keyboard (Ctrl works as ⌘). Buttons next to the screen press Home, Lock, Volume, Mute and Siri and do the app switcher, Control Centre, notifications and Back gestures. Over the screen the pointer is a small dot that dips when you click, and swipes leave a faint trail. The phone's name and iOS version are shown above it, and an iPhone home screen stands in until the picture arrives. The picture turns when the phone does (or with *Rotate*). The standalone app also plays the iPhone's sound. Save screenshots, or record the screen with its sound as a video, to Downloads or a folder chosen with *Browse* in *Settings › Mirroring*. *Stats* shows the stream's frame rate, data rate and delay, and the iPhone's CPU, memory, GPU, battery and temperature. A frozen picture restarts by itself after a few seconds, or at once with *Restart stream*.
- **Local API:** other programs on your computer can set the location, watch the screen, tap, swipe and type through the app while it is open (websites can't). See [docs/API.md](docs/API.md).
- **AI agents:** iDevBench is an MCP server, so Claude, Codex, Cursor and other AI apps can use the phone through it: see and control the screen, set the location, drive routes, play tracks and use the joystick. Setting it up is one prompt to paste into the agent (*Settings › AI agents*), or one button for Claude Desktop; there is also a Claude Code plugin. The agent gets a guide on how to use the phone, and only enters the passcode if you ask it to and give it the passcode. See [docs/API.md](docs/API.md#ai-agents-mcp).
Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Contributing

Bug reports and ideas are welcome as [GitHub issues](https://github.com/YK3D/iPhone-location-spoofer/issues). You don't need to know how to code: describe what you did, what you expected and what happened, and include the app's version (*Settings › About*).
Bug reports and ideas are welcome as [GitHub issues](https://github.com/YK3D/iDevBench/issues). You don't need to know how to code: describe what you did, what you expected and what happened, and include the app's version (*Settings › About*).

## Licence of contributions

iDevBench (formerly Location Spoofer) is source-available, not open source (see [LICENSE](LICENSE)). By opening a pull request you confirm that you have the right to submit the change, and you grant YK3D the licence described in section 4 of [LICENSE](LICENSE), so the change can be included and relicensed with the app. You keep the copyright in your contribution and are credited in the history.
iDevBench is open source: the MIT License ([LICENSE](LICENSE)) for everything except `browser/`, which is GPL-3.0-or-later with attribution terms ([browser/LICENSE](browser/LICENSE), [browser/NOTICE](browser/NOTICE)). By opening a pull request you confirm that you have the right to submit the change and that it is licensed under the licence of the files it changes. You keep the copyright in your contribution and are credited in the history.

## Feature tests

Expand All @@ -19,8 +19,8 @@ What this protects: the builds and the list of builds. The pull requests and the
To try a feature test from source instead:

```bash
git clone https://github.com/YK3D/iPhone-location-spoofer.git
cd iPhone-location-spoofer
git clone https://github.com/YK3D/iDevBench.git
cd iDevBench
git fetch origin pull/<number>/head:test && git checkout test

# standalone app (needs Rust: https://rustup.rs)
Expand Down
Loading
Loading