Skip to content
Merged
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
683 changes: 662 additions & 21 deletions LICENSE

Large diffs are not rendered by default.

20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,23 @@
[![CI](https://github.com/SirReaDy/ipaforge/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/SirReaDy/ipaforge/actions/workflows/ci.yml)
[![Downloads](https://img.shields.io/github/downloads/SirReaDy/ipaforge/total?label=downloads)](https://github.com/SirReaDy/ipaforge/releases)
[![Latest release](https://img.shields.io/github/v/release/SirReaDy/ipaforge?include_prereleases&label=release)](https://github.com/SirReaDy/ipaforge/releases/latest)
[![Licence: MIT](https://img.shields.io/badge/licence-MIT-blue.svg)](LICENSE)
[![Licence: AGPL-3.0](https://img.shields.io/badge/licence-AGPL--3.0-blue.svg)](LICENSE)
[![Sponsor](https://img.shields.io/badge/sponsor-%E2%9D%A4-ea4aaa?logo=githubsponsors)](https://github.com/sponsors/SirReaDy)

> Install SideStore and preload your apps onto iPhone and iPad, from Windows, macOS or Linux.
**Install SideStore and your own apps on iPhone and iPad with a free Apple ID, from Windows, macOS or Linux.**

IPAForge is an open-source desktop app for installing [SideStore](https://github.com/SideStore/SideStore) and other apps on iOS devices. It signs in to your Apple ID and gets a free development certificate. It re-signs each app and installs it over USB. It also places the pairing file and certificate SideStore needs to refresh apps on its own. Extra apps can be preloaded in the same run.
**[Website](https://ipaforge.github.io)** · **[Download](https://github.com/SirReaDy/ipaforge/releases)** · **[Discord](https://discord.gg/C87DKmAWhr)** · [Installing](docs/installing.md) · [Roadmap](docs/roadmap.md)

The engine is written entirely in TypeScript, with no native helpers or bundled command-line tools. The desktop app is built with Electron.
IPAForge is a free, open-source desktop app for sideloading. You plug in your iPhone, sign in with your Apple ID, and it does the rest:

1. It gets a free development certificate from Apple for your Apple ID.
2. It signs [SideStore](https://github.com/SideStore/SideStore) (or LiveContainer with SideStore, or any `.ipa` you choose) with that certificate.
3. It installs the apps on your device, and places the pairing file and certificate SideStore needs to refresh apps by itself.

After that it keeps them working: it shows when each app expires, refreshes them before they do, repairs SideStore when it stops refreshing, and explains every failure with the fixes that apply. The whole engine, code signing included, is written in TypeScript, with no native helpers or bundled command-line tools.

> [!NOTE]
> **Alpha.** The engine is complete, and the first test builds for macOS, Windows and Linux are on the [Releases page](https://github.com/SirReaDy/ipaforge/releases) (not notarised yet; [how to open them the first time](docs/installing.md#opening-ipaforge-the-first-time)). See [Project status](#project-status) and the [Roadmap](docs/roadmap.md).
> **Alpha, 0.1.0-alpha.4.** Builds for macOS, Windows and Linux are on the [Releases page](https://github.com/SirReaDy/ipaforge/releases), and IPAForge updates itself from there. It isn't notarised or code-signed for Windows yet: [how to open it the first time](docs/installing.md#opening-ipaforge-the-first-time). Questions and feedback: [Discord](https://discord.gg/C87DKmAWhr) or [Issues](https://github.com/SirReaDy/ipaforge/issues).

## Why IPAForge

Expand Down Expand Up @@ -57,7 +63,7 @@ Coming next: guided onboarding, management tools for certificates and App IDs, a
| Install engine | `@ipaforge/installer` | ✅ Complete: resumable pipelines, install flows, free-app limit, error catalogue |
| Engine ⇄ UI protocol | `@ipaforge/rpc` | ✅ Complete: typed, validated messages over Electron IPC, and the update channel |
| User interface | `@ipaforge/ui` | ✅ Install and preload complete: accounts, devices with their checklist, the install run with its questions, step details and recovery, Preload with app sources, Apps with refresh, Repair SideStore, the log viewer, and What's new, in six languages, checked by screenshot and WCAG 2.2 AA tests; onboarding comes next |
| Desktop app | `apps/desktop` | 🚧 Alpha: installers for macOS (DMG, zip), Windows (NSIS, MSI) and Linux (AppImage, deb, rpm), built, Sigstore-signed and published by CI on a version tag; updates itself, checking each update's signature; Windows code signing and Apple notarisation are planned |
| Desktop app | `apps/desktop` | ✅ Complete: installers for macOS (DMG, zip), Windows (NSIS, MSI) and Linux (AppImage, deb, rpm), built, Sigstore-signed and published by CI on a version tag; updates itself, checking each update's signature. Windows code signing and Apple notarisation come with 1.0 |

Sideload signing has been verified against real devices and Apple accounts. Apple's own `codesign --verify --deep --strict` accepts the output, including a full SideStore build signed in about half a second. Details: [Code Signing](docs/signing.md).

Expand Down Expand Up @@ -154,4 +160,4 @@ IPAForge is free and open source, maintained in spare time. If it saves you time

## Licence

[MIT](LICENSE) © 2026 Dan Motpan and IPAForge contributors. Third-party components keep their own licences: pkijs, asn1js and zip.js are BSD-3-Clause; @noble/hashes and zod are MIT.
[GNU Affero General Public License v3.0 or later](LICENSE) (AGPL-3.0-or-later) © 2026 Dan Motpan and IPAForge contributors. You may use, study, change and share IPAForge; anything built from it, including a modified version offered over a network, must be released under the same licence with its source. Versions up to 0.1.0-alpha.4 were released under the MIT licence. Third-party components keep their own licences: pkijs, asn1js and zip.js are BSD-3-Clause; @noble/hashes and zod are MIT.
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ipaforge/desktop",
"version": "0.1.0-alpha.4",
"license": "MIT",
"license": "AGPL-3.0-or-later",
"private": true,
"type": "module",
"main": "out/main/index.js",
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ IPAForge helps people install apps they already have, on their own devices, with

## Licence

By contributing, you agree that your contribution is licensed under the [MIT licence](../LICENSE) of this project.
By contributing, you agree that your contribution is licensed under the [GNU Affero General Public License v3.0 or later](../LICENSE) (AGPL-3.0-or-later) of this project.

## Code of conduct

Expand Down
2 changes: 1 addition & 1 deletion docs/design/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ See `docs/design/architecture.md` for the full architecture guidelines.
- **Logging:** structured logger port with levels (`LOG_LEVEL`), redaction of tokens, passwords and serials, and an in-app log viewer.
- **Error handling:** typed `IPAForgeError` with a stable `code`, a user message key and a recovery action. No raw stack traces in the UI.
- **Accessibility:** WCAG 2.2 AA through React Aria primitives, with full keyboard navigation.
- **Licensing:** MIT. No code copied from other sideloading tools, ldid (AGPL) or ipa-resign (proprietary). zsign and rcodesign are used as references only.
- **Licensing:** AGPL-3.0-or-later (MIT up to 0.1.0-alpha.4). No code copied from other sideloading tools, ldid (AGPL) or ipa-resign (proprietary). zsign and rcodesign are used as references only.

## Architecture

Expand Down
6 changes: 3 additions & 3 deletions docs/design/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ Every feature below maps to the phases that deliver it. "Automatic" means the us
- later: AltStore as an install target (`ALTDeviceId` in `Info.plist` and an encrypted `ALTPairingFile.dat` at the bundle root)
- when Apple reports a negative number of App IDs left, the error says the count looks wrong and Try anyway asks Apple to create them (#73)
- an app IPAForge didn't install is never installed again first from a source whose version is older than the device's; the picker says "older than installed" (#73)
- [ ] **9. Desktop app**: Electron 44 shell with Node adapters, a hardened preload (`contextIsolation`, typed RPC only), electron-builder packages (Windows NSIS, macOS DMG signed and notarized, Linux AppImage, deb and rpm), and auto-update
- status: the shell (one window with `contextIsolation`, `sandbox`, a strict CSP and blocked navigation, rendering `@ipaforge/ui`) runs the real Engine over the rpc MessagePort, CI builds and Sigstore-signs it on Linux, Windows and macOS, and it updates itself (each update's signature checked); left: Windows code signing and Apple notarisation
- [x] **9. Desktop app**: Electron 44 shell with Node adapters, a hardened preload (`contextIsolation`, typed RPC only), electron-builder packages (Windows NSIS, macOS DMG signed and notarized, Linux AppImage, deb and rpm), and auto-update
- status: the shell (one window with `contextIsolation`, `sandbox`, a strict CSP and blocked navigation, rendering `@ipaforge/ui`) runs the real Engine over the rpc MessagePort, CI builds and Sigstore-signs it on Linux, Windows and macOS, and it updates itself (each update's signature checked); Windows code signing and Apple notarisation moved to 1.0
- progress:
- [x] alpha installers with electron-builder: macOS DMG (Apple silicon and Intel, ad-hoc signed), Windows NSIS (x64), Linux AppImage (x64, arm64), deb and rpm; a release workflow that builds them on a version tag and publishes a GitHub release (a pre-release for `-alpha`/`-beta`/`-rc`) with checksums and the notes in `docs/releases/` (#61)
- [x] the macOS build is signed on pull requests too and its signature checked in CI; the window opens before the keychain is touched, which happens on first use; Accounts says when Apple IDs can't be saved; a credit at the foot of the sidebar; every workflow action pinned to a commit (#62)
Expand All @@ -105,7 +105,6 @@ Every feature below maps to the phases that deliver it. "Automatic" means the us
- [x] release 0.1.0-alpha.2: the first release with the self-signed macOS app, the extra installers and Sigstore signatures (#65)
- [x] release 0.1.0-alpha.3: app sources, detailed install progress and the Apps section with SideStore-style refresh (#69)
- [x] release 0.1.0-alpha.4: Repair SideStore, SideStore QR codes, the on-device checklist, faster Wi-Fi installs, and the first version that updates itself, every update checked against its release's Sigstore signature (#75)
- [ ] code signing: Windows certificate, Apple Developer ID with notarisation and the hardened runtime
- [x] auto-update on launch with electron-updater from the GitHub releases: the window waits behind an update screen while IPAForge checks, downloads (with progress) and installs the new version, then reopens; offline or a slow check opens the app, a failed download offers Try again, the release page or going on; copies from a .msi, .deb or .rpm, which can't update themselves, name the file to download. The state reaches the UI over its own MessagePort (`serveUpdates`/`createUpdateClient` in `@ipaforge/rpc`). What's new opens once after an update (the notes in New, Changed, Fixed and Removed lists) and the changelog page lists every version; the notes are in English, bundled in the UI (#74)
- [x] every update is checked before it installs: its file must carry a Sigstore signature from `release.yml` on that version's own tag (sigstore-js against Sigstore's public logs), else the update screen says it failed; an install that fails before IPAForge quits says so too. Two small pnpm patches (`patches/`) name SHA-256 where `@sigstore/core` and `@tufjs/models` verify EC and RSA signatures without a hash: OpenSSL assumes it, Electron's BoringSSL refuses (`NO_DEFAULT_DIGEST`) (#74)
- [x] the certificates the OS trusts (company proxies, self-hosted anisette servers with their own CA) are trusted for Apple and anisette requests and by Node's default, alongside Node's bundled roots and Apple's (`tls.getCACertificates('system')`) (#74)
Expand All @@ -118,6 +117,7 @@ Every feature below maps to the phases that deliver it. "Automatic" means the us
- give SideStore one plist that merges the lockdown pair record with the RPPairing keys, written as `ALTPairingFile.mobiledevicepairing`, `PairingFile_RemoteRP.plist` and `PairingFile_Lockdown.plist` in `Documents/`; read the lockdown record fresh from usbmuxd each time, since it expires
- later: install over Wi-Fi or an RSD tunnel, and Apple Watch, Vision Pro and Apple TV as targets
- [ ] **12. Release 1.0**: docs site, an upstream SideStore "preload manifest" proposal, translations, a security review (secrets, Electron hardening, CSP), a licence audit, and a tagged multi-platform release pipeline
- code signing: a Windows certificate (SignPath Foundation for open source, or Azure Trusted Signing), and an Apple Developer ID with notarisation and the hardened runtime
- translations: **every language iOS supports** (about 40), including:
- Arabic, Catalan, Chinese (Simplified, Traditional, Hong Kong), Croatian, Czech, Danish, Dutch, English (US, UK, Australia), Finnish, French (France, Canada), German, Greek, Hebrew, Hindi, Hungarian, Indonesian;
- Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese (Brazil, Portugal), Romanian, Russian, Slovak, Spanish (Spain, Latin America), Swedish, Thai, Turkish, Ukrainian, Vietnamese;
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Current status

IPAForge is in **alpha**: test builds are on the [Releases page](https://github.com/SirReaDy/ipaforge/releases). Phases 0–6 are complete: foundation, signer, device layer, Apple account, developer services, the installer and the UI foundation. Phase 8 (install and preload) is complete too: Preload with app sources, the Apps page with refresh, Repair SideStore, SideStore QR codes and the on-device checklist. Phase 9 (the desktop app) has installers for every system and updates itself; Windows code signing and Apple notarisation are left. Onboarding (Phase 7) comes next. See [Installing](installing.md) to try a build.
IPAForge is in **alpha**: test builds are on the [Releases page](https://github.com/SirReaDy/ipaforge/releases). Phases 0–6 are complete: foundation, signer, device layer, Apple account, developer services, the installer and the UI foundation. Phase 8 (install and preload) is complete too: Preload with app sources, the Apps page with refresh, Repair SideStore, SideStore QR codes and the on-device checklist. Phase 9 (the desktop app) is complete too: installers for every system, Sigstore-signed releases, and updates itself; Windows code signing and Apple notarisation come with 1.0. Onboarding (Phase 7) comes next. See [Installing](installing.md) to try a build.

| Area | State |
|---|---|
Expand All @@ -17,7 +17,7 @@ IPAForge is in **alpha**: test builds are on the [Releases page](https://github.
| Installer (`@ipaforge/installer`) | Implemented (Phase 5): pipelines, catalog, install flows, IPA checks against the device, free-app limit, diagnostics and the Engine facade |
| Engine RPC (`@ipaforge/rpc`) | Implemented (Phase 5): typed, validated Engine ⇄ UI messages; wired in Electron over a `MessageChannelMain` (`apps/desktop/src/main/rpc/serve-engine.ts`) |
| UI (`@ipaforge/ui`) | Done (Phases 6 and 8): palettes, the shell, routes, translations, accounts and sign-in, devices and their checklist, the install run with its questions, step details and recovery screens, Preload and app sources, Apps, Repair SideStore, the log viewer, the update screen and What's new, screenshot and accessibility tests |
| Desktop app (`apps/desktop`) | Alpha (Phase 9): installers for macOS, Windows and Linux built and Sigstore-signed by CI; updates itself, checking each update's signature |
| Desktop app (`apps/desktop`) | Done (Phase 9): installers for macOS, Windows and Linux built and Sigstore-signed by CI; updates itself, checking each update's signature |

## What you'll need

Expand Down
4 changes: 2 additions & 2 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ The detailed roadmap, with each phase's scope, is [design/roadmap.md](design/roa
| 6 | UI foundation ✓ | HeroUI + Tailwind shell, colour palettes, i18n, Engine connection, accounts, devices, install run, its questions, recovery, step details, the log viewer, and screenshot and accessibility tests (#28–#58) |
| 7 | Onboarding | First-run guided wizard |
| 8 | Install & preload UX ✓ | One-click SideStore ✓, live run view ✓, recovery screens ✓, Apple ID switch ✓, preload picker ✓ (#59), app sources ✓ (#66), detailed install progress ✓ (#67), the Apps section ✓ (#68), Repair SideStore ✓ (#70), SideStore QR codes ✓ (#71), on-device checklist ✓ (#72), the smaller notes ✓ (#73) |
| 9 | Desktop app (alpha builds ✓, #61, #62, #63, #64, #65, #69, #74, #75) | Electron packages for Windows, macOS, Linux ✓; the macOS app signed with IPAForge's own certificate ✓; auto-update and What's new ✓ (#74); next: notarisation, Windows signing |
| 9 | Desktop app ✓ (#61, #62, #63, #64, #65, #69, #74, #75) | Electron packages for Windows, macOS, Linux ✓; the macOS app signed with IPAForge's own certificate ✓; auto-update and What's new ✓ (#74); Windows signing and notarisation moved to 1.0 |
| 10 | Management tools | Certificates, app IDs, pairing files, import/export |
| 11 | Wireless & remote pairing | Wi-Fi installs and the iOS 17+ RP pairing file |
| 12 | Release 1.0 | Docs site, translations, security review, release pipeline, reusable packages on npm |
| 12 | Release 1.0 | Docs site, translations, security review, Windows code signing and Apple notarisation, reusable packages on npm |

## See Also

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
"typescript": "7.0.2",
"vitest": "5.0.4"
},
"license": "MIT"
"license": "AGPL-3.0-or-later"
}
2 changes: 1 addition & 1 deletion packages/apple/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ipaforge/apple",
"version": "0.0.0",
"license": "MIT",
"license": "AGPL-3.0-or-later",
"private": true,
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/catalog/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ipaforge/catalog",
"version": "0.0.0",
"license": "MIT",
"license": "AGPL-3.0-or-later",
"private": true,
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/device/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ipaforge/device",
"version": "0.0.0",
"license": "MIT",
"license": "AGPL-3.0-or-later",
"private": true,
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/installer/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ipaforge/installer",
"version": "0.0.0",
"license": "MIT",
"license": "AGPL-3.0-or-later",
"private": true,
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/kernel/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ipaforge/kernel",
"version": "0.0.0",
"license": "MIT",
"license": "AGPL-3.0-or-later",
"private": true,
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/rpc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ipaforge/rpc",
"version": "0.0.0",
"license": "MIT",
"license": "AGPL-3.0-or-later",
"private": true,
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/signer/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ipaforge/signer",
"version": "0.0.0",
"license": "MIT",
"license": "AGPL-3.0-or-later",
"private": true,
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ipaforge/ui",
"version": "0.0.0",
"license": "MIT",
"license": "AGPL-3.0-or-later",
"private": true,
"type": "module",
"sideEffects": [
Expand Down
2 changes: 1 addition & 1 deletion tooling/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"exports": {
".": "./index.js"
},
"license": "MIT",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@stylistic/eslint-plugin": "5.10.0",
"eslint": "10.11.0",
Expand Down
Loading